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

2010-02-11 Thread sean darcy
Kevin P. Fleming wrote: > sean darcy wrote: > >> OK, now clear on suffix v. prefix ( Doh! ) and having RTFM, >> >> I have extensions.conf: >> >> [general] >> >> #include exts/gvoice.exten.conf >> >> >> static=yes >> writeprotect=no >> autofallthrough=yes >> >> [globals] >> pstnli

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

2010-02-11 Thread Kevin P. Fleming
sean darcy wrote: > OK, now clear on suffix v. prefix ( Doh! ) and having RTFM, > > I have extensions.conf: > > [general] > > #include exts/gvoice.exten.conf > > > static=yes > writeprotect=no > autofallthrough=yes > > [globals] > pstnline => DAHDI/4 > ... > > and e

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

2010-02-11 Thread C. Chad Wallace
At 6:48 PM on 11 Feb 2010, sean darcy wrote: > OK, now clear on suffix v. prefix ( Doh! ) and having RTFM, > > I have extensions.conf: > > [general] > > #include exts/gvoice.exten.conf [...] > [globals] > pstnline => DAHDI/4 > ... > > and exts/gvoice.exten.conf: > >

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

2010-02-11 Thread sean darcy
Olle E. Johansson wrote: > 11 feb 2010 kl. 08.49 skrev Ron Arts: > >> Op 11-02-10 03:42, sean darcy schreef: >>> 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 i

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

2010-02-11 Thread Olle E. Johansson
11 feb 2010 kl. 08.49 skrev Ron Arts: > Op 11-02-10 03:42, sean darcy schreef: >> 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 parti

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

2010-02-11 Thread Administrator TOOTAI
sean darcy a écrit : > [...] >> 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.c

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

2010-02-10 Thread Ron Arts
Op 11-02-10 03:42, sean darcy schreef: > 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

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

2010-02-10 Thread sean darcy
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 variou

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

2010-02-10 Thread Kevin P. Fleming
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 the

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

2010-02-10 Thread sean darcy
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 cont