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