Menu

#572 fr_inv_timer_avp on amd64

open
nobody
modules (357)
5
2009-05-13
2009-05-13
No

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

Discussion

  • Daniel-Constantin Mierla

    Can you run with debug=5 and attach the syslog output here?

     
  • Tobias Lindgren

    Tobias Lindgren - 2009-05-15

    Done, the config snippet looks something like this:
    modparam("tm", "fr_inv_timer_avp", "$avp(i:10)")
    $avp(i:10) = "25";
    t_relay();

     
  • Tobias Lindgren

    Tobias Lindgren - 2009-05-15

    debug output

     
  • Daniel-Constantin Mierla

    OK, i am going to check the log. thanks.

     
  • Daniel-Constantin Mierla

    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?

     
  • Nobody/Anonymous

    Any progress on this?

     
  • Daniel-Constantin Mierla

    Did you check my last message? Is the timer avp integer or string value?

     
  • Tobias Lindgren

    Tobias Lindgren - 2009-05-25

    The avp-value was a string, but changing it into an integer makes no difference. On 32bit it works regardless of int or str.

     
  • Tobias Lindgren

    Tobias Lindgren - 2009-06-05

    Any news?

     
  • Daniel-Constantin Mierla

    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.

     
  • Tobias Lindgren

    Tobias Lindgren - 2009-06-17

    Sent debugs to your email.

     
  • Tobias Lindgren

    Tobias Lindgren - 2009-09-15

    Hi, did you have a chance to look at the debugs?

     

Log in to post a comment.