Respond CANCEL with ... in sip_inv.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sergey Bakulin wrote:
> 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?

Yeah, it should be 481, thanks for catching this (I've realized this 
since long time ago, but I thought nobody will notice ;-) ).

I've fixed this in http://www.pjsip.org/trac/ticket/426. I also 
changed few other places in sip_inv.c, so that incoming 481 response 
to CANCEL does not terminate the session (as per rfc 5057).

cheers,
  -benny

> P.S. Thanks for Changeset 1594.
> 
> Best regards,
> Sergey





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux