On Mon, Feb 23, 2009 at 12:30, Pekka Pessi <ppe...@gmail.com> wrote:

> When you return 480 to re-INVITE, nua considers the dialog terminated and
> clears its state.


I wonder why re-INVITEs are treated different (if indeed they are). I
believe this could cause other problems, as section 12.2.2 of the RFC
states: "Requests sent within a dialog, as any other requests, are atomic.
If a particular request is accepted by the UAS, all the state changes
associated with it are performed. If the request is rejected, none of the
state changes are performed."
In my case, my application is a B2BUA. I've noticed this problem in a
scenario in which the call is established and the receiving end generates a
re-INVITE. The originating end answers with the 480, which is ACKed, and
then nothing happens. The end that generated the re-INVITE chooses not to
disconnect the call and the conversation should still be going on. What
happens next is that after some time, the original caller chooses to hang
up, and sends a BYE. nua correctly answers the BYE, but when my application
tries to hang up the second leg (the one that received the re-INVITE),
nothing happens and the receiving end wastes resources until the person
decides to hang up too because of the lack of audio.


> In that sense, the behaviour is as expected. Nua
> should probably allow sending BYE after the session has otherwise been
> cleared, however.


I'd appreciate that very much as I believe this is a fairly serious problem
in our scenario.
Thanks a lot.

Fabio
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to