Hi,
The following excerpt from rfc 3261 (Section 9.1) makes it clear:

 "Note that both the transaction corresponding to the original request
 and the CANCEL transaction will complete independently.  However, a
 UAC canceling a request cannot rely on receiving a 487 (Request
 Terminated) response for the original request, as an RFC 2543-
 compliant UAS will not generate such a response.  If there is no
 final response for the original request in 64*T1 seconds (T1 is
 defined in Section 17.1.1.1), the client SHOULD then consider the
 original transaction cancelled and SHOULD destroy the client
 transaction handling the original request."

-- Hope this makes the things clear - why 487 did not arrive.

Biplab.

Markus Hofmann wrote:

Hi Sam,

I think to send a "487 Request Terminated" is a SHOULD and not a MUST.

Greeting

Markus

sam n <[EMAIL PROTECTED]> schrieb am 31.08.04 03:42:20:


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




________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193

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



-- ---------------------------------------------------------------------------- Biplab Chattopadhyay Research Engineer CDOT-Bangalore email: [EMAIL PROTECTED] [EMAIL PROTECTED] Phone# Office: 2263399, ext 255 2383951 (direct) Mobile: 9845378867 ----------------------------------------------------------------------------


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

Reply via email to