Hi, I'm trying to install Kamailio on a server with a public IP, but my users are mostly at their homes (a.k.a behind NAT). I understood I need to install RTPproxy, but all tutorials out there are for servers behind nat, and they talk about the server's private IP, which does not exists in this case.
how would I configure RTPproxy and Kamailio to allow users to subscribe to the server and have audio calls between them?
MtK
On Tuesday 26 May 2015 13:34:51 MtK - SmartMtK wrote:
I understood I need to install RTPproxy, but all tutorials out there are for servers behind nat, and they talk about the server's private IP, which does not exists in this case.
how would I configure RTPproxy and Kamailio to allow users to subscribe to the server and have audio calls between them?
Not all tutorials are for a natted server, eg:
http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-a...
This setup didn't change from 3.1 to 4.x.x. Just tell rtpproxy what the (public) ipadress is and it should work. You might want to force the rtpproxy for all calls though.
On 26/05/15 14:04, Daniel Tryba wrote:
On Tuesday 26 May 2015 13:34:51 MtK - SmartMtK wrote:
I understood I need to install RTPproxy, but all tutorials out there are for servers behind nat, and they talk about the server's private IP, which does not exists in this case.
how would I configure RTPproxy and Kamailio to allow users to subscribe to the server and have audio calls between them?
Not all tutorials are for a natted server, eg:
http://nil.uniza.sk/sip/nat-fw/configuring-nat-traversal-using-kamailio-31-a...
This setup didn't change from 3.1 to 4.x.x. Just tell rtpproxy what the (public) ipadress is and it should work. You might want to force the rtpproxy for all calls though.
To add that default kamailio.cfg for latest versions, including all 4.x, have use of rtpproxy incorporated. Read the comments at the top of kamailio.cfg, one has to enable:
#!define WITH_NAT
and tune the parameters of rtpproxy.
Cheers, Daniel