[OpenSIPS-Users] ICE How-To

Barsan Liviu barsanl at yahoo.com
Thu Jun 23 11:23:36 CEST 2011


Hi Saul,

I mean by 'the rest' that I don't have to write code in the opensips.cfg to have 
ICE ( e.g. see which kind of NAT it is etc.), just to set the parameters for the 
mediaproxy as written below.
I think I understood from your answer what I have to do.

In the same time I'm thinking how to test ICE, do you think a proper way is to 
make two tests:
1. Two clients behind a router that does not have symmetric nat (e.g. conic nat) 
and server with public IP, in this case the media stream should follow the STUN 
way (not via relay).
2. Two clients behind a router with symmetric nat, in this case media stream 
should go via relay (mediaproxy).
Obviously we should have clients with ICE support, we use Bria 3.2, 2.5.4 or 
Blink.

And to follow the media streams I have to install CDRTool and FreeRadius server.
Do you think this scenario is suitable to prove the ICE capability of the 
server?

Thanks,
Liviu



________________________________
From: Saúl Ibarra Corretgé <saul at ag-projects.com>
To: OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Thu, June 23, 2011 10:20:47 AM
Subject: Re: [OpenSIPS-Users] ICE How-To

Hi,

On Jun 22, 2011, at 5:35 PM, Barsan Liviu wrote:

> Hello,
> 
> We have built until now an OpenSIPs-MediaProxy server which knows far end NAT 
>traversal, Messaging and Presence (basic), it works reliable.
> Now we would like to add ICE capability to this solution and we are not sure on 
>How-To. According to http://mediaproxy-ng.org/wiki/ICE, we understood that is 
>enough to set the mediaproxy modules parameters as written in the site, 
>something like:
> 
> ice_candidate="high-priority"
> ice_candidate_avp="$avp(s:ice_priority)"
> 

The AVP is meant to be used for fine grained control, the ice_candidate module 
parameter should be enough in most cases.

> It is enough to have these settings?
> The rest will be done by MediaProxy and OpenSIPs automatically?
> 

What do you mean by 'the rest' ? If you client is offering ICE and 
OpenSIPS/MediaProxy are mangling the signaling, that setting will make 
MediaProxy modify the SDP in such a way that ICE is not broken.

If you want to really test ICE you'll want to set the ice_candidate parameter to 
low-priority, otherwise chances are MediaPRoxy will always be used.


Regards,

--
Saúl Ibarra Corretgé
AG Projects




_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110623/254e4182/attachment.htm>


More information about the Users mailing list