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:
> 
> [globals](+)
> test-global => need-a-plus-sign
> .........
[...]
> Category addition requested, but category 'globals' does not exist,
> line 1 of /etc/asterisk/exts/gvoice.exten.conf

Your #include should come after your [globals] section in
extensions.conf.

From doc/configuration.txt:  "The content of the other file will be
included at the row that the #include statement occurred."

So putting your include before your main [globals] puts the
[globals](+) in first.

-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0

Attachment: signature.asc
Description: PGP signature

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

Reply via email to