[asterisk-users] Extensions.conf changed but not take effect

Emanuele Carbone carbeman at gmail.com
Wed Mar 10 03:56:52 CST 2010


check the Goto cmd syntax

2010/3/10 Zhang Shukun <bitzsk at gmail.com>

> hi, All
>
> one thing confused me a long time.
> when i change the extensions.conf file. why not take effects after
> restart the asterisk? details as follow:
>
> my dailplan is :
>
> [95040]
>
> exten => _95040XXXXX,1,Set(CALLINNUM=${CALLERID(dnid)})
> exten => _95040XXXXX,n(start),Answer
> exten => _95040XXXXX,n(welcome),Background(${welcomefile},,123)
> ...
>
> exten => i,1,Playback(invalid)
> exten => i,2,Goto(${CALLINNUM},welcome)
>
>
> first, i have changed  _95040XXXXXX  to _95040XXXXX ,  but when excute
>
> exten => i,2,Goto(${CALLINNUM},welcome)
>
> cli error message as follow:
>
>  -- Executing [s at extinvalid:2] Goto("SIP/1000-00000005",
> "95040,_95040XXXXXX,welcome") in new stack
> [Mar 10 17:17:27] NOTICE[5057]: pbx.c:3731 pbx_extension_helper:
> Cannot find extension '_95040XXXXXX' in context '95040'
> [Mar 10 17:17:27] WARNING[5057]: pbx.c:9602 pbx_parseable_goto:
> Priority 'welcome' must be a number > 0, or valid label
>
> do you know what's wrong? does asterisk have some buffer or cache
> files? although i change but read the old file?
>
> thank you very much!
>
> --
> Best regards,
> Sucan
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100310/73d940d3/attachment.htm 


More information about the asterisk-users mailing list