[reSIProcate] Need help with Handles

Benjamin Jacob benjamin.jacob at masconit.com
Fri Sep 8 00:26:37 CDT 2006


Wudn't it rather be better to store DialogIds? actualy, i shud rephrase 
that question, which approach is better, storing DialogIds or 
sessionHandles??

You are anyway passed InviteHandles in the callbacks. Also, if needed 
you can procure the handles using dum->findInviteSession(DialogId).

Ben.


Kovar, William (Bill) wrote:

> 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 <mailto:bkovar at avaya.com>
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>resiprocate-devel mailing list
>resiprocate-devel at list.sipfoundry.org
>https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>



More information about the resiprocate-devel mailing list