[asterisk-users] 1.6.2 : global vars not read/set after #include w/ globals

Kevin P. Fleming kpfleming at digium.com
Wed Feb 10 15:57:15 CST 2010


sean darcy wrote:
> I found out that the [globals] section in extensions.conf is ignored if 
> an #include 'd file has a [globals] section. Is this intended?
> 
> In this particular case, the #include 'd file has a number of contexts 
> for googlevoice.  I'd put various googlevoice variables in there to use 
> in all those contexts. Once I did that all of the global variables set 
> in extensions.conf were ignored.

Context names cannot be duplicated, unless you suffix them with (+) to
allow them to be added together. It does not matter whether it is the
'global' context or any other context.

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



More information about the asterisk-users mailing list