<div dir="ltr"><div><div><div><div>I believe bind_digit_action (BDA) will do what you need. I think the trick for you is to specify the detection leg and the action leg, that is, where does BDA listen for a DTMF (self, peer, both) and where does it execute the action (again on self, peer, or both). <br><br></div>There are some examples here:<br><a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_digit_action">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_digit_action</a><br><br></div>However, I recommend you set up some simple call bridges where you explicitly set the detect and event action legs differently so that you can see it first hand. Once you have it working in simple cases, like pressing a digit executing a dp app log, then you can move on to more interesting endeavors. It&#39;s been a while, but I recall doing stuff like setting various targets on various legs that printed log lines to the console, kinda like, &quot;Hey, this should be on the b-leg! UUID is &#39;${uuid}&#39;&quot;<br><br></div>Let us know how it goes.<br><br></div>-MC<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 16, 2014 at 2:08 PM, Szeto, Steven <span dir="ltr">&lt;<a href="mailto:steven_szeto@mitel.com" target="_blank">steven_szeto@mitel.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 dir="ltr">If I establish a call between two registered endpoints, and then press a DTMF key, I can see a DTMF key press event from the originator&#39;s call id:<div><br></div><div><div>Freeswitch EventName: [[EVENT-NAME, DTMF]] - CallId: [694eb613-6b97-4197-a951-5288066ffbf5]<span style="white-space:pre-wrap">        </span>()</div><div><br></div><div>GenerateDTMFEvent - CallID: [694eb613-6b97-4197-a951-5288066ffbf5] - TimeStamp: [10/17/2014 01:03:34.993 AM] - DTMF: [5]<span style="white-space:pre-wrap">        </span>()</div><div><br></div></div><div><br></div><div>How can I get equivalent DTMF events on the terminator&#39;s call id? I hear the DTMF key on the phone, but I need to process the keystroke in my own application.</div><div><br></div><div>Can the bind_digit_action application do what I need? If so, can I please get an example?<br clear="all"><div><br></div>-- <br><div dir="ltr"><table style="color:rgb(0,0,0);font-family:&#39;Times New Roman&#39;;font-size:medium" width="500"><tbody><tr><td><p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(0,49,88)"><span style="font-weight:bold">Regards,</span></p><p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:16px;color:rgb(0,49,88)"><span style="font-weight:bold">Steve Szeto</span><br><span style="color:rgb(75,75,75)"><strong>MiContact Center IVR Team</strong></span><br><span style="color:rgb(75,75,75)">Software Design</span><br><br><strong>Phone:<a href="tel:613-592-2122" value="+16135922122" target="_blank">613-592-2122</a></strong><br>Mobile:<br><br><span style="color:rgb(75,75,75)"><strong><img src="http://www.mitel.com/sites/default/files/mitel-logo.jpg"></strong></span><br><br><strong>Mitel</strong><br>350 Legget Drive,<br>Kanata, Ontario, K2K 2W7, Canada<br><br><a href="http://mitel.com/" style="color:rgb(0,49,88)" target="_blank">mitel.com</a><br><a href="mailto:steven.szeto@mitel.com" style="color:rgb(0,49,88)" target="_blank">steven.szeto@mitel.com</a></p><p><a href="http://www.facebook.com/mitel.networks" target="_blank"><img src="http://www.mitel.com/sites/default/files/facebook.png" alt="Facebook" style="margin-right:15px"></a><a href="http://www.twitter.com/Mitel" target="_blank"><img src="http://www.mitel.com/sites/default/files/twitter.png" alt="Twitter" style="margin-right:15px"></a><a href="http://plus.google.com/+mitel" target="_blank"><img src="http://www.mitel.com/sites/default/files/gplus.png" alt="Google Plus" style="margin-right:15px"></a><a href="http://www.linkedin.com/company/mitel" target="_blank"><img src="http://www.mitel.com/sites/default/files/linkedin.png" alt="Linkedin" style="margin-right:15px"></a></p></td></tr></tbody></table></div>
</div></div>

<br>
<font size="1">This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail.  Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message.</font><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><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></blockquote></div><br></div>