[Users] rtpproxy has been disabled temorarily

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Oct 4 10:20:43 CEST 2006


Hi Ronald,

have you also configured the RTPproxy to listen on 
udp:59.124.210.41:22222 ??

regards,
bogdan

Ronald Wiplinger wrote:

> If I use
>
> # -- nathelper --
> modparam("nathelper", "rtpproxy_sock", "udp:59.124.210.41:22222")  # 
> default port 22222
> #modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
> modparam("nathelper", "natping_interval", 30)
> modparam("nathelper", "ping_nated_only", 1)
> modparam("nathelper", "sipping_from", "sip:59.124.210.41")
>
>        # 
> -----------------------------------------------------------------
>        # NAT detection
>        # 
> -----------------------------------------------------------------
>        route(2);
>
> route[1] {
>        if (subst_uri('/(sip:.*);nat=yes/\1/')){
>        setflag(6);
>        };
>
>        if (isflagset(5)||isflagset(6)) {
>        route(3);
>        }
>
>        # send it out now; use stateful forwarding as it works reliably
>        # even for UDP2TCP
>        if (!t_relay()) {
>                sl_reply_error();
>        };
>        exit;
> }
>
>
> route[2]{
>        force_rport();
>        if (nat_uac_test("19")) {
>                if (method=="REGISTER") {
>                        fix_nated_register();
>                } else {
>                        fix_nated_contact();
>                };
>                setflag(5);
>        };
> }
>
> route[3] {
>        if (is_method("BYE|CANCEL")) {
>                unforce_rtp_proxy();
>        } else if (is_method("INVITE")){
>                force_rtp_proxy();
>                t_on_failure("1");
>        };
>        if (isflagset(5))
>                search_append('Contact:.*sip:[^>[:cntrl:]]*', ';nat=yes');
>                t_on_reply("1");
>        }
>
>        failure_route[1] {
>        if (isflagset(6) || isflagset(5)) {
>                unforce_rtp_proxy();
>        }
> }
>
>
> I get in the log file:
>
> Oct  4 09:19:01 taipei Taipei-openser[4083]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
> Oct  4 09:19:01 taipei Taipei-openser[4085]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
> Oct  4 09:19:01 taipei Taipei-openser[4087]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
> Oct  4 09:19:01 taipei Taipei-openser[4089]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
> Oct  4 09:19:01 taipei Taipei-openser[4091]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
> Oct  4 09:19:01 taipei Taipei-openser[4050]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
> Oct  4 09:19:01 taipei Taipei-openser[4067]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
> Oct  4 09:19:01 taipei Taipei-openser[4069]: WARNING: rtpp_test: 
> support for RTP proxy <udp:59.124.210.41:22222>has been disabled 
> temporarily
>
>
>
> with:
> modparam("nathelper", "rtpproxy_sock", "unix:/var/run/rtpproxy.sock")
>
> this error does not appear. In neither way it work for me (ring but no 
> audio)
>
>
> Can anybody help me please?
>
>
> bye
>
> Ronald Wiplinger
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>





More information about the sr-users mailing list