Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-26 Thread Daniel-Constantin Mierla
Hello, On 3/25/11 3:29 PM, Min Wang wrote: Hi Daniel: On 03/25/2011 03:03 AM, Daniel-Constantin Mierla wrote: thanks for troubleshooting. Indeed this was an issue, I did a commit to fix it last evening. During the times when SER and Kamailio were developped separately, SER added extra avp

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Daniel-Constantin Mierla
Hi Min, On 3/24/11 3:47 PM, Min Wang wrote: Hi Daniel Again. Thanks a lot. On 03/24/2011 09:26 AM, Daniel-Constantin Mierla wrote: t_set_fr() accepts any pseudo-varaibles as parameters, how did you use it? You are correct! I messed with time unit in the avp. I should times 1000 for

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Daniel-Constantin Mierla
Hello, the dbg_breakpoint(...) is not yet enabled internally, iirc. I left it this way since I thought there are some potential issues which need a bit more analysis, for now you have to use the global parameter to enable the breakpoint. Since you reminded it, I will try to find time for it

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Min Wang
Hi Daniel: On 03/25/2011 03:03 AM, Daniel-Constantin Mierla wrote: thanks for troubleshooting. Indeed this was an issue, I did a commit to fix it last evening. During the times when SER and Kamailio were developped separately, SER added extra avp lists, in Kamailio was still one,

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-25 Thread Min Wang
Hi Daniel On 03/25/2011 03:07 AM, Daniel-Constantin Mierla wrote: Hello, the dbg_breakpoint(...) is not yet enabled internally, iirc. I left it this way since I thought there are some potential issues which need a bit more analysis, for now you have to use the global parameter to enable the

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-24 Thread Daniel-Constantin Mierla
Hello, On 3/21/11 4:13 PM, Min Wang wrote: Hi I am trying to use fr_inv_timer_avp like the following in Kamailio 3.1: #!KAMAILIO ... modparam(tm, fr_inv_timer_avp, $avp(i:2)) modparam(tm, fr_inv_timer, 18) .. $avp(i:2)=10 ... # t_set_fr(1); ... t_on_failure(failroute); It seems

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-24 Thread Min Wang
Hi Daniel Again. Thanks a lot. On 03/24/2011 09:26 AM, Daniel-Constantin Mierla wrote: t_set_fr() accepts any pseudo-varaibles as parameters, how did you use it? You are correct! I messed with time unit in the avp. I should times 1000 for the avp $avp(i:2)=20 //seconds

Re: [SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-24 Thread Min Wang
Hi Daniel thanks. On 03/24/2011 09:26 AM, Daniel-Constantin Mierla wrote: It was an issue related to time unit reported in that message, but it got fixed and should work now -- since I did the fix I tested it, hopefully there was no commit later to cause the regression. Can you do

[SR-Users] issue: fr_inv_timer_avp in Kamailio 3.1

2011-03-21 Thread Min Wang
Hi I am trying to use fr_inv_timer_avp like the following in Kamailio 3.1: #!KAMAILIO ... modparam(tm, fr_inv_timer_avp, $avp(i:2)) modparam(tm, fr_inv_timer, 18) .. $avp(i:2)=10 ... # t_set_fr(1); ... t_on_failure(failroute); It seems it is not working. the invite will timeout in