<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=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (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]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:0cm;
        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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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><span style='color:#1F497D'>Yes, Darren it  is an analog
line that is connected&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Here is my code now<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>&lt;extension
name=&quot;public_did&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>      &lt;condition
field=&quot;destination_number&quot; expression=&quot;^(0283472006)$&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>            &lt;action
application=&quot;set&quot; data=&quot;call_timeout=60&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:red'>            &lt;action
application=&quot;start_dtmf&quot; data=&quot;true&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;set&quot; data=&quot;RECORD_TITLE=Recording
${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d
%H:%M)}&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;set&quot; data=&quot;RECORD_COPYRIGHT=(c) 2008 Diagnostic
Devices, Inc.&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action application=&quot;set&quot;
data=&quot;RECORD_SOFTWARE=FreeSwitch&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;set&quot; data=&quot;RECORD_ARTIST=Ian Curtis&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;set&quot; data=&quot;RECORD_COMMENT=Love will tear us
apart&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;set&quot; data=&quot;RECORD_DATE=${strftime(%Y-%m-%d
%H:%M)}&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;set&quot; data=&quot;RECORD_STEREO=false&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>     &lt;action
application=&quot;set&quot; data=&quot;playback_terminators=#*&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;record_session&quot; data=&quot;C:/Program
Files/FreeSWITCH/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;action
application=&quot;set&quot; data=&quot;ringback=${us-ring}&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'> &lt;action
application=&quot;transfer&quot; data=&quot;5000 XML default&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>         &lt;!--    &lt;action
application=&quot;bridge&quot; data=&quot;user/1207@$${domain}&quot;/&gt;
--&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>      &lt;/condition&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>    &lt;/extension&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>I added the line you suggested
and at least it now recognizes that a number is getting pushed. What it doesn&#8217;t
do is recognize which number. So no matter which number I hit it would say &#8220;invalid
entry&#8221; but that is better than nothing&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Anyone know how to fix the next
thing&#8230;<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>The actual keys not being recognized?<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><b><span style='color:#1F497D'>Ilan Perez<o:p></o:p></span></b></p>

</div>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>On Behalf Of </b>Darren Schreiber<br>
<b>Sent:</b> 07 August 2008 23:10<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> Re: [Freeswitch-users] DTMF recognition and nbound calls<o:p></o:p></span></p>

</div>

</div>

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

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>For problem #1 you probably need to use the DTMF detection
application. The symptoms your describing match and your code is missing this.</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal><strong><span style='font-size:12.0pt'>&nbsp;</span></strong><strong><span
style='font-family:"Calibri","sans-serif"'><o:p></o:p></span></strong></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Try adding:</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&lt;action application=&quot;start_dtmf&quot;
data=&quot;true&quot;/&gt;</span><span style='font-size:12.0pt;font-family:
"Times New Roman","serif"'><o:p></o:p></span></p>

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

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

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Problem #2, does this occur on an analog line?</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

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

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

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

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Ilan Perez
[mailto:iperez@diagnosticdev.com] <br>
<b>Sent:</b> Wednesday, August 06, 2008 6:30 PM<br>
<b>To:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Subject:</b> [Freeswitch-users] DTMF recognition and nbound calls</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

<p class=MsoNormal>Dear All,<o:p></o:p></p>

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

<p class=MsoNormal>I have setup my inbound extension (in the public.xml)
diaplan to transfer to extension 5000 <span style='font-family:Wingdings'>à</span>
the demo IVR<o:p></o:p></p>

<p class=MsoNormal>The recordings come through nicely. From an internal call
the demo fine including DTMF recognition but with inbound calls from external
source&#8230;ie pstn line<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>Two problems occur.<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt'>1.<span style='font-size:
7.0pt;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>There is no DTMF recognition<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-18.0pt'>2.<span style='font-size:
7.0pt;font-family:"Times New Roman","serif"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>If I hangup during the playback the system still plays out the whole IVR<o:p></o:p></p>

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

<p class=MsoNormal>Here is my code for the extension.<o:p></o:p></p>

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

<p class=MsoNormal>Hopefully someone can help me out<o:p></o:p></p>

<p class=MsoNormal>&lt;extension name=&quot;public_did&quot;&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition
field=&quot;destination_number&quot; expression=&quot;^(0283472006)$&quot;&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;action application=&quot;set&quot; data=&quot;call_timeout=60&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;action application=&quot;set&quot; data=&quot;group_confirm_file=C:/Program
Files/FreeSWITCH/sounds/en/us/callie/voicemail/8000/vm-press.wav&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;action application=&quot;set&quot;
data=&quot;group_confirm_key=4&quot;/&gt;<o:p></o:p></p>

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

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;RECORD_TITLE=Recording ${destination_number} ${caller_id_number}
${strftime(%Y-%m-%d %H:%M)}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;RECORD_COPYRIGHT=(c)
2008 Diagnostic Devices, Inc.&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;RECORD_SOFTWARE=FreeSwitch&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;RECORD_ARTIST=Ian Curtis&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;RECORD_COMMENT=Love will tear us apart&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;RECORD_STEREO=false&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;set&quot; data=&quot;playback_terminators=#*&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action
application=&quot;record_session&quot; data=&quot;C:/Program
Files/FreeSWITCH/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav&quot;/&gt;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;ringback=${us-ring}&quot;/&gt;<o:p></o:p></p>

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

<p class=MsoNormal>&nbsp;&lt;action application=&quot;transfer&quot;
data=&quot;5000 XML default&quot;/&gt; <o:p></o:p></p>

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

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!--&nbsp;&nbsp;&nbsp;
&lt;action application=&quot;bridge&quot;
data=&quot;user/1207@$${domain}&quot;/&gt; --&gt;<o:p></o:p></p>

<p class=MsoNormal>&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><b><o:p>&nbsp;</o:p></b></p>

<p class=MsoNormal><b>Anyone?<o:p></o:p></b></p>

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

<p class=MsoNormal><b>Ilan Perez<o:p></o:p></b></p>

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

</div>

</body>

</html>