[OpenSER-Users] Problem with rtpproxy

Ovidiu Sas sip.nslu at gmail.com
Mon Sep 10 19:26:02 CEST 2007


You can control rtpproxy via a socket or via udp.
In your config you opted for udp and therefor you should start
rtpproxy with udp support (check the -s option for starting the
rtpproxy: -s udp:<IP>:<port>)


Regards,
Ovidiu Sas

On 9/10/07, Jeferson Prevedello <jprevedello at terra.com.br> wrote:
>
>
> Hi,
>
> I modified the configuration in my openser.cfg and now is possible hear
> audio in 1 direction (I hear the other people).
>
> Interesting is that the logs shows that rtpproxy "has been disabled
> temporarily".
>
>
> openser.cfg:
> #modparam("nathelper", "rtpproxy_sock",
> "unix:/var/run/rtpproxy.sock")   # Nathelper with RTPproxy
> modparam("nathelper", "rtpproxy_sock", "udp:xxx.xxx.xxx.xxx:8899")
>
> service run:
> root     13256  0.0  0.0   2536   344 ?        Ss   13:13   0:00
> /usr/bin/rtpproxy -l xxx.xxx.xxx.xxx -s udp:xxx.xxx.xxx.xxx 8899
>
> logs:
> Sep 10 13:19:50 src at sip2 /usr/sbin/openser[15433]: ERROR: send_rtpp_command:
> can't send command to a RTP proxy
> Sep 10 13:19:50 src at sip2 /usr/sbin/openser[15433]: send_rtpp_command():
> proxy <udp:xxx.xxx.xxx.xxx:8899> does not responding, disable it
>
> Sep 10 13:19:50 src at sip2 /usr/sbin/openser[15433]: WARNING: rtpp_test: can't
> get version of the RTP proxy
> Sep 10 13:19:50 src at sip2 /usr/sbin/openser[15433]: WARNING: rtpp_test:
> support for RTP proxy <udp:xxx.xxx.xxx.xxx:8899>has been disabled
> temporarily
>
> Some tip ?
>
> Regards
> Jeferson
>
>
>
> ----- Original Message -----
> From: Jeferson Prevedello
> To: users at openser.org
> Sent: Monday, September 10, 2007 11:59 AM
> Subject: [OpenSER-Users] Problem with rtpproxy
>
>
> Hi Guys,
>
> When I originate a call for an user behind of a NAT the call is without
> audio in the two ways.
>
>
> I believe that the problem is related to rtpproxy, however did not find
> nothing of wrong in my configuration.
>
>
> Some tip?
>
>
> openser.cfg:
> # ------------- !! Nathelper
> modparam("registrar", "nat_flag", 6)
> modparam("nathelper", "natping_interval", 30) # Ping interval 30 s
> modparam("nathelper", "ping_nated_only", 1)   # Ping only clients behind NAT
> modparam("nathelper", "rtpproxy_sock",
> "unix:/var/run/rtpproxy.sock")   # Nathelper with RTPproxy
>
>
> service run:
> ps -aux | grep rtp
> root 26098  0.0  0.0   2532   428 ?  Ss   10:40   0:00 /usr/bin/rtpproxy
> root 11143  0.0  0.0   2536   352 ?  Ss   11:30   0:00 /usr/bin/rtpproxy -l
> xxx.xxx.xxx.xxx -s udp:xxx.xxx.xxx.xxx 7890
>
> logs:
> Sep 10 11:32:59 src at sip2 /usr/sbin/openser[11859]: rtpp_test: RTP proxy
> <unix:/var/run/rtpproxy.sock> found, support for it enabled
> Sep 10 11:32:59 src at sip2 /usr/sbin/openser[11860]: rtpp_test: RTP proxy
> <unix:/var/run/rtpproxy.sock> found, support for it enabled
> Sep 10 11:32:59 src at sip2 /usr/sbin/openser[11861]: rtpp_test: RTP proxy
> <unix:/var/run/rtpproxy.sock> found, support for it enabled
> Sep 10 11:32:59 src at sip2 /usr/sbin/openser[11862]: rtpp_test: RTP proxy
> <unix:/var/run/rtpproxy.sock> found, support for it enabled
>
> Regards
> Jeferson
>
>
>  ________________________________
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>




More information about the Users mailing list