<div dir="ltr">Hi everyone,<div><br></div><div>I am trying to forward registration from one kamailio instance to another one eg.</div><div><br></div><div><font face="monospace, monospace">UA1 <---> kamailioB <------> kamailioA</font></div><div><br></div><div><br></div><div>I am trying to register on `kamailioA` with UA1. I have UA1 registered on kamailioA. I am routing SIP messages by adding this to `request_route` block:<br><br><div><font face="monospace, monospace">        if (uri != myself)</font></div><div><font face="monospace, monospace">        {</font></div><div><font face="monospace, monospace">                forward(otherKamailioIP, 5060);</font></div><div><font face="monospace, monospace">        }</font></div></div><div><br></div><div>Where I am using as `otherKamilioIP on kamailioA the kamailioB IP address and vice versa.</div><div><br></div><div>I can clearly see in Wireshark, that the SIP messages are routed correctly but I am getting 401 Unauthorized which is sent from kamailioA to kamailioB and then from kamailioB to UA1.</div><div><br></div><div><br></div><div>I printed value of `auth_check` following this <a href="http://lists.sip-router.org/pipermail/sr-users/2014-November/085851.html">http://lists.sip-router.org/pipermail/sr-users/2014-November/085851.html</a> and I am getting return code of `-1` which is according to the documentation <a href="http://kamailio.org/docs/modules/4.2.x/modules/auth_db.html#auth_db.f.www_authenticate">http://kamailio.org/docs/modules/4.2.x/modules/auth_db.html#auth_db.f.www_authenticate</a> the GENERIC ERROR.</div><div><br></div><div>I don't know what to do next. Does anyone encounter this kind of error before?</div><div><br></div><div><br></div><div>Thanks in advance</div><div><br></div></div>