[Freeswitch-users] SIP dialogue mismatch when pinging FS with SIPp UA
Victor Chukalovskiy
victor.chukalovskiy at gmail.com
Fri Jul 26 00:20:58 MSD 2013
Hello,
Freeswitch for some reason ignores UA's ACK and keeps re-transmitting
483 response (as per attached example). I suspect dialogue mismatch, but
don't see anything abnormal in the ACK. From: To: and Call-ID: all match!
Could someone with good eyes help find what makes FS unhappy about the
ACK? Enabling debug output did not not reveal anything (FS does not
print any debug output when receiving the ACK).
SIP call flow:
UA --INVITE--> FS
UA <--100 Trying -- FS
UA <--483-- FS
UA --ACK--> FS
And here is what I don't like:
UA <--483-- FS
UA <--483-- FS
UA <--483-- FS
....
UA is my SIPp that's set to ping FS with INVITE and expects 483 in
response (or any rejection that I like). This is needed to monitor call
processing (FS uses mod_lcr to return error channel like 483, so this
will allow me to ping mod_sofia as well as mod_lcr).
Any help is appreciated.
Thank you,
Victor
-------------- next part --------------
recv 623 bytes from udp/[192.168.1.201]:5060 at 19:58:20.239275:
------------------------------------------------------------------------
INVITE sip:15555551234 at 192.168.1.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.201:5060;rport;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
To: <sip:15555551234 at 192.168.1.100>
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
Contact: sip:sipp at 192.168.1.201:5060
Content-Type: application/sdp
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,INFO,MESSAGE
Supported: replaces,norefersub,100rel
Content-Length: 137
v=0
o=user1 53655765 2353687637 IN IP4 192.168.1.201
s=-
c=IN IP4 192.168.1.201
t=0 0
m=audio 6000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
------------------------------------------------------------------------
send 279 bytes to udp/[192.168.1.201]:5060 at 19:58:20.239780:
------------------------------------------------------------------------
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Content-Length: 0
------------------------------------------------------------------------
send 684 bytes to udp/[192.168.1.201]:5060 at 19:58:20.273609:
------------------------------------------------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"
Content-Length: 0
Remote-Party-ID: "15555551234" <sip:15555551234 at 192.168.1.100>;party=calling;privacy=off;screen=no
------------------------------------------------------------------------
recv 306 bytes from udp/[192.168.1.201]:5060 at 19:58:20.375015:
------------------------------------------------------------------------
ACK sip:15555551234 at 192.168.1.100 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.201:5060;rport;branch=z9hG4bK-9726-1-4
Max-Forwards: 70
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 ACK
Content-Length: 0
------------------------------------------------------------------------
send 684 bytes to udp/[192.168.1.201]:5060 at 19:58:20.774394:
------------------------------------------------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"
Content-Length: 0
Remote-Party-ID: "15555551234" <sip:15555551234 at 192.168.1.100>;party=calling;privacy=off;screen=no
------------------------------------------------------------------------
send 684 bytes to udp/[192.168.1.201]:5060 at 19:58:21.774395:
------------------------------------------------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"
Content-Length: 0
Remote-Party-ID: "15555551234" <sip:15555551234 at 192.168.1.100>;party=calling;privacy=off;screen=no
------------------------------------------------------------------------
send 684 bytes to udp/[192.168.1.201]:5060 at 19:58:23.774400:
------------------------------------------------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"
Content-Length: 0
Remote-Party-ID: "15555551234" <sip:15555551234 at 192.168.1.100>;party=calling;privacy=off;screen=no
------------------------------------------------------------------------
send 684 bytes to udp/[192.168.1.201]:5060 at 19:58:27.774390:
------------------------------------------------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"
Content-Length: 0
Remote-Party-ID: "15555551234" <sip:15555551234 at 192.168.1.100>;party=calling;privacy=off;screen=no
------------------------------------------------------------------------
send 684 bytes to udp/[192.168.1.201]:5060 at 19:58:31.774430:
------------------------------------------------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"
Content-Length: 0
Remote-Party-ID: "15555551234" <sip:15555551234 at 192.168.1.100>;party=calling;privacy=off;screen=no
------------------------------------------------------------------------
send 684 bytes to udp/[192.168.1.201]:5060 at 19:58:35.774394:
------------------------------------------------------------------------
SIP/2.0 483 Too Many Hops
Via: SIP/2.0/UDP 192.168.1.201:5060;rport=5060;branch=z9hG4bK-9726-1-0
Max-Forwards: 70
From: "Test" <sip:5555550000 at 192.168.1.201:5060>;tag=abc
To: <sip:15555551234 at 192.168.1.100>;tag=UcUZmt9rZKZ7p
Call-ID: 1-9726 at 192.168.1.201
CSeq: 1 INVITE
User-Agent: FreeSWITCH
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, refer
Reason: Q.850;cause=25;text="EXCHANGE_ROUTING_ERROR"
Content-Length: 0
Remote-Party-ID: "15555551234" <sip:15555551234 at 192.168.1.100>;party=calling;privacy=off;screen=no
------------------------------------------------------------------------
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list