[asterisk-users] permit/deny in sip.conf iax.conf

Steve Edwards asterisk.org at sedwards.com
Tue Mar 23 16:06:29 CDT 2010


> Karl Fife wrote:
>
>> Naturally I can accomplish this using templates, but it DOES seem a bit 
>> odd since [general] is in essence ALREADY a 'template' of sorts for all 
>> parameters not otherwise specified.

On Tue, 23 Mar 2010, Kevin P. Fleming wrote:

> You should use templates; the [general] section never should been an 
> implicit template, but it has been that way forever so we can't change 
> it. The [general] section *should* have only been for settings that 
> apply to the SIP channel driver as a whole, and *not* for providing 
> defaults to entities configured for the driver. Unfortunately, it has 
> both purposes.

It may not be as intended, but from a "user" standpoint, it seems logical 
and convenient to establish "policy" in [general] and make exceptions in 
the entities as needed.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list