[reSIProcate] Getting ServerInviteSessionHandle fromInviteSessionHandle

Scott Godin slgodin at icescape.com
Wed May 17 09:41:15 CDT 2006


You can cast it by doing something like this:

((ServerInviteSession*)ish.get())->provisional();

 

ServerInviteSession is a subclass of InviteSession.

 

Scott

________________________________

From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Kovar, William (Bill)
Sent: Wednesday, May 17, 2006 10:39 AM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Getting ServerInviteSessionHandle
fromInviteSessionHandle

 

Folks,

 

Is it possible to get back the ServerInviteSessionHandle after the 

onNewSession(ServerInviteSessionHandle, ...) transitions to 

onOffer(InviteSessionHandle, ...)

 

I'm looking to do the sish->redirect() and apparently whenever I send
sish->provisional() the onOffer() callback gets fired and only the
InviteSessionHandle is available.

 

Is ISH castable back to a SISH??

 

Bill Kovar

ECAD R&D - IC Advocate and Workflow

Avaya Inc.

(732) 852-2609

bkovar at avaya.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20060517/5b81254c/attachment.htm>


More information about the resiprocate-devel mailing list