List Info

Thread: 200/Invite crossing with Cancel




200/Invite crossing with Cancel
user name
2006-04-04 19:11:51

Currently in our UAS state machine if we receive a CANCEL after we have already sent a 200 to an Invite, then we just 200 the Cancel and continue to wait for the ACK.

 

The exceptional-procedures draft recommends in this case that we send a 481 response to the Cancel (since we are not processing it).  The UAC should then ACK our 200 and send a BYE to terminate the session.

 

I was considering change resip to follow the draft, so it will 481 the cancel instead of 200ing it.  What do you guys think the most correct thing to do here is?  A 481 may be a little miss-leading, since the dialog does in-fact exist.  Also a 200 is misleading, since we not going to cancel the transaction.

 

Scott Godin 

01C657FA.220DAD40">

800-410-1051 say my name
905-882-5000 say my name
icescape.com">slgodinicescape.com
www.computer-talk.com

 

200/Invite crossing with Cancel
user name
2006-04-06 20:56:22
No, the exceptional-procedures draft isn't right on this one yet.

This is one of the places where 3261 is actually clear:
   Regardless of the method of the original request, as long as the
   CANCEL matched an existing transaction, the UAS answers the CANCEL
   request itself with a 200 (OK) response. 

The code as-is is what we really want.

RjS

On Apr 4, 2006, at 2:11 PM, Scott Godin wrote:

Currently in our UAS state machine if we receive a CANCEL after we have already sent a 200 to an Invite, then we just 200 the Cancel and continue to wait for the ACK.

 

The exceptional-procedures draft recommends in this case that we send a 481 response to the Cancel (since we are not processing it).  The UAC should then ACK our 200 and send a BYE to terminate the session.

 

I was considering change resip to follow the draft, so it will 481 the cancel instead of 200ing it.  What do you guys think the most correct thing to do here is?  A 481 may be a little miss-leading, since the dialog does in-fact exist.  Also a 200 is misleading, since we not going to cancel the transaction.

 

Scott Godin 



800-410-1051 say my name
905-882-5000 say my name
icescape.com">slgodinicescape.com
www.computer-talk.com

 

<image001.gif&gt;
_______________________________________________
repro-devel mailing list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )