<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(7,55,99)">Thanks Brian, I have created the following Jira</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(7,55,99)">

<br></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><a href="http://jira.freeswitch.org/browse/ESL-87">http://jira.freeswitch.org/browse/ESL-87</a></font><br></div><div class="gmail_default">

<font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif">Please let me know if there are any issues with my issue creation - I&#39;ve never logged a JIRA before!</font></div>

<div class="gmail_default"><font color="#073763" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#073763" face="verdana, sans-serif">Callum</font></div></div><div class="gmail_extra"><br clear="all">

<div><div dir="ltr"><pre style="word-wrap:break-word;white-space:pre-wrap"><font color="#073763"><font face="verdana, sans-serif">______________________________</font><font size="1" face="verdana, sans-serif">

Callum Guy
Senior Developer

X-on
Framlingham Technology Centre
Station Road, Framlingham,
Suffolk, IP13 9EZ

T       0333 332 0116
E       <a href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>


<img src="http://www.x-ondata.com/images/footerv2.jpg">
<br></font></font></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font color="#073763"><font size="1" face="verdana, sans-serif">X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD  
Company Registration No. 2578478 

This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from 
your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have 
been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on 
are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.

</font><font size="1" face="verdana, sans-serif">Please consider the environment before printing this email.</font></font></pre></div></div>
<br><br><div class="gmail_quote">On 24 February 2014 15:49, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Build a test case and file a JIRA at <a href="http://jira.freeswitch.org" target="_blank">http://jira.freeswitch.org</a><br>
<br>
Thanks,<br>
<div class="im HOEnZb">--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH , @briankwest<br>
<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>
T: <a href="tel:%2B1.918.420.9001" value="+19184209001">+1.918.420.9001</a>  |  F: <a href="tel:%2B1.918.420.9002" value="+19184209002">+1.918.420.9002</a>  |  M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a><br>
ISN: 410*543<br>
Skype:briankwest<br>
PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">On Feb 24, 2014, at 8:35 AM, Callum Guy &lt;<a href="mailto:callum.guy@x-on.co.uk">callum.guy@x-on.co.uk</a>&gt; wrote:<br>
<br>
&gt; Hi Brian,<br>
&gt;<br>
&gt; I can confirm the when starting the say application it doesn&#39;t manage to play any digits. There isn&#39;t much in the log for this part of the call but i have copied it below:<br>
&gt;<br>
&gt; 2014-02-24 11:10:05.999139 [DEBUG] switch_ivr_play_say.c:1718 done playing file file_string:///usr/share/sounds/x.wav!/usr/share/sounds/xx.wav!/usr/share/sounds/xxx.wav<br>
&gt; 2014-02-24 11:10:06.039140 [DEBUG] switch_core_session.c:1183 Send signal sofia/internal/<a href="mailto:7584123456@b1.x-onsip.net">7584123456@b1.x-onsip.net</a> [BREAK]<br>
&gt; 2014-02-24 11:10:06.059137 [DEBUG] switch_ivr.c:615 sofia/internal/<a href="mailto:7584123456@b1.x-onsip.net">7584123456@b1.x-onsip.net</a> Command Execute say(en NUMBER iterated 4**5)<br>
&gt; EXECUTE sofia/internal/<a href="mailto:7584663951@b1.x-onsip.net">7584663951@b1.x-onsip.net</a> say(en NUMBER iterated 4**5)<br>
&gt; 2014-02-24 11:10:06.079062 [ERR] mod_say_en.c:123 Parse Error!<br>
&gt; 2014-02-24 11:10:06.139094 [DEBUG] switch_core_session.c:1183 Send signal sofia/internal/<a href="mailto:7584123456@b1.x-onsip.net">7584123456@b1.x-onsip.net</a> [BREAK]<br>
&gt; 2014-02-24 11:10:06.159097 [DEBUG] switch_ivr.c:615 sofia/internal/<a href="mailto:7584123456@b1.x-onsip.net">7584123456@b1.x-onsip.net</a> Command Execute play_and_get_digits(1 1 5 3000 #* /usr/share/sounds/xxxx.wav /usr/share/sounds/xxxxx.wav XON_DTMF \d+ 3000)<br>


&gt;<br>
&gt; The below represents the output for a successful say application execution:<br>
&gt;<br>
&gt; 2014-02-24 11:09:34.299110 [DEBUG] switch_ivr.c:615 sofia/internal/<a href="mailto:7584663951@b1.x-onsip.net">7584663951@b1.x-onsip.net</a> Command Execute say(en NUMBER iterated 4448)<br>
&gt; EXECUTE sofia/internal/<a href="mailto:7584663951@b1.x-onsip.net">7584663951@b1.x-onsip.net</a> say(en NUMBER iterated 4448)<br>
&gt; 2014-02-24 11:09:34.319064 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16@8000hz 1 channels 30ms<br>
&gt; 2014-02-24 11:09:36.819137 [DEBUG] switch_rtp.c:5390 RTP RECV DTMF 2:880<br>
&gt; 2014-02-24 11:09:36.819137 [DEBUG] switch_channel.c:489 RECV DTMF 2:880<br>
&gt; 2014-02-24 11:09:36.819137 [DEBUG] mod_dptools.c:2105 Digit 2<br>
&gt; 2014-02-24 11:09:37.859136 [DEBUG] switch_ivr_play_say.c:1718 done playing file file_string://digits/4.wav!digits/4.wav!digits/4.wav!digits/8.wav<br>
&gt;<br>
&gt; From this I can only presume that the say application performs some &quot;file exists&quot; operation ahead of building the string for playback. As mentioned previously there is no indication of the failure outcome in the ESL event.<br>


&gt;<br>
&gt; Please let me know if you require any more information.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Callum<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<br>
&gt;<br>
&gt;<br>
&gt; Callum Guy<br>
&gt; Senior Developer<br>
&gt;<br>
&gt; X-on<br>
&gt; Framlingham Technology Centre<br>
&gt; Station Road, Framlingham,<br>
&gt; Suffolk, IP13 9EZ<br>
&gt;<br>
&gt; T       0333 332 0116<br>
&gt; E<br>
&gt; <a href="mailto:callum.guy@x-on.co.uk">callum.guy@x-on.co.uk</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales<br>
&gt; Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD<br>
&gt; Company Registration No. 2578478<br>
&gt;<br>
&gt; This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message<br>
&gt; is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from<br>
&gt; your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of<br>
&gt; the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have<br>
&gt; been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on<br>
&gt; are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.<br>
&gt;<br>
&gt;<br>
&gt; Please consider the environment before printing this email.<br>
&gt;<br>
&gt;<br>
&gt; On 24 February 2014 11:56, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; wrote:<br>
&gt; Does it attempt to play the sound file and then hangup?  Please provide a log of a call.<br>
&gt; --<br>
&gt; Brian West<br>
&gt; <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
&gt; FreeSWITCH Solutions, LLC<br>
&gt; PO BOX 2531<br>
&gt; Brookfield, WI 53008-2531<br>
&gt; Twitter: @FreeSWITCH , @briankwest<br>
&gt; <a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br>
&gt; <a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br>
&gt;<br>
&gt; T: <a href="tel:%2B1.918.420.9001" value="+19184209001">+1.918.420.9001</a>  |  F: <a href="tel:%2B1.918.420.9002" value="+19184209002">+1.918.420.9002</a>  |  M: +1.918.424.WEST<br>
&gt; iNUM: <a href="tel:%2B883%205100%201420%209001" value="+883510014209001">+883 5100 1420 9001</a><br>
&gt; ISN: 410*543<br>
&gt; Skype:briankwest<br>
&gt; PGP Key: <a href="http://www.bkw.org/key.txt" target="_blank">http://www.bkw.org/key.txt</a> (AB93356707C76CED)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Feb 24, 2014, at 5:42 AM, Callum Guy &lt;<a href="mailto:callum.guy@x-on.co.uk">callum.guy@x-on.co.uk</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi All,<br>
&gt; &gt;<br>
&gt; &gt; Simple question - i&#39;m using &quot;say&quot; application over ESL to read back an iterated list of numbers however there is a chance of pollution in the variable. I can of course cleanse this myself in the application logic however the current application result reporting seems incorrect.<br>


&gt; &gt;<br>
&gt; &gt; Here is my result if I&#39;m asking it to read 1234:<br>
&gt; &gt;<br>
&gt; &gt;     [variable_current_application_data] =&gt; en NUMBER iterated 4448<br>
&gt; &gt;     [variable_current_application] =&gt; say<br>
&gt; &gt;     [variable_sound_prefix] =&gt; /usr/share/sounds/en/us/callie<br>
&gt; &gt;     [Application] =&gt; say<br>
&gt; &gt;     [Application-Data] =&gt; en NUMBER iterated 4448<br>
&gt; &gt;     [Application-Response] =&gt; _none_<br>
&gt; &gt;<br>
&gt; &gt; As expected this reads &quot;4, 4, 4, 8&quot;<br>
&gt; &gt;<br>
&gt; &gt; Here is my result with pollution (i do not have a prompt for &quot;star&quot;)<br>
&gt; &gt;<br>
&gt; &gt;     [variable_current_application_data] =&gt; en NUMBER iterated 4**5<br>
&gt; &gt;     [variable_current_application] =&gt; say<br>
&gt; &gt;     [variable_sound_prefix] =&gt; /usr/share/sounds/en/us/callie<br>
&gt; &gt;     [Application] =&gt; say<br>
&gt; &gt;     [Application-Data] =&gt; en NUMBER iterated 4**5<br>
&gt; &gt;     [Application-Response] =&gt; _none_<br>
&gt; &gt;<br>
&gt; &gt; This makes the application fail immediately and does not even play the first 4 - so its failing in the preparation.<br>
&gt; &gt;<br>
&gt; &gt; In the CLI i can see the following line for the failed say session:<br>
&gt; &gt;<br>
&gt; &gt; 2014-02-24 11:10:06.079062 [ERR] mod_say_en.c:123 Parse Error!<br>
&gt; &gt;<br>
&gt; &gt; There does not seem to be any other variable to indicate the failure of this application. Perhaps &quot;Application-Response&quot; is not the correct place to look? If so it&#39;d be useful to know what this variable IS used for!<br>


&gt; &gt;<br>
&gt; &gt; If anyone is able to provide some details on how best to capture an error like this remotely please let me know.<br>
&gt; &gt;<br>
&gt; &gt; Thanks,<br>
&gt; &gt;<br>
&gt; &gt; Callum<br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</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>