Julien Claassen
2008-Sep-16 15:44 UTC
[asterisk-users] What is worng with that include in contrast to the example
Hello!
I'm currently rebuilding my dialplan. Now I have the following
[Official]
;statements
[Extern]
include => Official|8:00-18:00|mon-fri|*|*
;other statements
when I want to reload the dialplan asterisk tells me:
CLI >> [Sep 16 17:38:10] WARNING[5125]: pbx.c:7981
ast_context_verify_includes: Context 'Extern' tries to include
nonexistent
context 'Official|8:00-18:00|mon-fri|*|*'
In the examples of the extensions.conf I found this though:
;include => weeknights|17:02-8:58|mon-fri|*|*
So what is the difference, or isn't the example supposed to be directly
used
like that?
Thanks for any good suggestions!
Kindest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: =======http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: ======http://www.juliencoder.de
Doug Lytle
2008-Sep-16 16:08 UTC
[asterisk-users] What is worng with that include in contrast to the example
Julien Claassen wrote:> [Extern] > include => Official|8:00-18:00|mon-fri|*|* > ;other statements > when I want to reload the dialplan asterisk tells me: > CLI >> [Sep 16 17:38:10] WARNING[5125]: pbx.c:7981 > ast_context_verify_includes: Context 'Extern' tries to include nonexistent > context 'Official|8:00-18:00|mon-fri|*|*' >Under Asterisk 1.4.20.1 I tried it and this works: Registered extension context 'default' -- Including context 'incoming|8:00-18:00|mon-fri|*|*' in context 'default' -- Registered extension context 'incoming' If you are using 1.6.x, then the delimiter has changed from | to , I believe. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Julien Claassen
2008-Sep-16 16:49 UTC
[asterisk-users] What is worng with that include in contrast to the example
Thanks!
That did it.
Plea for documentation update...
Kidnest regards
Julien
--------
Music was my first love and it will be my last (John Miles)
======== FIND MY WEB-PROJECT AT: =======http://ltsb.sourceforge.net
the Linux TextBased Studio guide
======= AND MY PERSONAL PAGES AT: ======http://www.juliencoder.de