[OpenSIPS-Users] Wrong Direction of RTPProxy media

Kamil Nigmatullin kamil.nigmatullin at gmail.com
Thu Feb 10 09:50:45 CET 2011


Hello,

We have a softswitch that has several media gateways with differnt IP addresses
than the SIP server. 

Opensips and RTPProxy work in bridge mode. When user from PSTN initiates the
Invite Request to the user that is a SIP Client on Public Internet, in goes thru
our SoftWithch and Opensips Proxy and reaches the client. 

Then the client initiates 200OK with SDP and begins to send stream to the proxy.
Then the problem appears. The Proxy sends thestream to the SIP server, not to
mediagateway however SDP body from softswitch contains the IP of mediagateway.

I understand that SSwitch must make madiagateway to send traffic when it receive
200 OK, but this is the issue with softswich that is in process of debuging of
manufacturer. 

Anyway I'am not sure if I'm using RTPProxy correctly, but it works when
mediagateway starts to send RTP stream to the proxy. (Some sip telephones send
extra 180 Ringing with SDP and in this case it works).

This how I use RTPProxy. In Debian it seems the only working solution of all
that I tried.

modparam("nathelper", "rtpproxy_sock","unix:/var/run/rtpproxy/rtpproxy.sock")

10082 ?        Ss     0:01 /usr/sbin/rtpproxy -s
unix:/var/run/rtpproxy/rtpproxy.sock -u rtpproxy rtpproxy -p
/var/run/rtpproxy/rtpproxy.pid

Thanks a lot




More information about the Users mailing list