Hi all,
I have tried to reproduce the issue using Sipp tool. I have added extra
paramets of rport=5060 in Via Header . made call between Voip1 & Sipp tool .
For the Cancel sequence my Voip responds with ACK.
I cannot point its an issue with Voip-1 ,because it works with toher servers
responds for 487 with ACK.
I have attached my Sipp script . Please let me know is there anything wrong in
this script.
Iam not sure whether it's a valid question to post here.
for refrence I have attached my cancel.txt fiel here.
Best Regards,
Ckumar.
--- On Wed, 20/4/11, Pavesi, Valdemar (NSN - US/Irving)
<[email protected]> wrote:
From: Pavesi, Valdemar (NSN - US/Irving) <[email protected]>
Subject: Re: [Sip-implementors] SIP request Cancel Issue
To: "ext Brett Tate" <[email protected]>,
[email protected]
Date: Wednesday, 20 April, 2011, 4:08 PM
Yes, the via is malformed
Via: SIP/2.0/UDP
10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27;rport=5060
(rport)+ (rport=5060) equal trash.
-----Original Message-----
From: ext Brett Tate [mailto:[email protected]]
Sent: Wednesday, April 20, 2011 11:01 AM
To: Pavesi, Valdemar (NSN - US/Irving);
[email protected]
Subject: RE: [Sip-implementors] SIP request Cancel Issue
> The rfc is not talking about match via from 200ok
> and the invite.
Look at the cseq; the 200 is for CANCEL. However the 200 has a
malformed Via entry.
> In reality the only problem that we have here is
> the out of order from the server side.
The ordering is irrelevant; the UAC must accommodate either order.
The issue is the malformed Via entry. The via issue appears to be
causing the UAC to ignore the 200 response and ignore the 487 response.
> Before the 200k the server must send the 487 to
> terminated the dialog and wait for ACK and then
> send the 200ok-cseq-cancel.
I disagree with that statement. That statement even conflicts with the
typical CANCEL flow shown within RFC 3665 section 3.8. RFC 5407
provides some atypical CANCEL flows.
> -----Original Message-----
> From: ext Brett Tate [mailto:[email protected]]
> Sent: Wednesday, April 20, 2011 10:12 AM
> To: Pavesi, Valdemar (NSN - US/Irving);
> [email protected]
> Subject: RE: [Sip-implementors] SIP request Cancel Issue
>
> > This via with rport=5060 is the one generated by server
> > on b-side . and we are talking about cancel the dialog
> > on a-side.
>
> You might want to look at the call flow again.
>
> Voip1:10.32.140.122
>
> INVITE sip:[email protected];transport=udp SIP/2.0
> From: "AHTV Ric
> 1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
> To: <sip:[email protected];transport=udp>
> Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
> CSeq: 1 INVITE
> Via: SIP/2.0/UDP
> 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
>
> <snip>
>
> Voip-1 Sends Cancel
>
> CANCEL sip:[email protected];transport=udp SIP/2.0
> From: "AHTV Ric
> 1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
> To: <sip:[email protected];transport=udp>
> Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
> CSeq: 1 CANCEL
> Via: SIP/2.0/UDP
> 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
> Max-Forwards: 70
> Supported: 100rel,timer,replaces
> Content-Length: 0
>
>
> Server responds with 200 Ok
>
> SIP/2.0 200 OK
> Via: SIP/2.0/UDP
> 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27;rport=5060
> From: "AHTV Ric
> 1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
> To: <sip:[email protected];transport=udp>;tag=2406394696
> Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
> CSeq: 1 CANCEL
> Contact: <sip:10.32.128.20>
> Allow:
>
INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
> Allow-Events: dialog
> Supported: gruu
> Content-Length: 0
>
>
> Server sends 487
>
>
> SIP/2.0 487 Request Terminated
> Via: SIP/2.0/UDP
> 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27;rport=5060
> From: "AHTV Ric
> 1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
> To: <sip:[email protected];transport=udp>;tag=2406394696
> Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
> CSeq: 1 INVITE
> Contact: <sip:10.32.128.20>
> Allow:
>
INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
> Allow-Events: dialog
> Supported: gruu
> Content-Length: 0
>
>
> Voip1 is not responding to 487
>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE scenario (View Source for full doctype...)>
<scenario name="Incoming call">
<recv request="INVITE" crlf="true">
</recv>
<send>
<![CDATA[
SIP/2.0 100 Trying
[last_Via:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<send>
<![CDATA[
SIP/2.0 180 Ringing
[last_Via:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<recv request="CANCEL" crlf="true">
</recv>
<send>
<![CDATA[
SIP/2.0 200 OK
[last_Via:];rport=[local_port]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<send>
<![CDATA[
SIP/2.0 487 Request Terminated
[last_Via:];rport=[local_port]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
CSeq:1 INVITE
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
Content-Length: 0
]]>
</send>
<recv request="ACK"
crlf="true">
</recv>
</scenario>
Voip1:10.32.140.122
INVITE sip:[email protected];transport=udp SIP/2.0
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 INVITE
Via: SIP/2.0/UDP 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,REFER,INFO,MESSAGE,NOTIFY,PRACK,UPDATE
Priority: normal
Subject: calltype=standard
Max-Forwards: 70
Supported: 100rel,timer,replaces
Contact: <sip:[email protected]:5060;transport=udp>
Content-Type: application/sdp
Content-Length: 355
v=0
o=200 139924350 1597803496 IN IP4 10.32.140.122
s=ADI VoIP Phone
c=IN IP4 10.32.140.122
b=AS:1024
t=0 0
m=audio 8000 RTP/AVP 8 18 4 0 101
a=fmtp:101 0-15
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=rtpmap:4 G723/8000
a=rtpmap:0 PCMU/8000
a=fmtp:18 annexb=no
a=fmtp:4 annexa=no
a=ptime:40
a=sendrecv
a=rtpmap:101 telephone-event/8000
Server:10.32.128.20
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 INVITE
Contact: <sip:10.32.128.20>
Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
Allow-Events: dialog
Supported: gruu
Content-Length: 0
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>;tag=2406394696
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 INVITE
Contact: <sip:10.32.128.20>
Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
Allow-Events: dialog
Supported: gruu
Content-Length: 0
Voip2:10.32.140.139
INVITE sip:[email protected];transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.32.128.20:5060;branch=z9hG4bK-2625200056;rport
From: "AHTV Ric1 200" <sip:[email protected]>;tag=2625275176
To: <sip:[email protected];transport=udp>
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: <sip:[email protected]:5060>
Accept: application/sdp
Alert-Info: bellcore-dr1
Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
Allow-Events: dialog
Max-Forwards: 70
Priority: normal
Subject: calltype=standard;entity=phonedev.2017
Supported: gruu
User-Agent: CYTEL.iBX SIP Client
Content-Type: application/sdp
Content-Length: 347
v=0
o=cytelibx 356350691 356350691 IN IP4 10.32.128.20
s=call
c=IN IP4 10.32.128.20
t=0 0
m=audio 8008 RTP/AVP 8 0 2 3 18 97 101
a=rtpmap:8 pcma/8000
a=rtpmap:0 pcmu/8000
a=rtpmap:2 g726-32/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 g729/8000
a=rtpmap:97 ilbc/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:40
a=sendrecv
SIP/2.0 100 Trying
From: "AHTV Ric1 200"<sip:[email protected]>;tag=2625275176
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 INVITE
Via: SIP/2.0/UDP 10.32.128.20:5060;rport=5060;branch=z9hG4bK-2625200056
Supported: 100rel,timer,replaces
Contact: <sip:[email protected]:5060>
Content-Length: 0
SIP/2.0 180 Ringing
From: "AHTV Ric1 200"<sip:[email protected]>;tag=2625275176
To: <sip:[email protected]>;tag=13d9a18-8b8c200a-13c4-5506-2f1-23e9b9c3-2f1
Call-ID: [email protected]
CSeq: 1 INVITE
Via: SIP/2.0/UDP 10.32.128.20:5060;rport=5060;branch=z9hG4bK-2625200056
Supported: 100rel,timer,replaces
Contact: <sip:[email protected]:5060>
Content-Length: 0
Voip-1 Sends Cancel
CANCEL sip:[email protected];transport=udp SIP/2.0
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 CANCEL
Via: SIP/2.0/UDP 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
Max-Forwards: 70
Supported: 100rel,timer,replaces
Content-Length: 0
Server responds with 200 Ok
SIP/2.0 200 OK
Via: SIP/2.0/UDP
10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27;rport=5060
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>;tag=2406394696
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 CANCEL
Contact: <sip:10.32.128.20>
Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
Allow-Events: dialog
Supported: gruu
Content-Length: 0
Server sends 487
SIP/2.0 487 Request Terminated
Via: SIP/2.0/UDP
10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27;rport=5060
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>;tag=2406394696
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 INVITE
Contact: <sip:10.32.128.20>
Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
Allow-Events: dialog
Supported: gruu
Content-Length: 0
Voip1 is not responding to 487
Sequence between Server & Voip2 works fine.
Voip1 keep sends Cancel
CANCEL sip:[email protected];transport=udp SIP/2.0
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 CANCEL
Via: SIP/2.0/UDP 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
Max-Forwards: 70
Supported: 100rel,timer,replaces
Content-Length: 0
Server Sends 481 call leg doesn't exist.
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 CANCEL
Contact: <sip:10.32.128.20>
Allow: INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO
Allow-Events: dialog
Supported: gruu
Content-Length: 0
Voip sends ACK for 481 Response
ACK sip:[email protected];transport=udp SIP/2.0
From: "AHTV Ric
1"<sip:[email protected]>;tag=13e7858-7a8c200a-13c4-5506-38-3625c56-38
To: <sip:[email protected];transport=udp>;tag=2406394696
Call-ID: 14800c0-7a8c200a-13c4-5506-38-1b91bc30-38
CSeq: 1 ACK
Via: SIP/2.0/UDP 10.32.140.122:5060;rport;branch=z9hG4bK-38-dc39-6b4deb27
Max-Forwards: 70
Contact: <sip:[email protected]:5060;transport=udp>
Content-Length: 0
Even after this ACk Server keep sending 481 call/leg doesn't exit
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors