[OpenSIPS-Users] *** correction *** Opensips is responding(SIP/2.0 503 No destinationavailable) to a CANCEL request.

Julien Chavanton jc at atlastelecom.com
Fri May 21 18:43:50 CEST 2010


Hi Bogdan,
Dynamic routing was not right, I was expecting that it would always be routed to the same target.
 
I should use this special block for handling CANCEL :

# # #
if ( is_method("CANCEL") ) {
 if ( t_check_trans() )
  t_relay();
 exit;
}

 
I was using :
 
# # # #---> Dynamic Routing
 if (!do_routing("0")) {
       sl_send_reply("503", "No destination available");
       exit;
 }
 
 
 


More information about the Users mailing list