[asterisk-dev] [Code Review] Add #includeif statement

Paul Belanger pabelanger at digium.com
Wed Oct 5 10:06:20 CDT 2011


On 11-10-05 10:55 AM, Grzegorz Pycia wrote:
>>>> One of the main reasons #includeif / #sinclude is being suggested is to
>>>> help
>>>> an administrator, who understands the differences between the two, cut
>>>> down
>>>> on the amount of files that needs to be managed (even if they are empty).
>>>
>>> If that's your intent, why not just use the file globbing already in
>>> the source, i.e.
>>> #include sippeers-*.conf
>>>
>> I can try again, but I was not able to get this working.  The module would
>> still fail to load.
>
> Seems to work it needs one file to be present, so you can use some as
> place holder.
>
This is the exact issue I want to fix.

-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-dev mailing list