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

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.

>
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ??
> Sent: Sunday, October 02, 2005 9:23 AM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [reSIProcate] How to differentiate "invite" or "holdoff"?
>
> Hi all
> I can not differentiate two situations as follows.
> (Terminal A and Terminal B as example for my description)
>
> Situation 1:
> When initially establish Call,
> A send INVITE with Sdp to B,
> then B answer it and return 200ok with Sdp to A,
> and then A recevive 200ok and call virtual function
>   virtual void
>   InviteSessionHandler::onAnswer(InviteSessionHandle is, const SipMessage&
> msg,
> const SdpContents& sdp)
>
> Situation 2:
> When HoldOff,
> A send same INVITE with same Sdp to B,
> then B answer it and return 200ok with Sdp to A,
> and then A recevive 200ok and call virtual function
>   virtual void
>   InviteSessionHandler::onAnswer(InviteSessionHandle is, const SipMessage&
> msg,
> const SdpContents& sdp)
>
> I want to know in Terminal A,
> How to differentiate this two situations in function onAnswer()?
> I think the two "msg" and the two "sdp" are all same,
> maybe there are some difference in "is".
>
> Thank you very much.
>
> ZhengChang ,
> Beijing , China
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>