[reSIProcate] Need help with Handles

Scott Godin slgodin at icescape.com
Thu Sep 7 11:27:25 CDT 2006


Someone just posted a good solution a few days ago...

 

http://list.sipfoundry.org/archive/resiprocate-devel/msg05415.html

 

 

From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Kovar, William (Bill)
Sent: Thursday, September 07, 2006 11:43 AM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Need help with Handles

 

All,

 

In building a B2B with DUM, which manages MANY calls,  I maintain a
separate list of ServerInviteSessionHandle and
ClientInviteSessionHandle. I'm trying to merge these 2 lists into a
single master list of Handles. I know I can maintain the list as:

 

map<key, InviteSessionHandle> TheList

 

When I go to fetch a handle I don't know whether that handle should be
cast to ServerInviteSessionHandle, ClientInviteSessionHandle of
InviteSessionHandle because I can't figure out which type it currently
is.

 

Is there way to know which type of handle is currently active??

 

Bill Kovar

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/20060907/c21d28ba/attachment.htm>


More information about the resiprocate-devel mailing list