<div dir="ltr">You probably need to run application start_dtmf <meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf</a><div>

<a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf"></a>to detect the inband sounds from the recording.</div><div><br clear="all"><div dir="ltr"><span style="font-family:Verdana, Arial, Helvetica, sans-serif"><span style="font-size:small">-Avi Marcus</span><br>

</span></div>
<br><br><div class="gmail_quote">On Tue, Jul 5, 2011 at 9:08 PM, Yungwei Chen <span dir="ltr">&lt;<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Thanks for your feedback. Using originate along with loopback works.<u></u><u></u></span></p><p class="MsoNormal">

<span style="font-size:11.0pt;color:#1F497D">However, DTMF input in /usr/local/freeswitch/sounds/answer.wav is always ignored.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Note /usr/local/freeswitch/sounds/answer.wav is an empty recording file with several DTMF input.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael Collins<br>

<b>Sent:</b> Monday, June 13, 2011 3:59 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] originate a call to an extension and then connect to another extension<u></u><u></u></span></p></div>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">originate loopback/question answer<u></u><u></u></p><div><p class="MsoNormal">On Mon, Jun 13, 2011 at 12:08 PM, Yungwei Chen wrote:<u></u><u></u></p>

<div><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I don&#39;t mean registered users. I mean extensions defined in conf/dialplan/default/my_exten.xml as shown below.  </span><u></u><u></u></p><p class="MsoNormal">

<span style="font-size:11.0pt;color:#1F497D">In this case, I can do: originate sofia/internal/answer question?</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">  &lt;extension name=&quot;question&quot;&gt;</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">      &lt;condition field=&quot;destination_number&quot; expression=&quot;^questiony$&quot;&gt;</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">        &lt;action application=&quot;answer&quot; /&gt;</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">        &lt;action application=&quot;playback&quot; data=&quot;/usr/local/freeswitch/sounds/question.wav&quot; /&gt;</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">      &lt;/condition&gt;</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">  &lt;/extension&gt;</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">  &lt;extension name=&quot;answer&quot;&gt;</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">      &lt;condition field=&quot;destination_number&quot; expression=&quot;^answer$&quot;&gt;</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">        &lt;action application=&quot;answer&quot; /&gt;</span><u></u><u></u></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">        &lt;action application=&quot;playback&quot; data=&quot;/usr/local/freeswitch/sounds/answer.wav&quot; /&gt;</span><u></u><u></u></p><p class="MsoNormal">

<span style="font-size:11.0pt;color:#1F497D">      &lt;/condition&gt;</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">  &lt;/extension&gt;</span><u></u><u></u></p><p class="MsoNormal">

<span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael Collins<br>

<b>Sent:</b> Monday, June 13, 2011 1:37 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] originate a call to an extension and then connect to another extension</span><u></u><u></u></p></div>

<div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">If you mean you want to call x1000 and then when it answers, immediately dial x1001? If so it&#39;s just this, assuming these are registered users:<u></u><u></u></p>

<div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">originate user/1000 1001<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">If you want to call 1001 first then do this:<u></u><u></u></p>

</div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">originate user/1001 1000<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">

-MC<u></u><u></u></p><div><div><p class="MsoNormal">On Mon, Jun 13, 2011 at 10:49 AM, Yungwei Chen wrote:<u></u><u></u></p><p class="MsoNormal">Hi,<br><br>I am wondering if it&#39;s possible to originate a call to an extension and then connect to another extension. If so, how does the the dialstring look like? Thanks.<br>

<br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>

UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p>

</div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>

<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>

<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>