I'm trying to arm the failure route for a message sent via uac_req_send - similar to:

{
$uac_req(method)="OPTIONS";
$uac_req(ruri)="sip:kamailio.org";
$uac_req(furi)="sip:kamailio.org";
$uac_req(turi)="sip:kamailio.org";

t_on_failure("UAC_FAIL");
uac_req_send();
}

failure_route("UAC_FAIL") {
  xlog ......
}



If there is no response from the remote server, kamailio resends until the timers expire; but the failure route is not run. Similarly, if a 404 is sent back from the remote server, the failure route is not run.

Am I missing something obvious?

Thanks


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to