[OpenSIPS-Users] Opensips and RTP-proxy

Vandeweyer, Eric eric.vandeweyer at be.verizonbusiness.com
Wed Oct 29 14:44:43 CET 2008



I am trying to use RTPPROXY behind a static 1:1 NAT (for QoS) and   
from what I can tell the ipaddress parameter of force_rtp_proxy is   
being ignored ... The "c" parameter is the sdp is not being changed 
By the ip address of the rtp proxy

Eric

-----Original Message-----
From: users-bounces at lists.opensips.org
[mailto:users-bounces at lists.opensips.org] On Behalf Of Vandeweyer, Eric
Sent: 28 October 2008 18:09
To: Andrew Pogrebennyk
Cc: OpenSIPS users mailling list
Subject: [OpenSIPS-Users] Opensips and RTP-proxy


 
Hoi all, 

I'm not able to get the RTP stream set-up via the RTP-Proxy

The idea is that the RTP-Proxy is always used, even non-NATed RTP
streams SIP traces show that the "connection data" field of the SDP is
not being overwritten, by the IP address of the RTP-Proxy.

Please can you help ?


Here is the config:
***********************************************************
loadmodule "registrar.so"
modparam("registrar", "max_contacts", 1) modparam("registrar",
"received_avp", "$avp(s:rcv)")

loadmodule "nathelper.so"
modparam("nathelper", "received_avp", "$avp(s:rcv)")
modparam("nathelper", "rtpproxy_sock", "1==udp:xxx.xxx.xxx.xxx:22222")



...

route[1]
{	
      force_rtp_proxy();
	t_on_reply("1");
	if (!t_relay())
	{
                sl_reply_error();
                if (method=="INVITE")
		{
			unforce_rtp_proxy();
		};
	};
	exit;
}

onreply_route[1]
{
         append_hf("P-hint: onreply route \r\n");
         if (nat_uac_test("1"))
         {
                 setbflag(6);
                 fix_nated_contact();
                 force_rport();
         };
         force_rtp_proxy("i","");
         exit;
}
**************************************************************

Many thanks

Eric



NV Verizon Belgium Luxembourg SA - Siege social: Rue de la Science 37,
1040 Bruxelles, Belgique - Siege principal: Rue de la Science 37, 1040
Bruxelles, Belgique - Registre des Personnes Morales: RPM Bruxelles
0452.182.326

NV Verizon Belgium Luxembourg SA - Maatschappelijke zetel:
Wetenschapsstraat 37, 1040 Brussel, Belgie - Hoofdzetel:
Wetenschapsstraat 37, 1040 Brussel, Belgie -Rechtspersonenregister: RPR
Brussel 0452.182.326

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



NV Verizon Belgium Luxembourg SA - Siege social: Rue de la Science 37, 1040 Bruxelles, Belgique - Siege principal: Rue de la Science 37, 1040 Bruxelles, Belgique - Registre des Personnes Morales: RPM Bruxelles 0452.182.326

NV Verizon Belgium Luxembourg SA - Maatschappelijke zetel: Wetenschapsstraat 37, 1040 Brussel, Belgie - Hoofdzetel: Wetenschapsstraat 37, 1040 Brussel, Belgie -Rechtspersonenregister: RPR Brussel 0452.182.326



More information about the Users mailing list