<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:m="http://schemas.microsoft.com/office/2004/12/omml" 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 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

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

<div class=Section1>

<p class=MsoNormal>I am new to Freewitch and VOIP in general so I apologize for
the dumb questions in advance.&nbsp; Which of course makes it alright!<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I successfully downloaded and installed CentOS and compiled
and installed Freeswitch.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>I have 3 polycom 501 phones connected and working.&nbsp; They can
dial most of the features from the default dialplan, like conferencing, MOH,
etc.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>When I dial 1 immediately goes to busy signal and has this
output on the CLI.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>2008-04-19 05:24:38 [NOTICE] switch_channel.c:531
switch_channel_set_name() New Channel sofia/default/1002@10.0.2.117
[45bf1fa0-66cc-4f1f-9e8d-6d45bd8ef391]<o:p></o:p></p>

<p class=MsoNormal>2008-04-19 05:24:38 [INFO] mod_dialplan_xml.c:223
dialplan_hunt() Processing 1002-&gt;1@default<o:p></o:p></p>

<p class=MsoNormal>2008-04-19 05:24:38 [NOTICE] switch_ivr.c:1032
switch_ivr_session_transfer() Transfer sofia/default/1002@10.0.2.117 to
enum[1@default]<o:p></o:p></p>

<p class=MsoNormal>2008-04-19 05:24:38 [INFO] switch_core_state_machine.c:113
switch_core_standard_on_ring() No Route, Aborting<o:p></o:p></p>

<p class=MsoNormal>2008-04-19 05:24:38 [NOTICE] switch_core_state_machine.c:114
switch_core_standard_on_ring() Hangup sofia/default/1002@10.0.2.117 [CS_RING]
[NO_ROUTE_DESTINATION]<o:p></o:p></p>

<p class=MsoNormal>2008-04-19 05:24:38 [NOTICE] switch_core_session.c:748
switch_core_session_thread() Session 61 (sofia/default/1002@10.0.2.117) Ended<o:p></o:p></p>

<p class=MsoNormal>2008-04-19 05:24:38 [NOTICE] switch_core_session.c:750
switch_core_session_thread() Close Channel sofia/default/1002@10.0.2.117
[CS_HANGUP]<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>This should not be the case because the regular expression
below in the default plan should pick this up.&nbsp; I change the expression to &quot;^9(10[01][0-9])$&quot;
and then I dialed 9 and the extension and it worked!<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Does anyone have an idea why that is happening?&nbsp; Is there
some setting on the phone that makes it recognize 1 as something else?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Here is the dialplan for local extensions.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp; &lt;extension
name=&quot;Local_Extension&quot;&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition
field=&quot;destination_number&quot; expression=&quot;^(10[01][0-9])$&quot;&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;set&quot; data=&quot;dialed_ext=$1&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;export&quot; data=&quot;dialed_ext=$1&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition
field=&quot;destination_number&quot;
expression=&quot;^${caller_id_number}$&quot;&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;set&quot;
data=&quot;voicemail_authorized=${sip_authorized}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;answer&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;voicemail&quot; data=&quot;check default $${domain}
${dialed_ext}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;bind_meta_app&quot; data=&quot;1 a a execute_extension::dx
XML features&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;bind_meta_app&quot; data=&quot;2 a a
record_session::$${base_dir}/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;bind_meta_app&quot; data=&quot;3 a a execute_extension::cf
XML features&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;set&quot; data=&quot;transfer_ringback=${us-ring}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;set&quot; data=&quot;call_timeout=30&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--
&lt;anti-action application=&quot;set&quot;
data=&quot;sip_exclude_contact=${network_addr}&quot;/&gt; --&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;anti-action
application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,BUSY,USER_BUSY,NO_ANSWER,TIMEOUT,NO_ROUTE_DESTINATION&quot;/&gt;
--&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;db&quot;
data=&quot;insert/call_return/${dialed_ext}/${caller_id_number}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;db&quot;
data=&quot;insert/last_dial_ext/${dialed_ext}/${uuid}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;bridge&quot;
data=&quot;user/${dialed_ext}@$${domain}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;answer&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&lt;anti-action
application=&quot;send_display&quot; data=&quot;Voicemail for
${dialed_ext}&quot;/&gt;--&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;anti-action
application=&quot;voicemail&quot; data=&quot;default $${domain}
${dialed_ext}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal style='text-autospace:none'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Bryan Reynolds<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>