[OpenSIPS-Users] Opensips and RTP-proxy

Vandeweyer, Eric eric.vandeweyer at be.verizonbusiness.com
Tue Oct 28 18:08:58 CET 2008


 
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



More information about the Users mailing list