i tried again to start twinkle and this time got:
Jun 4 09:15:12 localhost /usr/sbin/sip-router[7304]: INFO: xlog [xlog.c:186]: INFO: REGISTER <sip:test@test.fi> by <test(a)test.fi> from <192.98.101.10> is authorized
Jun 4 09:15:12 localhost /usr/sbin/sip-router[7269]: ERROR: db_mysql [km_dbase.c:117]: driver error on query: Commands out of sync; you can't run this command now
Jun 4 09:15:12 localhost /usr/sbin/sip-router[7269]: ERROR: <core> [db_query.c:101]: error while submitting query
by the way, how to get rid of
"xlog [xlog.c:186]:"
in xlog INFO output?
-- juha
Hello,
kamailio tools (kamctl and kamdbctl) have not been imported yet. The
usual place for them was 'scripts' folder but now there are overlapping
names, related to the folders holding sql scripts.
Shall we create a subfolder in scripts directory, e.g., scripts/kamctl?
The xml definition of db tables were in db directory, which now is
library srdb1(same for ser, are now in srdb2). Do we let them there or
is another more suitable place for them as they are not dependent of DB
api but of what DB structure to be used (some modules using db were
moved in common folder already)?
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
Bugs item #2791122, was opened at 2009-05-13 13:07
Message generated for change (Comment added) made by effeks
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2791122&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tobias Lindgren (effeks)
Assigned to: Nobody/Anonymous (nobody)
Summary: fr_inv_timer_avp on amd64
Initial Comment:
Hi!
When we compile kamailio 1.5.1 trunk on Debian Linux amd64 the fr_inv_time_avp timer cannot altered (the value of the AVP-variable has no effect on the timer) and seem stuck on something like 15 seconds. Compiling the same code in a 32bit chroot works fine, aswell as on any other standard 32bit system, where the timer is set to the value of the AVP as expected.
/effeks
----------------------------------------------------------------------
>Comment By: Tobias Lindgren (effeks)
Date: 2009-06-05 13:23
Message:
Any news?
----------------------------------------------------------------------
Comment By: Tobias Lindgren (effeks)
Date: 2009-05-25 13:50
Message:
The avp-value was a string, but changing it into an integer makes no
difference. On 32bit it works regardless of int or str.
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-05-25 11:49
Message:
Did you check my last message? Is the timer avp integer or string value?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-05-25 11:47
Message:
Any progress on this?
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-05-22 19:12
Message:
Just saw in your last comment that you assign a string to the avp:
$avp(i:10) = "25";
Should be:
$avp(i:10) = 25;
Can you doublecheck?
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-05-19 09:25
Message:
OK, i am going to check the log. thanks.
----------------------------------------------------------------------
Comment By: Tobias Lindgren (effeks)
Date: 2009-05-15 13:23
Message:
Done, the config snippet looks something like this:
modparam("tm", "fr_inv_timer_avp", "$avp(i:10)")
$avp(i:10) = "25";
t_relay();
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-05-15 12:07
Message:
Can you run with debug=5 and attach the syslog output here?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2791122&group_…
after i got rid of syntax errors (except while(1) warning), i'm getting
this when sr tries to start:
Jun 1 18:38:38 localhost /usr/sbin/sip-router[9209]: : tm [t_funcs.c:388]: ERROR:tm:init_avp_params: invalid fr_timer AVP specs "$avp(i:705)"
Jun 1 18:38:38 localhost /usr/sbin/sip-router[9209]: ERROR: tm [tm.c:772]: ERROR:tm:mod_init: failed to process AVP params
it comes from line
modparam("tm", "fr_timer_avp", "$avp(i:705)")
i tried also "$avp(705)".
the above used to work in k. how to make it work in sr?
strange thing is that the previous line
modparam("tm", "fr_inv_timer_avp", "$avp(i:704)")
is accepted.
-- juha
Module: sip-router
Branch: master
Commit: 4b7ad0ea5dcc7c6621fd28b812fd27de5b523fde
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4b7ad0e…
Author: Miklos Tirpak <miklos(a)iptel.org>
Committer: Miklos Tirpak <miklos(a)iptel.org>
Date: Thu Jun 4 09:35:00 2009 +0200
Merge branch 'master' into script_callbacks
* master:
route_type: branch and onsend route bugs corrected
* Commented out warning about deprecated avp name syntax. I suggest to
sl(k) - use load_tm_api()
* modules_k/textops
core: added km_parse_avp_spec()
pv: parse K-style AVP aliases
docbook: Generate TOC for root-level section elements
make: required version is now 3.81
test: gcc version test scripts
tm: doc - added note about tmx module
pua: use load_tm_api() instead of find_export()/load_tm()
kex: added K pv_printf() function
kex: added K dst uri related functions
makefile: fix last commit
* modules_k/acc: included Makefile.radius
makefile: gcc version detection fix
Conflicts:
onsend.h
---
Module: sip-router
Branch: master
Commit: ec78863207a3ecc3a081f43264fd041d88181663
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ec78863…
Author: Miklos Tirpak <miklos(a)iptel.org>
Committer: Miklos Tirpak <miklos(a)iptel.org>
Date: Thu Jun 4 09:46:59 2009 +0200
Merge branch 'master' of ssh://tirpi@git.sip-router.org/sip-router
* 'master' of ssh://tirpi@git.sip-router.org/sip-router:
core: added modulo operation
* Improved presence database handling.
* Introduced new function xcap_auth_status that is a standalone version
pv: added new PV: $bs
core: set 'fixed' shortcut to the value for fixup_uint...
core: added shortcut to fixed value in fparam_t
---