[asterisk-users] What is worng with that include in contrast to the example

Doug Lytle support at drdos.info
Tue Sep 16 11:08:14 CDT 2008


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."




More information about the asterisk-users mailing list