[OpenSIPS-Users] 2 UACs behind the same nat registering on opensips

2010-05-11 Thread Roberto Ovani
Hello,
I am in front of the following scenario

- 2 clients in the same LAN (behind NAT) (Sjphone1 and sjphone2)

- OPENSIPS on a public ip with installed :
 a) stun support (module stun, primary_ip and alternate_ip, etc...)
 b) turn solution (module nathelper + rtpproxy, rtpproxy_sock, etc)

I need to make the clients talk NOT PASSING through RTPPROXY, but 
talking something-like peer-to-peer.
Every client has THE SAME PUBLIC IP, and they are NOT behind FULL NAT, 
so somehow they can talk in p2p mode.

Has anyone some code as example ? ?

Roberto

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


Re: [OpenSIPS-Users] 2 UACs behind the same nat registering on opensips

2010-05-11 Thread Stefano Pisani
Hello Roberto,
it does not depend on opensips configuration.
Many ATAs have the REINVITE fuction. If the other side audio IP is the 
same than own audio IP, then the ATA
sends a REINVITE with private IP as audio IP.
Many routers have hairpin media function and they are able to routing 
audio packets internally.

There is another way to do that using opensips, but I don't like it.

Stefano

Il 11/05/2010 23:44, Roberto Ovani ha scritto:
 Hello,
 I am in front of the following scenario

 - 2 clients in the same LAN (behind NAT) (Sjphone1 and sjphone2)

 - OPENSIPS on a public ip with installed :
   a) stun support (module stun, primary_ip and alternate_ip, etc...)
   b) turn solution (module nathelper + rtpproxy, rtpproxy_sock, etc)

 I need to make the clients talk NOT PASSING through RTPPROXY, but
 talking something-like peer-to-peer.
 Every client has THE SAME PUBLIC IP, and they are NOT behind FULL NAT,
 so somehow they can talk in p2p mode.

 Has anyone some code as example ? ?

 Roberto

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




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


Re: [OpenSIPS-Users] 2 UACs behind the same nat registering on opensips

2010-05-11 Thread Roberto Ovani
Il mercoledì 12/05/10 00.17, Stefano Pisani ha scritto:
 Hello Roberto,
 it does not depend on opensips configuration.
 Many ATAs have the REINVITE fuction. If the other side audio IP is the
 same than own audio IP, then the ATA
 sends a REINVITE with private IP as audio IP.
 Many routers have hairpin media function and they are able to routing
 audio packets internally.

 There is another way to do that using opensips, but I don't like it.

 Stefano

 Il 11/05/2010 23:44, Roberto Ovani ha scritto:

 Hello,
 I am in front of the following scenario

 - 2 clients in the same LAN (behind NAT) (Sjphone1 and sjphone2)

 - OPENSIPS on a public ip with installed :
a) stun support (module stun, primary_ip and alternate_ip, etc...)
b) turn solution (module nathelper + rtpproxy, rtpproxy_sock, etc)

 I need to make the clients talk NOT PASSING through RTPPROXY, but
 talking something-like peer-to-peer.
 Every client has THE SAME PUBLIC IP, and they are NOT behind FULL NAT,
 so somehow they can talk in p2p mode.

 Has anyone some code as example ? ?

 Roberto

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



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

My router hasn't got any media hairpin feature.
which could be the way to do that using opensips ?
Roberto

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