[reSIProcate-users] Cancel incoming invite
Hi,
I need to cancel an incoming INVITE (not answering call) , so in
virtual void onNewSession(ServerInviteSessionHandle sis, InviteSession::OfferAnswerType oat, const SipMessage& msg) function I tried end the call as follows
sis->getAppDialogSet()->end();
But it's not sending CANCEL response, It's always sending "480 Temporarily Unavailable".
I also tried sis->end(), result is same.
Can you please suggest what needs to be done to send cancel to an incoming INVITE request.
Flow is
Resiprocate client
INVITE <-------------------------------------------------
100 trying ----------------------------------------------->
CANCEL------------------------------------------------->
Regards,
Nihar
JunoTele Solutions Private Limited,
26/3, 38th Cross, 18th Main Road,
Jayanagar 4th 'T' Block,Bangalore - 560041
T/F: +91-78-46-99-88-77,
Email: nihar
@junotele.comDisclaimer :
The information in this e-mail and any attachments is
confidential and may be legally privileged. It is intended solely for
the addressee(s). If you are not an intended recipient, please delete
the message and any attachments and notify the sender immediately. Any
use or disclosure of the contents of either is unauthorised and may be
unlawful. JunoTele has taken every reasonable precaution to minimize
this risk viruses, but is not liable for any damage you may sustain as a
result of any virus in this e-mail. You should carry out your own virus
checks before opening the e-mail or attachment.