[SR-Users] Kamailio forward REGISTER return "general error"

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 7 07:50:10 CET 2016


Hello,

run kamailio with debug=3 in kamailio.cfg, you should see more details
about what happens during authorization time.

Cheers,
Daniel

On 06/03/16 19:35, Cockhootec Yahrabee wrote:
> 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
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, March 7-9, 2016 - http://www.asipto.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160307/bde6a5fb/attachment.html>


More information about the sr-users mailing list