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

[reSIProcate-users] Aborting an outgoing call INVITE


What's the best way to abort an outgoing call using ReSiprocate. I have the
following code based on some of the examples which sends out the INVITE and
while the other side is ringing, let's say the user who originated this
invite decides they do not want to call and want to cancel the ongoing
operation. 

SipCtrl->dumUac->send(SipCtrl->dumUac->makeOutOfDialogRequest(uasAor,
uProfile, OPTIONS, 
                              new MyAppDialogSet(*(SipCtrl->dumUac), 
                                "UAC(OPTIONS)",instanceId) ) );

SipCtrl->dumUac->send(SipCtrl->dumUac->makeInviteSession(uasAor, uProfile, 
                                SipCtrl->uac->sdp, 
                                new MyAppDialogSet(*(SipCtrl->dumUac),
"UAC(INVITE)",instanceId)));


Thanks,
ali