[Asterisk-Users] SIP clients and double NAT

asterisk at mazone.info asterisk at mazone.info
Tue Jan 25 14:25:14 MST 2005


Hi Asterisk users

 

I have a problem with a configuration as shown in the diagram


 

+-----------------+

| PBX/STUN server |

+-----------------+

        |

        |

        |

+-----------------+

| FIREWALL & NAT  |

+-----------------+

        |

        |

        |

+-----------------+

| PUBLIC INTERNET |

+-----------------+

        |

        |

        |

+-----------------+

| FIREWALL & NAT  |

+-----------------+

        |

        |

        |

+-----------------+

|   SIP CLIENT    |

+-----------------+

 

 

Chanel configuration as follows in sip.conf

 

[2103]

type=friend

context=limited

username=2103

secret=XXXXXXXXXX

callerid="Hayetaipaq" <2103>

calleridnum=2103

host=dynamic

nat=yes

disallow=all

allow=gsm

allow=ulaw

allow=alaw

mailbox=2103

 

It happens to work quite well while the client connects directly to a public
Ip addressing schema, but when the client is behind a second NAT I only have
one way voice either outgoing or incoming but never both at the same time.

 

Does an STUN server will solve the problem ??? Is it possible to use a third
party STUN server outside the PBX network?

 

Thanks in advance asterisk users!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050125/3771a665/attachment.htm


More information about the asterisk-users mailing list