Hi Sa?l, Thanks for the patch (and the previous one). We just checked it in r4583 ( https://trac.pjsip.org/repos/changeset/4583) with some added remarks. Regards, Ming On Fri, Aug 9, 2013 at 4:13 PM, Sa?l Ibarra Corretg? <saul at ag-projects.com>wrote: > Hi! > > I see that the re-INVITE handling patches have been merged, I'm so glad > this happened :-) There is a problem in replying to the re-INVITE after the > CANCEL has been processed, though: in sip_inc.c, line 4271, the CANCEL is > replied with a 200 OK, but the INVITE transaction is not replied with a 487 > afterwards. > > This happens within the inv_on_state_confirmed callback, and since the > dialog is already established, the invite session will already be in the > confirmed state, so the CANCEL to the re-INVITE will be handed in that > callback. The attached patch fixes the problem by handling he CANCEL just > like a CANCEL to the original INVITE. > > Keep up the good work guys! > > > Cheers, > > > -- > Sa?l Ibarra Corretg? > AG Projects > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20130821/2bdcf81d/attachment-0001.html>