The originate creates one leg and connects it to another leg. In this example:<br><br>{execute_on_answer=start_dtmf,ignore_early_media=true}sofia/gateway/trunk_1/0860216060 8888<br><br>Everything up to 8888 creates the A leg. The &quot;8888&quot; is the B leg. <br>
<br>-MC<br><br><div class="gmail_quote">On Wed, May 30, 2012 at 9:37 AM, Michael Lutz <span dir="ltr">&lt;<a href="mailto:mytemike72@gmail.com" target="_blank">mytemike72@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Michael,<br>
<br>
Can you explain a bit more? If you would initiate an outbound call<br>
using an originate api call, there is only one leg? How would you<br>
specify to listen to the b-leg, other than this?<br>
<br>
<br>
It might explain some issues I have recognizing (valid) dtmf&#39;s...<br>
<br>
Regards,<br>
Mike.<br>
<br>
<br>
2012/5/30 Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;:<br>
&gt; Make sure that the start_dtmf is on the correct leg. I suggested putting it<br>
&gt; on the b leg, but this example sets it on the a leg. Try it either way to<br>
&gt; make sure.<br>
&gt; -MC<br>
&gt;<br>
&gt;<br>
&gt; On Wed, May 30, 2012 at 5:08 AM, Michael Lutz &lt;<a href="mailto:mytemike72@gmail.com">mytemike72@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; If your outbound provider does not support RFC2833 (DTMF via SIP Info<br>
&gt;&gt; messages) you need to explicitly set the outbound leg to &#39;listen&#39; for<br>
&gt;&gt; DTMF tones using the start_dtmf dialplan command.<br>
&gt;&gt; As you originate, there is no real dialplan, you can set it using the<br>
&gt;&gt; &quot;execute_on_answer&quot;in inside the originate command like:<br>
&gt;&gt;<br>
&gt;&gt; originate<br>
&gt;&gt; {execute_on_answer=start_dtmf,ignore_early_media=true}sofia/gateway/trunk_1/0860216060<br>
&gt;&gt; 8888<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Mike.<br>
&gt;&gt;<br>
&gt;&gt; 2012/5/29 Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;:<br>
&gt;&gt; &gt; You may need explicitly to listen for inband DTMFs.Try adding &lt;action<br>
&gt;&gt; &gt; application=&quot;start_dtmf&quot;&gt; to extension 8888 and retest.<br>
&gt;&gt; &gt; -MC<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Thu, May 24, 2012 at 8:27 PM, Chaiyawut Sookplang<br>
&gt;&gt; &gt; &lt;<a href="mailto:chaiyawut.so@gmail.com">chaiyawut.so@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I want to make an automatic IVR call using originate command. I issued<br>
&gt;&gt; &gt;&gt; command<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &quot;originate {ignore_early_media=true}sofia/gateway/trunk_1/0860216060<br>
&gt;&gt; &gt;&gt; 8888&quot;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; and then I found that DTMF from the receiver side couldn&#39;t be<br>
&gt;&gt; &gt;&gt; detected. On the other hand, if I call to extension 8888, IVR and DTMF<br>
&gt;&gt; &gt;&gt; work fine.<br>
&gt;&gt; &gt;<br></blockquote></div><br>