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

Reply via email to