Hello,

I need to cancel an INVITE that was just sent, and am trying the
method indicated in RFC 3261. Below is a small log of the SIP messages
sent/received.


<send INVITE>

INVITE sip:[EMAIL PROTECTED] SIP/2.0
Call-ID: [EMAIL PROTECTED]
CSeq: 590812 INVITE
From: <sip:[EMAIL PROTECTED]>;tag=1508783231-1592972684
To: "1001" <sip:[EMAIL PROTECTED]>
Via: SIP/2.0/UDP 192.168.0.16:1099
Max-Forwards: 70
Contact: "gernot" <sip:[EMAIL PROTECTED]:1099>
User-Agent: C12 Phone
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,UPDATE,NOTIFY
Content-Type: application/sdp
Content-Length: 159

// sdp body

<receive TRYING>

SIP/2.0 100 Trying
Via: SIP/2.0/UDP
192.168.0.16:1099;branch=z9hG4bK2a812a1942f6c5e7081b1c7505d45b8c
From: <sip:[EMAIL PROTECTED]>;tag=1508783231-1592972684
To: "1001" <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 590812 INVITE
Content-Length: 0


<receive RINGING>

SIP/2.0 180 Ringing
Via: SIP/2.0/UDP
192.168.0.16:1099;branch=z9hG4bK2a812a1942f6c5e7081b1c7505d45b8c
From: <sip:[EMAIL PROTECTED]>;tag=1508783231-1592972684
To: "1001" <sip:[EMAIL PROTECTED]>;tag=1229238695-1093914397502
Call-ID: [EMAIL PROTECTED]
CSeq: 590812 INVITE
Allow: ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,UPDATE,NOTIFY
Supported: 100rel
Contact: <sip:192.168.0.170:5060>
Remote-Party-ID: "Jill
Tester"<sip:[EMAIL 
PROTECTED];user=phone>;screen=yes;party=called;privacy=off;id-type=subscriber
Content-Length: 0


<send CANCEL>

CANCEL sip:[EMAIL PROTECTED] SIP/2.0
Call-ID: [EMAIL PROTECTED]
CSeq: 590812 CANCEL
From: <sip:[EMAIL PROTECTED]>;tag=1508783231-1592972684
To: "1001" <sip:[EMAIL PROTECTED]>
Via: SIP/2.0/UDP 192.168.0.16:1099
Max-Forwards: 70
User-Agent: C12 Phone
Contact: "gernot" <sip:[EMAIL PROTECTED]:1099>
Content-Length: 0

<receive OK for CANCEL>

SIP/2.0 200 OK
Via: SIP/2.0/UDP
192.168.0.16:1099;branch=z9hG4bK4f4ef2cc44a8b287fda3dd08df6fdebd
From: <sip:[EMAIL PROTECTED]>;tag=1508783231-1592972684
To: "1001" <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 590812 CANCEL
Content-Length: 0

However, after this, i do not receive a 487 Request Terminated
response, and the remote user's phone proceeds to ring.

Could anyone kindly tell me where i'm going wrong.

Thanks in advance.

Regards,
Sam
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to