[SR-Users] Kamailio forward REGISTER return "general error"
Cockhootec Yahrabee
cockootec at gmail.com
Sun Mar 6 19:35:21 CET 2016
Hi everyone,
I am trying to forward registration from one kamailio instance to another
one eg.
UA1 <---> kamailioB <------> kamailioA
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:
if (uri != myself)
{
forward(otherKamailioIP, 5060);
}
Where I am using as `otherKamilioIP on kamailioA the kamailioB IP address
and vice versa.
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.
I printed value of `auth_check` following this
http://lists.sip-router.org/pipermail/sr-users/2014-November/085851.html
and I am getting return code of `-1` which is according to the
documentation
http://kamailio.org/docs/modules/4.2.x/modules/auth_db.html#auth_db.f.www_authenticate
the GENERIC ERROR.
I don't know what to do next. Does anyone encounter this kind of error
before?
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160306/99b5b712/attachment.html>
More information about the sr-users
mailing list