SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
cybernergiesOffline



Joined: Feb 25, 2005
Posts: 4

Status: Offline
Posted: May 28, 2009 - 06:45 AM Reply with quote Back to top
Hi, I successfully installed Kamailio on the Amazon computing cloud (EWS), and it runs fine. However, I can't get to it (register) from any UACs from the public internet. In amazon, all the instances (i.e. "virtual machines) are in a "private" IP, kindda like the private IP you get in a LAN. However, Amazoin gives you a "public IP" that can be mapped to any machine instance in your account, i.e. the machine that kamailio is running. However, when i use this public IP in the configuration of the UACs, it cannot get to it. How can I get kamailio to listen on this public IP?

Secondly, and related to the first, when I run kamailio in my LAN (behind a router), say on 192.168.1.113, and all my UACs are in the same LAN, say 192.168.1.112, 192.168.1.114, etc, I can register ok and make calls just fine. However, when I try to come in from the public internet, no UACs can register to my Kamailio server (running on 192.168.1.113), even though I am forwarding port 5060 from my router to 192.168.1.113 (where kamailio is running). I think this problem is related to the first one, in that I cannot get Openser (kamailio) to listen on a public IP, when it is behing a "LAN". Can anyone help?

Lastly, the same issue with rtpproxy also behind the LAN, but it needs a pulic IP, right? Please help...anyonw.
View user's profile Send private message
micondaOffline



Joined: Feb 02, 2007
Posts: 356
Location: Germany
Status: Offline
Posted: Jun 03, 2009 - 10:56 AM Reply with quote Back to top
If you have kamailio behind nat you have to play with advertised address, see the core cookbook:
http://www.kamailio.org/dokuwiki/doku.p ... book:1.5.x

It is a more complex case of installation, though, some modules might not have been very well tested. If you find issue, report to sr-dev [!at] lists.sip-router.org (replace the [!at] with a @)
View user's profile Send private message
cybernergiesOffline



Joined: Feb 25, 2005
Posts: 4

Status: Offline
Posted: Jun 25, 2009 - 04:48 PM Reply with quote Back to top
Hi,
can anyone please tell me how to configure Kamailio/OpenSER behnd a NAT/ADSL router and registr UAs/SIP clients from the public internet? I have tried several things, but does not work. I have a public IP form my cable provider, conncted to my router. My SIP proxy sits bhind this rotr, and has address 192.168.1.113. How can I confiure this such that clients can register nd make calls to it from th public nternet? i have tried published_address but doe not work.
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.