re-INVITE tsx takes very long to reach TERMINATED state on negative reply in sip_inv.c -- PATCH

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

 



On Fri, Apr 24, 2009 at 1:17 PM, Ruud Klaver <ruud at ag-projects.com> wrote:

>
> I've also noticed another problem, which is sending a negative reply to a
> re-INVITE. This is only possible the on_rx_reinvite patch I sent to this
> list some time ago. PJSIP does not seem to handle this well, since the SDP
> negotiator gets stuck in the REMOTE_OFFER state and there is no way to
> cancel that. Personally I decided to just not send negative replies to
> re-INVITEs, since I can work around that, but it could be worth while to
> remember.
>
>
First of all, I just added this in the 1.3 roadmap:
http://trac.pjsip.org/repos/ticket/817

You're right about the REMOTE_OFFER state above, so I attached in the ticket
a patch which adds new API to the SDP negotiator to cancel the REMOTE_OFFER
state. The invite session would need to call this if application sends
non-2xx response for the re-INVITE.

I was ready to commit these patches, then I realized that we put the
on_reinvite() callback inside inv_check_sdp_in_incoming_msg(), which means
that the callback is only called when the re-INVITE contains SDP. I think
this is not right, don't you think? That's why I'm deferring this for next
next release, since we're pretty close to release now. Sorry about that.

thanks
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090501/93ba25a4/attachment.html>


[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