[asterisk-dev] STUN support in chan_sip revisited

Kevin P. Fleming kpfleming at digium.com
Tue Aug 10 06:12:41 CDT 2010


On 08/10/2010 05:01 AM, Klaus Darilion wrote:
> 
> 
> Am 09.08.2010 23:25, schrieb David Vossel:
>> 2. Add STUN support for detecting external network changes.  This will include a new res module call something like "res_stun.c" which will act as a STUN client
> 
> Will this new module be able to send/receive STUN messages on sockets 
> used by other modules, or will it use a dedicated socket?

The generic STUN code already works in the way that you propose (the
user of the API provides the socket to be used). This new module will
use its own socket; maybe a better name would be 'res_stun_monitor' or
something like that, to indicate that it's not really a STUN
implementation, it's a particular usage of the existing STUN implementation.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list