[sr-dev] [kamailio/kamailio] Possible bug with track_cseq_updates set in dialog (#789)
ovoshlook
notifications at github.com
Tue Sep 20 13:35:19 CEST 2016
looks like kamailio dont unerstand that he need handle 407 request
At my side i see that kamailio dont stops 407 request and resend it without any handling
I use asterisk->kamailio-provider scheme
At this scheme kamailio must stops proxy of get 407/401 and then make another invite with www-auth header
But it proxies 407 to asterisk back. and give errors above.
if (t_check_status("401|407")){
xlog("L_INFO", "Reply from provider on failure: $tU");
xlog("L_ERR","401/407 - Unauthorized. ($ci .) ($rm) from ($fu) (IP:$si:$sp) to ($Ri:$Rp). Must be authorized with digest Auth.");
if (uac_auth()) {
xlog("L_INFO", "CSeq diff: $dlg_var(cseq_diff)");
t_relay();
} else {
xlog("L_INFO", "UAC_AUTH(): credentials not found");
}
t_relay();
}
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/789#issuecomment-248276236
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160920/04c67c39/attachment.html>
More information about the sr-dev
mailing list