With the STUN server, I can ring the NATed phone!

But, I can hear the NATed phone with the public phone, and NATED phone can’t hear the public phone!

 

 

Cordialement,

BERGANZ François

P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.

 

De : Asim Riaz [mailto:ariaz78@gmail.com]
Envoyé : vendredi 20 février 2009 10:55
À : BERGANZ François
Cc : Daniel-Constantin Mierla; users@lists.kamailio.org
Objet : Re: [Kamailio-Users] NAT traversal

 

 

On Fri, Feb 20, 2009 at 9:53 AM, Asim Riaz <ariaz78@gmail.com> wrote:

 

On Fri, Feb 20, 2009 at 9:48 AM, Asim Riaz <ariaz78@gmail.com> wrote:

 

On Fri, Feb 20, 2009 at 9:40 AM, BERGANZ François <francois@acropolistelecom.net> wrote:

I will try to install my stun server.

 

If I install my stun server, when I will do save("location"), it will save the good IP and port in the db?

yes, because UAs will know their public IPs using STUN.


you can also use NATHELPER Module in KAMAILIO to fix NAT e.g

 if(nat_uac_test("1")) {
           fix_nated_register();

               fix_nated_contact();

            force_rport();

    }







Thanks,

Asim




Cordialement,
BERGANZ François


http://www.acropolistelecom.net

 Pensez à lP'Environnement, n'imprimez ce mail que si nécessaire.

-----Message d'origine-----
De : Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Envoyé : vendredi 20 février 2009 10:22
À : BERGANZ François
Cc : users@lists.kamailio.org
Objet : Re: [Kamailio-Users] NAT traversal


Hello,

On 02/20/2009 10:03 AM, BERGANZ François wrote:
>
> Hello,
>
> Is it possible to do NAT traversal without RTP-PROXY… ?
>
> If yes, have you an example?
>
if the phones are not behind symmetric NAT and they have STUN support,
then you have to install a stun server or use a public one and nothing
else to do on your sip server. It is so called client-side NAT traversal.

Cheers,
Daniel

> Cordialement,
>
> BERGANZ François
>
> P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users@lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

--
Daniel-Constantin Mierla
http://www.asipto.com


_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users