[Asterisk-Users] how to add stun functionality in asterisk

asterisk at anime.net asterisk at anime.net
Tue Feb 21 15:41:45 MST 2006


On Tue, 21 Feb 2006, Olle E Johansson wrote:
> 21 feb 2006 kl. 21.00 skrev Chris Bagnall:
>>> What's the benefit of using stund vs nat=yes in your sip.conf
>>> for that device?  I haven't had any issues behind firewalls
>>> when I enable that option, and no ports are needed to be opened.
>> For some strange reason, even with nat=yes sometimes when a user's IP
>> changes, the phone doesn't realise it and sends another SIP refresh.
>> Asterisk promptly ignores it since there's no registration from that IP.
>> With stun, the phone realises it's IP has changed and sends an invite to
>> asterisk rather than a refresh.
>> I could be wrong, but using stun seems to have improved the nat-related
>> issues some of our customers have had with their home-based phones no end.
> Having a STUN client embedded in Asterisk makes a lot of sense.

http://bugs.digium.com/view.php?id=6373

-Dan



More information about the asterisk-users mailing list