Kevin P. Fleming wrote: > 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. > Well Dialplan reloaded. == Parsing '/etc/asterisk/extensions.conf': == Found .................. == Parsing '/etc/asterisk/exts/gvoice.exten.conf': == Found
cat exts/gvoice.exten.conf [+globals] test-global => need-a-plus-sign ......... but no test-global in dialplan show globals :( sean -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users