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=279112…
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-17 16:04
Message:
Sent debugs to your email.
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-06-10 13: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 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=279112…