Hi,
I am trying to "on register" from kamailio to an asterisk box. I am having trouble when asterisk sends a 401 to the first register response. I have tried to set a failure route as follows:t_on_failure("FAILURE_HANDLE");
failure_route[FAILURE_HANDLE] {
if (t_is_canceled()) {exit;}
if(t_check_status("401")) {uac_auth();}
t_relay();}
But it doesn't see to send the credentials back.
Any help would be appreciated.Thanks.Keith
_______________________________________________ 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
-- Daniel-Constantin Mierla - http://www.asipto.com http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013 - more details about Kamailio trainings at http://www.asipto.com -