[SR-Users] Kamailio-5.3.3. NAT and RTP not working

supreeth herle herlesupreeth at gmail.com
Thu May 14 13:05:35 CEST 2020


Hello Pavithra,

Have you tried advertising the floating IP of the VM running RTPProxy as
follows?

Edit /etc/default/rtpproxy file as follows:

# Additional options that are passed to the daemon.
EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"

here, "-l <PUBLIC_IP>"

Hope it helps.

Regards,
Supreeth

On Thu, 14 May 2020 at 13:01, Pavithra Mohanraja <pavimohan3004 at gmail.com>
wrote:

> Hi ,
>
> Could anybody please give me the approach how to configure NAT in kamailio
> IMS.
>
> I have installed kamailio IMS in openstack environment which has private
> ips for all four vms (each component in one vm). pcscf has one floating IP
> attached. I have enabled "WITH_NAT" and configured rtpproxy .
>
> when i make a call from outside of openstack using 2 zoiper clients with
> outbound proxy keeping floating ip of pcscf, I am getting 200 ok with all
> SIP packets correctly flowing but there is no RTP Packet.
>
> When i try the same within openstack environment without using public ip,
> I am getting RTP Packets.
>
> Kindly tell me the procedure of NAT Enablement or do i need to do anything
> other than this.
>
> Kindly help because i am stuck with this for long time.
>
>
> Thanks.
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200514/0468aace/attachment.html>


More information about the sr-users mailing list