[SR-Users] About tm retrans time on ser or kamailio 3.1?

Min Wang ser.basis at gmail.com
Mon Mar 28 20:42:53 CEST 2011


HI
     I guess I found the reason:

     I have a bond interface (eth0_eth1), where -d any means any 
interface, so I guess the ngrep will capture the traffic both from the 
eth0 and bond0.



thx


min



>> Am 28.03.2011 17:43, schrieb Min Wang:
>>> HI
>>>
>>> I did the trace using ngrep:
>>>       ngrep -T -W byline -d any port 5060
>>>
>>> And I am confused with  tm retran.
>>>
>>> (1) case one
>>>    tm module, the|retr_timer1| default is 500 ms.
>>>
>>> #U +0.001824 xxx.17:5060 ->  xxx.16:5060
>>> INVITE sip:224 at 172.16.8.49:2057;line=lnzlkxu5 SIP/2.0.
>>>
>>> #U +0.000012 xxx.17:5060 ->  xxx.16:5060
>>> INVITE sip:224 at 172.16.8.49:2057;line=lnzlkxu5 SIP/2.0.
>>>
>>> the ngrep show the  delta between packet, the second invite is only 12
>>> ms behind?
>>> is my understanding correct?
>>>
>>> (2) change retr_timer1 to 2000 ms
>>>
>>> modparam("tm", "retr_timer1", 1000)
>>>
>>>
>>> #U +0.001936 xxx.17:5060 ->  xxx.16:5060
>>> INVITE sip:224 at 172.16.8.49:2057;line=lnzlkxu5 SIP/2.0.
>>>
>>> #U +0.000013 xxx.17:5060 ->  xxx.16:5060
>>> INVITE sip:224 at 172.16.8.49:2057;line=lnzlkxu5 SIP/2.0.
>>>
>>> the delta still  13 ms behind, so similar to the case 1,
>>>
>>>
>>> The question is: is the second invite the re-trans by tm?
>>> If so why it is around 12/13 ms? not the 500 ms or as configured 
>>> 2000 ms?
>>>
>>>
>>>
>>>
>>> thanks.
>>>
>>>
>>> Kind regards / Mit freundlichen Grüßen
>>>
>>> Min Wang
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>




More information about the sr-users mailing list