check the Goto cmd syntax<br><br><div class="gmail_quote">2010/3/10 Zhang Shukun <span dir="ltr"><<a href="mailto:bitzsk@gmail.com">bitzsk@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi, All<br>
<br>
one thing confused me a long time.<br>
when i change the extensions.conf file. why not take effects after<br>
restart the asterisk? details as follow:<br>
<br>
my dailplan is :<br>
<br>
[95040]<br>
<br>
exten => _95040XXXXX,1,Set(CALLINNUM=${CALLERID(dnid)})<br>
exten => _95040XXXXX,n(start),Answer<br>
exten => _95040XXXXX,n(welcome),Background(${welcomefile},,123)<br>
...<br>
<br>
exten => i,1,Playback(invalid)<br>
exten => i,2,Goto(${CALLINNUM},welcome)<br>
<br>
<br>
first, i have changed _95040XXXXXX to _95040XXXXX , but when excute<br>
<br>
exten => i,2,Goto(${CALLINNUM},welcome)<br>
<br>
cli error message as follow:<br>
<br>
-- Executing [s@extinvalid:2] Goto("SIP/1000-00000005",<br>
"95040,_95040XXXXXX,welcome") in new stack<br>
[Mar 10 17:17:27] NOTICE[5057]: pbx.c:3731 pbx_extension_helper:<br>
Cannot find extension '_95040XXXXXX' in context '95040'<br>
[Mar 10 17:17:27] WARNING[5057]: pbx.c:9602 pbx_parseable_goto:<br>
Priority 'welcome' must be a number > 0, or valid label<br>
<br>
do you know what's wrong? does asterisk have some buffer or cache<br>
files? although i change but read the old file?<br>
<br>
thank you very much!<br>
<br>
--<br>
Best regards,<br>
Sucan<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>