<div dir="ltr">I&#39;d start by updating, thats very old unreleased revision.<div><br></div><div>/b</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 3, 2017 at 10:24 AM, Hamit Türkü Kaya <span dir="ltr">&lt;<a href="mailto:hamit.turku.kaya@bulutfon.com" target="_blank">hamit.turku.kaya@bulutfon.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 style="word-wrap:break-word">Hi I’m using <b>FreeSWITCH Version 1.7.0+git~20151120T222441Z~<wbr>3ac546fbf1~64bit (git 3ac546f 2015-11-20 22:24:41Z 64bit) </b>on our media server with <b>mod_pyhton.</b><div><br></div><div><div>When i try to detect dtmf answers with playAndGetDigits, it behaves weird. For instance i’m accepting 3 - 4 digits, when i press 42 it plays error sound as usual, but after then when i press 4256, it continues to play error sound.</div><div>When i checked detected tones i get strange results. Sometimes it detects 4256 as 426 or 456 with skipping digits. Sometimes it merges with failed digits like 12425</div><div><br></div><div>what can be possibly cause this. I couldn’t find any solution.</div><div><br></div><div>My related python script codes are below.</div><div><br></div><div>gather_result = session.playAndGetDigits(</div><div>    int(min_digits),</div><div>    int(max_digits),</div><div>    int(max_attempts)</div><div>    gather_timeout,</div><div>    &quot;#&quot;,</div><div>    ask_sound,</div><div>    error_sound,</div><div>    &quot;<a>\\d+</a>&quot;</div><div>    )</div><div>if gather_result:</div><div>    session.setVariable(variable_<wbr>name), gather_result)</div><div>    session_vars_list.append(<wbr>variable_name + &quot;=&quot; + session.getVariable(&quot;appvar_&quot;+<wbr>str(arguments[&quot;variable_name&quot;]<wbr>)))</div><div><br></div><div><br></div><div>Regards.</div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><div style="word-wrap:break-word">—<br><br><b>Hamit Türkü KAYA, Geliştirici</b><br>BULUTFON AŞ | <a href="http://www.bulutfon.com" target="_blank">www.bulutfon.com</a> | 0 <a href="tel:(850)%20885-0000" value="+18508850000" target="_blank">(850) 885 0000</a><br><br class="m_2800190433629175691Apple-interchange-newline"></div><br class="m_2800190433629175691Apple-interchange-newline"></div></div><br class="m_2800190433629175691Apple-interchange-newline">
</div>
<br></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p><p><b style="font-family:monospace,monospace;font-size:small"><i>Twitter: @FreeSWITCH , @briankwest</i></b></p><p><font size="2" face="monospace, monospace"><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a> <br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br><br>Allison prompts for FreeSWITCH:</font></p><table cellspacing="0" cellpadding="0" style="font-size:12.8px"><tbody><tr><td valign="baseline"><p><span><a href="https://www.gofundme.com/allison-prompts-for-freeswitch" target="_blank"><b>https://www.gofundme.com/allison-prompts-for-freeswitch</b></a></span></p></td></tr></tbody></table><p><span style="font-family:monospace,monospace;font-size:12.8px">Got Bugs? Report them </span><a href="https://freeswitch.org/jira" style="font-family:monospace,monospace;font-size:12.8px" target="_blank">here</a><span style="font-family:monospace,monospace;font-size:12.8px">! | Reddit: </span><a href="https://www.reddit.com/r/freeswitch" style="font-family:monospace,monospace;font-size:12.8px" target="_blank">/r/freeswitch</a><br></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>Skype:</b>briankwest<br></font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>