<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'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"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></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 <<a href="mailto:callum.guy@x-on.co.uk">callum.guy@x-on.co.uk</a>> wrote:<br>
<br>
> Hi Brian,<br>
><br>
> I can confirm the when starting the say application it doesn't manage to play any digits. There isn't much in the log for this part of the call but i have copied it below:<br>
><br>
> 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>
> 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>
> 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>
> EXECUTE sofia/internal/<a href="mailto:7584663951@b1.x-onsip.net">7584663951@b1.x-onsip.net</a> say(en NUMBER iterated 4**5)<br>
> 2014-02-24 11:10:06.079062 [ERR] mod_say_en.c:123 Parse Error!<br>
> 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>
> 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>
><br>
> The below represents the output for a successful say application execution:<br>
><br>
> 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>
> EXECUTE sofia/internal/<a href="mailto:7584663951@b1.x-onsip.net">7584663951@b1.x-onsip.net</a> say(en NUMBER iterated 4448)<br>
> 2014-02-24 11:09:34.319064 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16@8000hz 1 channels 30ms<br>
> 2014-02-24 11:09:36.819137 [DEBUG] switch_rtp.c:5390 RTP RECV DTMF 2:880<br>
> 2014-02-24 11:09:36.819137 [DEBUG] switch_channel.c:489 RECV DTMF 2:880<br>
> 2014-02-24 11:09:36.819137 [DEBUG] mod_dptools.c:2105 Digit 2<br>
> 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>
><br>
> From this I can only presume that the say application performs some "file exists" operation ahead of building the string for playback. As mentioned previously there is no indication of the failure outcome in the ESL event.<br>
><br>
> Please let me know if you require any more information.<br>
><br>
> Thanks,<br>
><br>
> Callum<br>
><br>
><br>
> ______________________________<br>
><br>
><br>
> Callum Guy<br>
> Senior Developer<br>
><br>
> X-on<br>
> Framlingham Technology Centre<br>
> Station Road, Framlingham,<br>
> Suffolk, IP13 9EZ<br>
><br>
> T 0333 332 0116<br>
> E<br>
> <a href="mailto:callum.guy@x-on.co.uk">callum.guy@x-on.co.uk</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales<br>
> Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD<br>
> Company Registration No. 2578478<br>
><br>
> 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>
> 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>
> your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of<br>
> the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have<br>
> 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>
> are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.<br>
><br>
><br>
> Please consider the environment before printing this email.<br>
><br>
><br>
> On 24 February 2014 11:56, Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>> wrote:<br>
> Does it attempt to play the sound file and then hangup? Please provide a log of a call.<br>
> --<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>
> On Feb 24, 2014, at 5:42 AM, Callum Guy <<a href="mailto:callum.guy@x-on.co.uk">callum.guy@x-on.co.uk</a>> wrote:<br>
><br>
> > Hi All,<br>
> ><br>
> > Simple question - i'm using "say" 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>
> ><br>
> > Here is my result if I'm asking it to read 1234:<br>
> ><br>
> > [variable_current_application_data] => en NUMBER iterated 4448<br>
> > [variable_current_application] => say<br>
> > [variable_sound_prefix] => /usr/share/sounds/en/us/callie<br>
> > [Application] => say<br>
> > [Application-Data] => en NUMBER iterated 4448<br>
> > [Application-Response] => _none_<br>
> ><br>
> > As expected this reads "4, 4, 4, 8"<br>
> ><br>
> > Here is my result with pollution (i do not have a prompt for "star")<br>
> ><br>
> > [variable_current_application_data] => en NUMBER iterated 4**5<br>
> > [variable_current_application] => say<br>
> > [variable_sound_prefix] => /usr/share/sounds/en/us/callie<br>
> > [Application] => say<br>
> > [Application-Data] => en NUMBER iterated 4**5<br>
> > [Application-Response] => _none_<br>
> ><br>
> > This makes the application fail immediately and does not even play the first 4 - so its failing in the preparation.<br>
> ><br>
> > In the CLI i can see the following line for the failed say session:<br>
> ><br>
> > 2014-02-24 11:10:06.079062 [ERR] mod_say_en.c:123 Parse Error!<br>
> ><br>
> > There does not seem to be any other variable to indicate the failure of this application. Perhaps "Application-Response" is not the correct place to look? If so it'd be useful to know what this variable IS used for!<br>
> ><br>
> > If anyone is able to provide some details on how best to capture an error like this remotely please let me know.<br>
> ><br>
> > Thanks,<br>
> ><br>
> > Callum<br>
><br>
><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>
><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>
</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>