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

[reSIProcate-users] When / how to clean up an AppDialogSet


Hi,

 

As a UAC, I create an AppDialogSet which I pass to makeInviteSession() in a similar way to:

 

     // Build a custom AppDialogSet for the call

     AppDialogSet* uacAppDialogSet = new appDialogSet(*pClientDum, “MyPrivateCookie”);

 

     // Make the INVITE

     SharedPtr<SipMessage> invMessage = pClientDum->makeInviteSession(uasAor, pLineProfile, sdp, uacAppDialogSet);

 

     …

 

 

When do I have to clear this up? Is it in onTerminated() ?

 

If so, how do I get a handle to the AppDialogSetFactory to ask it to clean up?

 

Many thanks.