<div dir="ltr"><div><div><div><div><div>I took SBC from my test scenario.<br></div>Then I found same issue, Kamalio challanges repeatedly.<br><br></div>One of the reason I suspect is, in my case for REGISTER message to uri and from uri are different.<br></div>Can that cause Kamailio to challenge it repeatedly.<br><br></div>Thanks<br></div>Austin<br><div><div><div><div><div><br><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 11:22 AM, Austin Einter <span dir="ltr"><<a href="mailto:austin.einter@gmail.com" target="_blank">austin.einter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>Hi All<br></div>I have a typical requirement, where I have a forwarding SBC between an endpoint and kamailio as shown below.<br><br></div>Endpoint ----> SBC ------> Kamailio<br><br></div>From endpoint I am sending REGISTER request. It reaches SBC. SBC sends the REGISTER request to Kamailio, Kamailio challenges it (401), and challenge response is received at endpoint through SBC.<br><br></div>Next endpoint adds authorization header and sends REGISTER to SBC, SBC forwards it to Kamailio.<br><br></div>Now Kamailio again responds with 401.<br><br></div>When we analysed Kamailio logs, we can see Kamailio log authorization response token and response token that was sent by Endpoint are same.<br><br></div>So my question is, why Kamailio sends 401 repeatedly even if it received proper Authorization header.<br><br></div>Is it because Kamailio received REGISTER from IP address different from endpoint.<br><div><div><div><br></div><div>Please guide, how can I avoid this issue.<br><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Austin<br></div><div><br><br><br><div><div><br><br><br><br></div></div></div></font></span></div></div></div>
</blockquote></div><br></div>