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 "8888" 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"><<a href="mailto:mytemike72@gmail.com" target="_blank">mytemike72@gmail.com</a>></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's...<br>
<br>
Regards,<br>
Mike.<br>
<br>
<br>
2012/5/30 Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>>:<br>
> Make sure that the start_dtmf is on the correct leg. I suggested putting it<br>
> on the b leg, but this example sets it on the a leg. Try it either way to<br>
> make sure.<br>
> -MC<br>
><br>
><br>
> On Wed, May 30, 2012 at 5:08 AM, Michael Lutz <<a href="mailto:mytemike72@gmail.com">mytemike72@gmail.com</a>> wrote:<br>
>><br>
>> If your outbound provider does not support RFC2833 (DTMF via SIP Info<br>
>> messages) you need to explicitly set the outbound leg to 'listen' for<br>
>> DTMF tones using the start_dtmf dialplan command.<br>
>> As you originate, there is no real dialplan, you can set it using the<br>
>> "execute_on_answer"in inside the originate command like:<br>
>><br>
>> originate<br>
>> {execute_on_answer=start_dtmf,ignore_early_media=true}sofia/gateway/trunk_1/0860216060<br>
>> 8888<br>
>><br>
>><br>
>> Regards,<br>
>> Mike.<br>
>><br>
>> 2012/5/29 Michael Collins <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>>:<br>
>> > You may need explicitly to listen for inband DTMFs.Try adding <action<br>
>> > application="start_dtmf"> to extension 8888 and retest.<br>
>> > -MC<br>
>> ><br>
>> ><br>
>> > On Thu, May 24, 2012 at 8:27 PM, Chaiyawut Sookplang<br>
>> > <<a href="mailto:chaiyawut.so@gmail.com">chaiyawut.so@gmail.com</a>> wrote:<br>
>> >><br>
>> >> I want to make an automatic IVR call using originate command. I issued<br>
>> >> command<br>
>> >><br>
>> >> "originate {ignore_early_media=true}sofia/gateway/trunk_1/0860216060<br>
>> >> 8888"<br>
>> >><br>
>> >> and then I found that DTMF from the receiver side couldn't be<br>
>> >> detected. On the other hand, if I call to extension 8888, IVR and DTMF<br>
>> >> work fine.<br>
>> ><br></blockquote></div><br>