<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>This one is pretty clear &#8211; asterisk is
expecting to go to a valid context and tag.&nbsp; You are dialing 9504012345 and the
goto is trying to go to 9504012345,welcome or 9504012345,3 when it should
actually go to ${CALLINNUM}:0:5 to go to 95040,welcome for any call starting
with 95040.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Emanuele Carbone<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, March 10, 2010
3:57 AM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">Asterisk
 Users Mailing List - Non-Commercial Discussion</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [asterisk-users] Extensions.conf
changed but not take effect</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>check the Goto cmd syntax<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>2010/3/10 Zhang Shukun &lt;<a href="mailto:bitzsk@gmail.com">bitzsk@gmail.com</a>&gt;<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>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 =&gt; _95040XXXXX,1,Set(CALLINNUM=${CALLERID(dnid)})<br>
exten =&gt; _95040XXXXX,n(start),Answer<br>
exten =&gt; _95040XXXXX,n(welcome),Background(${welcomefile},,123)<br>
...<br>
<br>
exten =&gt; i,1,Playback(invalid)<br>
exten =&gt; i,2,Goto(${CALLINNUM},welcome)<br>
<br>
<br>
first, i have changed &nbsp;_95040XXXXXX &nbsp;to _95040XXXXX , &nbsp;but when
excute<br>
<br>
exten =&gt; i,2,Goto(${CALLINNUM},welcome)<br>
<br>
cli error message as follow:<br>
<br>
&nbsp;-- Executing [s@extinvalid:2] Goto(&quot;SIP/1000-00000005&quot;,<br>
&quot;95040,_95040XXXXXX,welcome&quot;) 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 &gt; 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>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <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>
&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>