[pjsip] Respond CANCEL with ... in sip_inv.c

Sergey Bakulin serbah at mail.ru
Fri Nov 23 04:59:33 EST 2007

Hi Benny!

Studying sip_inv.c (as the best example of pjsip dialog usage) I noticed 
one contradiction between code and comments. In function 
inv_respond_incoming_cancel() in case of "Invite transaction not found" 
the response is created with status code 200, while in comments said 
"Respond CANCEL with 491". And really you mean status code 481 (Call 
Leg/Transaction Does Not Exist), as on page 55 RFC 3261, do you?

P.S. Thanks for Changeset 1594.

Best regards,

More information about the pjsip mailing list