[SR-Users] need help with RTPProxy in bridged mode

Grant Bagdasarian gb at cm.nl
Thu Aug 13 14:35:48 CEST 2015


Hello,

I'm using RTPproxy for the first time in bridged mode and I can't get kamailio/rtpproxy to rewrite the c parameter to the correct public ip address of kamailio.

The setup is as following:

Carrier ------[fiber]------ Kamailio ---------[lan]--------- Freeswitch

Kamailio is listening on two interfaces:

1)      Private: 172.0.0.1

2)      Public: 192.168.0.1 (since we have a dedicated fiber with our carrier, this is its public address)

Freeswitch is listening on:

1)      172.0.0.2

Carrier is on:

1)      10.0.0.1

I've started an rtpproxy instance on the Kamailio box using:
rtpproxy -s udp:127.0.0.1:7721 -u rtpproxy rtpproxy -p /var/run/rtpproxy/rtpproxy.pid -l 192.168.0.1 172.0.0.1

I've played around with rtpproxy_manage() and the various flags (ie, ei), but I can't get kamailio to set the correct public IP when the 200 OK has to be sent back to the carrier.
It always sets it to its private address, instead of its public address.

I'm using Kamailio 4.2 with sippy/rtpproxy 2.0.

Could someone please point me into the right direction?

Thanks!

Grant

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150813/8695cbbb/attachment.html>


More information about the sr-users mailing list