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

RE: [reSIProcate] Getting ServerInviteSessionHandle fromInviteSessionHandle


You can cast it by doing something like this:

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

 

ServerInviteSession is a subclass of InviteSession.

 

Scott


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Kovar, William (Bill)
Sent: Wednesday, May 17, 2006 10:39 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx