Hi, the tracker allows categories (of course).
What do you thing about creating a category for each module, other for
core and some other called "other"?
--
Iñaki Baz Castillo
<ibc(a)aliax.net>
Bugs item #2791122, was opened at 2009-05-13 14:07
Message generated for change (Comment added) made by miconda
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: Daniel-Constantin Mierla (miconda)
Date: 2009-06-10 14:23
Message:
I did several tests and the timeout was ok. Here are my parameters:
modparam("tm", "fr_timer", 15)
modparam("tm", "fr_inv_timer", 60)
modparam("tm", "wt_timer", 5)
modparam("tm", "fr_inv_timer_avp", "$avp(i:120)")
$avp(i:120) = 30;
Can you get a ngrep trace and send it to me at: <miconda [at] gmail.com>?
Thanks.
----------------------------------------------------------------------
Comment By: Tobias Lindgren (effeks)
Date: 2009-06-05 14:23
Message:
Any news?
----------------------------------------------------------------------
Comment By: Tobias Lindgren (effeks)
Date: 2009-05-25 14: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 12: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 12:47
Message:
Any progress on this?
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-05-22 20: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 10:25
Message:
OK, i am going to check the log. thanks.
----------------------------------------------------------------------
Comment By: Tobias Lindgren (effeks)
Date: 2009-05-15 14: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 13: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_…
while trying find out, why sip-router produces mysql "out of sync"
errors, i discovered that msilo m_dump only recognizes that register
request is un-register request, if it has expires header with body 0.
it is not checking if contact header has expires=0 parameter like this:
Contact: <sip:jh_test_fi@192.98.101.10:5074;transport=udp>;expires=0
-- juha
Revision: 5872
http://openser.svn.sourceforge.net/openser/?rev=5872&view=rev
Author: miconda
Date: 2009-06-09 15:26:03 +0000 (Tue, 09 Jun 2009)
Log Message:
-----------
- proper return code in child init function when all is ok
- reported by Pascal Maugeri
Modified Paths:
--------------
branches/1.5/modules/xcap_client/xcap_client.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 5871
http://openser.svn.sourceforge.net/openser/?rev=5871&view=rev
Author: miconda
Date: 2009-06-09 11:37:46 +0000 (Tue, 09 Jun 2009)
Log Message:
-----------
- introduced child_init function to init db connection per process
- db connection closed in destroy function
- reported and credits to Pascal Maugeri and Inaki Baz Castillo
Modified Paths:
--------------
branches/1.5/modules/presence/subscribe.c
branches/1.5/modules/xcap_client/xcap_client.c
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
it turned out the hang up problems (now fixed) were separate from mysql
"driver error on query: Commands out of sync" problems.
here is one example on that error from process 609 right after sr
restart:
Jun 6 18:22:41 localhost /usr/sbin/sip-router[609]: INFO: db_mysql [km_dbase.c:97]: submit_query(): select username,contact,expires,q,callid,cseq,flags,cflags,user_agent,received,path,socket,methods,last_modified,domain from location
Jun 6 18:22:44 localhost /usr/sbin/sip-router[609]: INFO: db_mysql [km_dbase.c:97]: submit_query(): insert into location (username,contact,expires,q,callid,cseq,flags,cflags,user_agent,received,path,socket,methods,last_modified,domain ) values ('test','sip:test@192.98.101.10:5074;transport=udp','2009-06-06 19:22:44',0.50 ,'ikquzsrapccwsci@localhost',219,0,0,'Twinkle/1.4.2',NULL,NULL,'',6111,'2009-06-06 18:22:44','test.fi')
Jun 6 18:22:44 localhost /usr/sbin/sip-router[609]: INFO: db_mysql [km_dbase.c:97]: submit_query(): select id,src_addr,dst_addr,body,ctype,inc_time from silo where username='test' AND domain='test.fi' AND snd_time=0 order by id
Jun 6 18:22:44 localhost /usr/sbin/sip-router[609]: ERROR: db_mysql [km_dbase.c:118]: driver error on query: Commands out of sync; you can't run this command now
Jun 6 18:22:44 localhost /usr/sbin/sip-router[609]: ERROR: <core> [db_query.c:101]: error while submitting query
Jun 6 18:22:44 localhost /usr/sbin/sip-router[609]: ERROR: msilo [msilo.c:1007]: failed to query database
as you see, there is first select on location, then insert on location (save)
and finally select on msilo (m_dump) that causes the error.
any idea how it is possible that insert (which does not return result)
could cause following select to return this kind of error?
i have not experienced these kind of errors in k with the same config
and modules. could it be that there is a bug in srdb1 lib?
-- juha