I'm just starting with asterisk 1.6 on my ubuntu 9.10 host and I have a problem using time-controlled includes in the dialplan.
I'm using the following simple code:
include => daytime|09:00-17:00|mon-fri|*|*
include => voicemail
exten => 2001,1,Answer()
exten => 2001,2,NoOp(daytime)
exten => 2001,3,Playback(hello-world)
exten => 2001,4,Hangup()
exten => 2001,1,VoiceMail(2001,u)
When doing a "dialplan reload" I get the following error message:
[Feb 3 23:08:44] WARNING: pbx.c:9499 ast_context_verify_includes: Context 'default' tries to include nonexistent context 'daytime|09:00-17:00|mon-fri|*|*'
Without the time-condition " |09:00-23:40|mon-fri|*|* " there is no problem.
Can anybody help?