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

Re: [reSIProcate] Call back function problem


>   
> 
> Here I get called ClientInviteSession-onNewSession when I
> got the 200OK 
> 
>   
> 
> So there is no call back function for the 100 Trying? 

Are you only seeing a 100 and no 101-199 provisional response? Since
the 100 response is generated by the next hop (usually a proxy) there
is currently no callback for it.


> 
> How can I call the cancel method of invite session? 
>
If you have the SipMessage that was used to start the INVITE session,
you can call DialogUsageManager::end on the dum object.

e.g.
SipMessage invite = dum.makeInviteSession(target, offer);
dum.end(DialogSetId(invite));


If you are using AppDialogSet you can use this as an alternative:
http://wiki.resiprocate.org/wiki/index.php?title=Associating_Application_Data_with_Dialogs/DialogSets


 
> How can I detect my new session is going on (proceeding)? 
> 
InviteSessionHandler::onProvisional will be called for 1xx

>   
>