Users can't authenticate via external IP
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 ? Side problem... why when using xlog("L_WARN","$Cxx TEST") kamailio fails to start ? seems that my version does not support the colored output... Thank you for your help guys...in advance. Best regards, Rumen http://itradebg.com
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@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 -
participants (2)
-
Daniel-Constantin Mierla -
Rumen Mihailov