I have a transaction which is failing. My SIP Client is Registering with our
SIP Proxy Server. Then a call is placed to the Client via the proxy. An
INVITE is received, and responded to by the SIP client with a 100 Trying,
180 Ringing, and a 200 OK. However, no ACK is received. Instead, the client
times out on receipt of the 200 OK, and sends a CANCEL. I believe there may
be something in my SIP messaging that the Proxy Server does not like.
Is there anything wrong with my SIP Client messaging that perhaps does not
follow spec?
Please help!
Thanks.
Snehal Chudgar
*a) Sip Client registers with proxy*
REGISTER sip:wcbs.gsiv.com SIP/2.0 Via: SIP/2.0/UDP 166.34.72.198:5060
;branch=z9hG4bK9d10128a68416221
From: <sip:[EMAIL PROTECTED];user=phone>;tag=9463176-933
To: <sip:[EMAIL PROTECTED];user=phone>
Date: Thu, 25 Jan 07 16:02:35 GMT
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
Call-ID: [EMAIL PROTECTED]
CSeq: 101 REGISTER
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, PRACK,
UPDATE
Content-Length: 0
*b) Proxy returns 401 (Standard procedure) *
SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 166.34.72.198:5060
;branch=z9hG4bK9d10128a68416221
From: <sip:[EMAIL PROTECTED];user=phone>;tag=9463176-933
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 101 REGISTER
WWW-Authenticate: DIGEST realm="wcbs.gsiv.com
",qop="auth",algorithm=MD5,nonce="BroadWorksXexddka4rTfjq0uBW"
Content-Length: 0
*c) Sip Client registers with proxy (2nd time, standard)*
REGISTER sip:wcbs.gsiv.com SIP/2.0 Via: SIP/2.0/UDP 166.34.72.198:5060
;branch=z9hG4bK9d10128a68416221
From: <sip:[EMAIL PROTECTED];user=phone>;tag=9463176-933
To: <sip:[EMAIL PROTECTED];user=phone>
Date: Thu, 25 Jan 07 16:02:36 GMT
Expires: 3600
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;expires=3600
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
Allow: ACK, BYE, CANCEL, INVITE, NOTIFY, OPTIONS, REFER, REGISTER, PRACK,
UPDATE
Authorization: Digest username="wcbssub0",realm="wcbs.gsiv.com
",nonce="BroadWorksXexddka4rTfjq0uBW",uri="sip:wcbs.gsiv.com
",response="9ad0f631c5d25638ec7ee0ab1493dcc9"
Content-Length: 0
*d) Proxy returns 200 OK (Phone is now registered) *
**
SIP/2.0 200 OK Via: SIP/2.0/UDP 166.34.72.198:5060
;branch=z9hG4bK9d10128a68416221
From: <sip:[EMAIL PROTECTED];user=phone>;tag=9463176-933
To: <sip:[EMAIL PROTECTED];user=phone>
Call-ID: [EMAIL PROTECTED]
CSeq: 102 REGISTER
Contact: <sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp>;q=0.5
;expires=3599
Content-Length: 0
*e) Proxy sends INVITE to SIP Client (Original INVITE from a SIP automated
call dispatch server) *
INVITE sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp SIP/2.0 Via:
SIP/2.0/UDP 166.34.87.10;branch=
z9hG4bK-BroadWorks.166.34.87.10-166.34.72.198V5060-0-754940757-189420817-1169740986025
-
From: "MSIP"<sip:[EMAIL PROTECTED]
;user=phone>;tag=189420817-1169740986025-
To: "Wcbssub0 Webcenter"<sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 754940757 INVITE
Contact: <sip:166.34.87.10:5060>
Diversion: <sip:[EMAIL PROTECTED];user=phone>;reason=unknown;counter=1
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,UPDATE,NOTIFY
Supported:
Accept: multipart/mixed,application/sdp
Max-Forwards: 10
Content-Type: application/sdp
Content-Length: 168
v=0
o=BroadWorks 32748 1 IN IP4 166.34.93.50
s=-
c=IN IP4 166.34.93.50
t=0 0
m=audio 54452 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
*f) SIP Client responds with 100 Trying *
SIP/2.0 100 Trying Via: SIP/2.0/UDP 166.34.87.10;branch=
z9hG4bK-BroadWorks.166.34.87.10-166.34.72.198V5060-0-754940757-189420817-1169740986025
-
From: "MSIP"<sip:[EMAIL PROTECTED]
;user=phone>;tag=189420817-1169740986025-
To: "Wcbssub0 Webcenter"<sip:[EMAIL PROTECTED]>;tag=271237-386
Date: Thu, 25 Jan 07 10:03:06 GMT
Call-ID: [EMAIL PROTECTED]
Timestamp: 1003420811
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 754940757 INVITE
Content-Length: 0
*g) SIP Client responds with 180 Ringing *
SIP/2.0 180 Ringing Via: SIP/2.0/UDP 166.34.87.10;branch=
z9hG4bK-BroadWorks.166.34.87.10-166.34.72.198V5060-0-754940757-189420817-1169740986025
-
From: "MSIP"<sip:[EMAIL PROTECTED]
;user=phone>;tag=189420817-1169740986025-
To: "Wcbssub0 Webcenter"<sip:[EMAIL PROTECTED]>;tag=271237-386
Date: Thu, 25 Jan 07 10:03:06 GMT
Call-ID: [EMAIL PROTECTED]
Timestamp: 969032164
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 754940757 INVITE
Content-Type: application/sdp
Content-Disposition: session;handling=required
Contact: <sip:[EMAIL PROTECTED]>
Content-Length: 235
v=0
o=CiscoSystemsSIP-GW-UserAgent 6196 5254 IN IP4 166.34.72.198
s=SIP Call
c=IN IP4 166.34.72.198
t=0 0
m=audio 18430 RTP/AVP 18 0 98
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
*h) SIP Client responds with 200 OK (which the Proxy never sends ACK in
resposne to)*
SIP/2.0 200 OK Via: SIP/2.0/UDP 166.34.87.10;branch=
z9hG4bK-BroadWorks.166.34.87.10-166.34.72.198V5060-0-754940757-189420817-1169740986025
-
From: "MSIP"<sip:[EMAIL PROTECTED]
;user=phone>;tag=189420817-1169740986025-
To: "Wcbssub0 Webcenter"<sip:[EMAIL PROTECTED]>;tag=271237-386
Date: Thu, 25 Jan 07 10:03:06 GMT
Call-ID: [EMAIL PROTECTED]
Timestamp: 969032164
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 101 INVITE
Contact: <sip:[EMAIL PROTECTED]>
Content-Type: application/sdp
Record-Route: <sip:[EMAIL PROTECTED]>
Content-Length: 236
v=0
o=CiscoSystemsSIP-GW-UserAgent 6196 5254 IN IP4 166.34.72.198
s=SIP Call
c=IN IP4 166.34.72.198
t=0 0
m=audio 2354 RTP/AVP 18 0 98
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:98 telephone-event/8000
a=fmtp:98 0-15
**
**
*Expected ACK to establish the call is Never Received, and the Proxy times
out.*
*i) Proxy server sends CANCEL to SIP Client (after timing out)*
CANCEL sip:[EMAIL PROTECTED]:5060;user=phone;transport=udp SIP/2.0 Via:
SIP/2.0/UDP 166.34.87.10;branch=
z9hG4bK-BroadWorks.166.34.87.10-166.34.72.198V5060-0-754940757-189420817-1169740986025
-
From: "MSIP"<sip:[EMAIL PROTECTED]
;user=phone>;tag=189420817-1169740986025-
To: "Wcbssub0 Webcenter"<sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 754940757 CANCEL
Max-Forwards: 10
Content-Length: 0
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users