[Asterisk-Users] how to add stun functionality in asterisk
Administrator TOOTAI
admin at tootai.net
Tue Feb 21 15:22:24 MST 2006
Olle E Johansson a écrit :
>
> 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.
>
> I've been trying to find anything we can use with a good license, or
> just a
> good Linux command-line client. Could not compile most of them on my
> systems...
>
> Anyone with any ideas?
>
> If there's no compatible libraries, we could possibly provide hooks
> for external programs.
Ekiga uses OPAL
--
Daniel
More information about the asterisk-users
mailing list