<div dir="ltr">When you're using inband DTMF have you run start_dtmf first?<div><br></div><div>If you're using RFC2833 it shouldn'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"><<a href="mailto:helena.gnieto@morodo.co.uk" target="_blank">helena.gnieto@morodo.co.uk</a>></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:"Calibri","sans-serif";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:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";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:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Helena<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <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:"Arial","sans-serif""><action application="play_and_get_digits" data="2 5 1 7000 #<br>$${base_dir}/conf/outgoingcall.wav $${base_dir}/conf/outgoingcall.wav myvar<br>
\d+"/></span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><action application="log" data="INFO helena2 -1-${mybar}-"/></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:"Arial","sans-serif"">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 <<a href="mailto:helena.gnieto@morodo.co.uk" target="_blank">helena.gnieto@morodo.co.uk</a>> 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'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> <extension name="Read Example"><br> <condition field="destination_number"<br>
expression="^(334)$"><br> <action application="answer"/><br> <action<br>application="play_and_get_digits" data="2 5 1 7000 #<br>
$${base_dir}/conf/outgoingcall.wav $${base_dir}/conf/outgoingcall.wav myvar<br>\d+"/><br> <action application="log" data="INFO<br>helena2 -1-${mybar}-"/><br>
</condition><br> </extension><br><br>I'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've tried with the read action as well:<br><br> <extension name="try2" continue="true"><br> <condition field="destination_number"<br>expression="^(333)$"><br>
<action application="answer"/><br> <action application="sleep" data="1"/><br> <action application="read" data="0 10<br>
$${base_dir}/conf/outgoingcall.wav res 10000 #"/><br> <action application="phrase"<br>data="spell,${res}"/><br> <action application="log" data="INFO HELENA<br>
--${res}__"/><br> </condition><br> </extension><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't<br>think it is affecting.<br>I'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'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 & 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>