[SR-Users] Users can't authenticate via external IP

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 17 11:46:24 CET 2013


Hello,

On 1/13/13 1:31 PM, Rumen Mihailov wrote:
> Hello Kamailio guys,
>
> I have the following setup
>
> Internet -----> REAL STATIC IP  -----> Kamailio Virtual IP(10.2.45.101)
>
> I have setup everything and when I try to connect to kamailio from the
> inside I can successfully register. When I try to register to the REAL
> STATIC IP which is forwarded to 10.2.45.101 I get unauthorized. I have
> narrowed down the problem to this:
>
> auth_check("$fd", "sip", "1")
>
> as I said I can authenticate from the internal network but not from
> the Internet. What do I need to alter ?
Have you looked at sip traffic to see if the registration is getting to 
kamailio? Is the public ip advertised by kamailio (or at least in the 
alias/domain list?

>
> Side problem... why when using xlog("L_WARN","$Cxx TEST") kamailio
> fails to start ? seems that my version does not support the colored
> output...
You have to use $C(xy) for colors.

Cheers,
Daniel

> Thank you for your help guys...in advance.
>
> Best regards,
> Rumen
> http://itradebg.com
>
> _______________________________________________
> 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://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
  - http://conference.kamailio.com -




More information about the sr-users mailing list