[SR-Users] On register
Keith
keith at hubner.co.uk
Tue Oct 8 13:31:20 CEST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131008/880c82c1/attachment.html>
More information about the sr-users
mailing list