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

Karl Fife karlfife at gmail.com
Tue Mar 23 16:30:13 CDT 2010


I see.

----- Original Message ----- 
From: "Steve Edwards" <asterisk.org at sedwards.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Tuesday, March 23, 2010 4:06 PM
Subject: Re: [asterisk-users] permit/deny in sip.conf iax.conf


>> 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.

That makes sense.  Thanks for the clarification.
I'll call my global template [colonel] so there's no confusion :-)
-K





More information about the asterisk-users mailing list