[sr-dev] [ openser-Bugs-2791122 ] fr_inv_timer_avp on amd64

SourceForge.net noreply at sourceforge.net
Wed Jun 10 13:23:03 CEST 2009


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_id=139143

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_id=139143



More information about the sr-dev mailing list