Hi all,
I have been struggling with a problem regarding the frequency of the initial registering packets.
On RFC3261 it is said that the equipment should repaeta registering after T1 and then T2.
What I am observing is that pjsip is sending packets with the following pattern:
T1 -> 2*T1 -> 2*(2*T1) -> T2 -> T2
I have debugged and print ot some logs and the more strange thing is that on sip_transaction.c, the reschedule timer is configured to the correct value and the logs in fact show that the retransmit packet if after T2sec, nonetheless in between there are 2 more packets that I don't know which module is re-transmitting the register packets.
Any help would be appretiated.
Kind Regards
11:14:44.474 tsx0x10568294 State changed from Terminated to Destroyed, event=TIMER
11:14:44.474 tsx0x10568294 Transaction destroyed!
11:14:44.974 tsx0x1056c9fc Retransmiting Request msg BYE/cseq=1831 (tdta0x1056b990), count=0, restart?=1
11:14:44.974 pjsua_core.c TX 344 bytes Request msg BYE/cseq=1831 (tdta0x1056b990) to UDP 192.168.70.1:5060:
BYE sip:7003@192.168.70.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.2:5070;rport;branch=z9hG4bKPj38dae9a3-4ee9-4d8e-b9e1-533a4ba65beb
Max-Forwards: 70
From: sip:7002@192.168.70.1;tag=f294916a-ce75-4065-ac27-bf7f837cce33
To: sip:7003@192.168.70.1;tag=710061352
Call-ID: 4c2ad10c-bf3b-433d-8225-3031aaf7a230
CSeq: 1831 BYE
Content-Length: 0
--end msg--
11:14:48.974 tsx0x1056c9fc Retransmit timer event
11:14:48.975 tsx0x1056c9fc Retransmiting Request msg BYE/cseq=1831 (tdta0x1056b990), count=1, restart?=1
11:14:48.975 pjsua_core.c TX 344 bytes Request msg BYE/cseq=1831 (tdta0x1056b990) to UDP 192.168.70.1:5060:
BYE sip:7003@192.168.70.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.2:5070;rport;branch=z9hG4bKPj38dae9a3-4ee9-4d8e-b9e1-533a4ba65beb
Max-Forwards: 70
From: sip:7002@192.168.70.1;tag=f294916a-ce75-4065-ac27-bf7f837cce33
To: sip:7003@192.168.70.1;tag=710061352
Call-ID: 4c2ad10c-bf3b-433d-8225-3031aaf7a230
CSeq: 1831 BYE
Content-Length: 0
--end msg--
11:14:52.975 tsx0x1056c9fc Retransmit timer event
11:14:52.975 tsx0x1056c9fc Retransmiting Request msg BYE/cseq=1831 (tdta0x1056b990), count=2, restart?=1
11:14:52.975 pjsua_core.c TX 344 bytes Request msg BYE/cseq=1831 (tdta0x1056b990) to UDP 192.168.70.1:5060:
BYE sip:7003@192.168.70.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.2:5070;rport;branch=z9hG4bKPj38dae9a3-4ee9-4d8e-b9e1-533a4ba65beb
Max-Forwards: 70
From: sip:7002@192.168.70.1;tag=f294916a-ce75-4065-ac27-bf7f837cce33
To: sip:7003@192.168.70.1;tag=710061352
Call-ID: 4c2ad10c-bf3b-433d-8225-3031aaf7a230
CSeq: 1831 BYE
Content-Length: 0
11:14:44.474 tsx0x10568294 Transaction destroyed!
11:14:44.974 tsx0x1056c9fc Retransmiting Request msg BYE/cseq=1831 (tdta0x1056b990), count=0, restart?=1
11:14:44.974 pjsua_core.c TX 344 bytes Request msg BYE/cseq=1831 (tdta0x1056b990) to UDP 192.168.70.1:5060:
BYE sip:7003@192.168.70.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.2:5070;rport;branch=z9hG4bKPj38dae9a3-4ee9-4d8e-b9e1-533a4ba65beb
Max-Forwards: 70
From: sip:7002@192.168.70.1;tag=f294916a-ce75-4065-ac27-bf7f837cce33
To: sip:7003@192.168.70.1;tag=710061352
Call-ID: 4c2ad10c-bf3b-433d-8225-3031aaf7a230
CSeq: 1831 BYE
Content-Length: 0
--end msg--
11:14:48.974 tsx0x1056c9fc Retransmit timer event
11:14:48.975 tsx0x1056c9fc Retransmiting Request msg BYE/cseq=1831 (tdta0x1056b990), count=1, restart?=1
11:14:48.975 pjsua_core.c TX 344 bytes Request msg BYE/cseq=1831 (tdta0x1056b990) to UDP 192.168.70.1:5060:
BYE sip:7003@192.168.70.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.2:5070;rport;branch=z9hG4bKPj38dae9a3-4ee9-4d8e-b9e1-533a4ba65beb
Max-Forwards: 70
From: sip:7002@192.168.70.1;tag=f294916a-ce75-4065-ac27-bf7f837cce33
To: sip:7003@192.168.70.1;tag=710061352
Call-ID: 4c2ad10c-bf3b-433d-8225-3031aaf7a230
CSeq: 1831 BYE
Content-Length: 0
--end msg--
11:14:52.975 tsx0x1056c9fc Retransmit timer event
11:14:52.975 tsx0x1056c9fc Retransmiting Request msg BYE/cseq=1831 (tdta0x1056b990), count=2, restart?=1
11:14:52.975 pjsua_core.c TX 344 bytes Request msg BYE/cseq=1831 (tdta0x1056b990) to UDP 192.168.70.1:5060:
BYE sip:7003@192.168.70.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.70.2:5070;rport;branch=z9hG4bKPj38dae9a3-4ee9-4d8e-b9e1-533a4ba65beb
Max-Forwards: 70
From: sip:7002@192.168.70.1;tag=f294916a-ce75-4065-ac27-bf7f837cce33
To: sip:7003@192.168.70.1;tag=710061352
Call-ID: 4c2ad10c-bf3b-433d-8225-3031aaf7a230
CSeq: 1831 BYE
Content-Length: 0
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org