[asterisk-dev] iteration or recursion

Oleg Shevtsov sat-aster at shevtsoff.kiev.ua
Fri Apr 28 02:59:17 MST 2006


Hi guys,

I found very interesting situation. 

1) Asterisk is getting BYE on call that it doesn't remember.
2) Responds with 481 Call/Transaction Does Not Exist.
3) Receives ACK on failure response.
4) Then sends new 481 Call/Transaction Does Not Exist with CSeq: 1 ACK.

Looks like a bug.

May be it's a known bug, but it leads to sending lots of messages with high load.



Thanks for your time reading this e-mail.
Oleg.





Messages log from third party switch:

146.101.138.226 - Asterisk,
193.108.123.164 - third party switch.


2006/04/25 17:58:48.731 Sent 146.101.138.226:5060	SIP
BYE sip:steve at 146.101.138.226 SIP/2.0
Via: SIP/2.0/UDP 193.108.123.164;branch=z9hG4bK66b8bd5e;rport
From: <sip:442399740 at 193.108.123.164>;tag=3105893172
To: "Steve Dommett" <sip:steve at 146.101.138.226>;tag=as682f57ef
Call-ID: 54a95c4c261a87a6561252443e623a26 at 146.101.138.226
CSeq: 1 BYE
User-Agent: Cisco ATA 186  v3.1.0 atasip (040211A)
Content-Length: 0
Contact: <sip:442399740 at 193.108.123.164>





2006/04/25 17:58:48.805 Recv 146.101.138.226:5060	SIP
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP
193.108.123.164;branch=z9hG4bK66b8bd5e;received=193.108.123.164;rport=5060
From: <sip:442399740 at 193.108.123.164>;tag=3105893172
To: "Steve Dommett" <sip:steve at 146.101.138.226>;tag=as682f57ef
Call-ID: 54a95c4c261a87a6561252443e623a26 at 146.101.138.226
CSeq: 1 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0





2006/04/25 17:58:48.806 Sent 146.101.138.226:5060	SIP
ACK sip:steve at 146.101.138.226 SIP/2.0
Via: SIP/2.0/UDP
193.108.123.164;branch=z9hG4bK66b8bd5e;received=193.108.123.164;rport=5060
From: <sip:442399740 at 193.108.123.164>;tag=3105893172
To: "Steve Dommett" <sip:steve at 146.101.138.226>;tag=as682f57ef
Call-ID: 54a95c4c261a87a6561252443e623a26 at 146.101.138.226
CSeq: 1 ACK
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0





2006/04/25 17:58:48.882 Recv 146.101.138.226:5060	SIP
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP
193.108.123.164;branch=z9hG4bK66b8bd5e;received=193.108.123.164;rport=5060;received=193.108.123.164
From: <sip:442399740 at 193.108.123.164>;tag=3105893172
To: "Steve Dommett" <sip:steve at 146.101.138.226>;tag=as682f57ef
Call-ID: 54a95c4c261a87a6561252443e623a26 at 146.101.138.226
CSeq: 1 ACK
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0





2006/04/25 17:58:48.882 Sent 146.101.138.226:5060	SIP
ACK sip:steve at 146.101.138.226 SIP/2.0
Via: SIP/2.0/UDP
193.108.123.164;branch=z9hG4bK66b8bd5e;received=193.108.123.164;rport=5060;received=193.108.123.164
From: <sip:442399740 at 193.108.123.164>;tag=3105893172
To: "Steve Dommett" <sip:steve at 146.101.138.226>;tag=as682f57ef
Call-ID: 54a95c4c261a87a6561252443e623a26 at 146.101.138.226
CSeq: 1 ACK
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0



-- 
Oleg Shevtsov



More information about the asterisk-dev mailing list