<div dir="ltr">When you&#39;re using inband DTMF have you run start_dtmf first?<div><br></div><div>If you&#39;re using RFC2833 it shouldn&#39;t be needed</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On 13 May 2014 08:02, Helena Garcia-Nieto <span dir="ltr">&lt;<a href="mailto:helena.gnieto@morodo.co.uk" target="_blank">helena.gnieto@morodo.co.uk</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="ES" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Ups, sorry, I changed the name of the var to send the config on the mailing list, but in the server config the names are equal!!!<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Any idea why I am not able to get the DTMFs?<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Helena<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <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>Steven Ayre<br>

<b>Sent:</b> lunes, 12 de mayo de 2014 17:49<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Problems reading DTMFs sent by A<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal">

<u></u> <u></u></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;action application=&quot;play_and_get_digits&quot; data=&quot;2 5 1 7000 #<br>$${base_dir}/conf/outgoingcall.wav $${base_dir}/conf/outgoingcall.wav myvar<br>

\d+&quot;/&gt;</span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&lt;action application=&quot;log&quot; data=&quot;INFO helena2 -1-${mybar}-&quot;/&gt;</span><u></u><u></u></p>

</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Looks like you have a typo here - my<b>v</b>ar vs my<b>b</b>ar</span><u></u><u></u></p>

</div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On 12 May 2014 15:38, Helena Garcia-Nieto &lt;<a href="mailto:helena.gnieto@morodo.co.uk" target="_blank">helena.gnieto@morodo.co.uk</a>&gt; wrote:<u></u><u></u></p>

<p class="MsoNormal">Hi All!<br><br>I am trying to read some DTMFs dialed by A after freeswitch picks the call.<br>My aim is to recollect the DTMFs and create a bridge between the incoming<br>call and the extension he dialed but I am not able to get the dialed DTMFs.<br>

<br>I&#39;ve tried read and play and get digits action with no success. It seems<br>none of the applications I used on the dialplan is able to read the sent<br>dtmfs. I am using it on the public dialplan since the phone is getting to<br>

that dialplan form port 5080. I tried also transferring the call to the<br>default dialplan and using the actions there with no success either.<br><br>                &lt;extension name=&quot;Read Example&quot;&gt;<br>                                &lt;condition field=&quot;destination_number&quot;<br>

expression=&quot;^(334)$&quot;&gt;<br>                                        &lt;action application=&quot;answer&quot;/&gt;<br>                                        &lt;action<br>application=&quot;play_and_get_digits&quot; data=&quot;2 5 1 7000 #<br>

$${base_dir}/conf/outgoingcall.wav $${base_dir}/conf/outgoingcall.wav myvar<br>\d+&quot;/&gt;<br>                                        &lt;action application=&quot;log&quot; data=&quot;INFO<br>helena2 -1-${mybar}-&quot;/&gt;<br>

                                &lt;/condition&gt;<br>                &lt;/extension&gt;<br><br>I&#39;ve traced on the server and I can see the RTP event packet with the digits<br>getting the server but in my console log I can see there were no info got:<br>

<br>2014-05-12 15:01:27.211903 [NOTICE] mod_dptools.c:1225 Channel<br>[sofia/external/1000@XX.XX.XX.XX:5080] has been answered<br>2014-05-12 15:02:02.331453 [INFO] mod_dptools.c:1595 helena2 -1--<br>2014-05-12 15:02:02.331453 [NOTICE] switch_core_state_machine.c:262<br>

sofia/external/1000@ XX.XX.XX.XX:5080 has executed the last dialplan<br>instruction, hanging up.<br>2014-05-12 15:02:02.331453 [NOTICE] switch_core_state_machine.c:264 Hangup<br>sofia/external/1000@ XX.XX.XX.XX:5080 [CS_EXECUTE] [NORMAL_CLEARING]<br>

<br><br>I&#39;ve tried with the read action as well:<br><br>        &lt;extension name=&quot;try2&quot; continue=&quot;true&quot;&gt;<br>                        &lt;condition field=&quot;destination_number&quot;<br>expression=&quot;^(333)$&quot;&gt;<br>

                        &lt;action application=&quot;answer&quot;/&gt;<br>                        &lt;action application=&quot;sleep&quot; data=&quot;1&quot;/&gt;<br>                                &lt;action application=&quot;read&quot; data=&quot;0 10<br>

$${base_dir}/conf/outgoingcall.wav res 10000 #&quot;/&gt;<br>                                &lt;action application=&quot;phrase&quot;<br>data=&quot;spell,${res}&quot;/&gt;<br>                                &lt;action application=&quot;log&quot; data=&quot;INFO HELENA<br>

--${res}__&quot;/&gt;<br>                        &lt;/condition&gt;<br>                &lt;/extension&gt;<br><br>2014-05-12 15:16:51.971820 [NOTICE] sofia_glue.c:4360 Pre-Answer<br>sofia/external/1000@ XX.XX.XX.XX:5080!<br>

2014-05-12 15:16:51.971820 [NOTICE] mod_dptools.c:1225 Channel<br>[sofia/external/1000@ XX.XX.XX.XX:5080] has been answered<br>2014-05-12 15:17:16.171867 [INFO] mod_dptools.c:1595 HELENA --__<br><br>I cannot hear the played wav from my softphone, although I can see in the<br>

server trace that it is sent, so maybe I have some NAT problem for the RTP<br>but since I can see the RTP EVENT getting the freeswitch server I don&#39;t<br>think it is affecting.<br>I&#39;ve tried configuring the softphone to send RFC2833 RTP events and also to<br>

send the dTMF in band. Both cases the result on the log was an empty<br>variable.<br><br>I am pretty new at freeswitch so I guess I am forgetting to do something or<br>doing something wrong. May be there is a better option/action to do this!<br>

I&#39;ll appreciate any help you could give me!<br><br>Thanks in advanced<br><br>Helena<br><br><br><br><br>Helena Garcia-Nieto de Mir<br>Morodo Group VoIP Department<br>E-mail: <a href="mailto:helena.gnieto@morodo.co.uk" target="_blank">helena.gnieto@morodo.co.uk</a><br>

Morodo Limited<br> <a href="mailto:voip@morodo.co.uk" target="_blank">voip@morodo.co.uk</a> / <a href="http://www.mo-call.com" target="_blank">www.mo-call.com</a><br>Place of Registration: Companies House, England &amp; Wales / Registered Office:<br>

7 Breasy Place, 9 Burroughs Gardens Hendon, London NW4 4AU<br><br><br><br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>

<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.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>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></div><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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.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>
<br></blockquote></div><br></div>