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

Re: [reSIProcate-users] Cancel incoming invite


Hello Nihar,

This is an incorrect callflow which you are trying to implement.

A UAS cannot send a new request before sending a response for an incoming request. CANCEL can only be sent from the UAC to cancel an already sent INVITE request. To not answer an incoming call, you need to send "486 Busy Here" response for the incoming INVITE request.

Thanks,
Yogesh


On Fri, Oct 9, 2015 at 4:02 PM, Nihar Junotele <nihar@xxxxxxxxxxxx> wrote:
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.com


Disclaimer :
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.

_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/