< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] How to differentiate "invite" or "holdoff"?


Consider the onAnswer callback.  If the application desires to behave
differently for hold request responses than the initial answer response -
ie. Display "Holding" indicator - then it would need to maintain state so it
could differentiate the 2 different onAnswer callbacks.


-----Original Message-----
From: jason.fischl@xxxxxxxxx [mailto:jason.fischl@xxxxxxxxx] On Behalf Of
Jason Fischl
Sent: Sunday, October 02, 2005 7:57 PM
To: Scott Godin
Cc: ??; resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] How to differentiate "invite" or "holdoff"?

On 10/2/05, Scott Godin <slgodin@xxxxxxxxxxxx> wrote:
> If both invites are initiated by your app then the CSeq in the message
> should be different.  Also if the SDP is changing (for hold/unhold) the
SDP
> version number should be incremented.  The only other way (I can think of)
> would be to maintain state in your application.
>
> Perhaps we should consider exposing the InviteSession state to
applications.

Why would an application need access to this state? Perhaps some use
cases would help.