[Freeswitch-users] Say Application ESL Error Reporting

Callum Guy callum.guy at x-on.co.uk
Mon Feb 24 14:42:08 MSK 2014

Hi All,

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.

Here is my result if I'm asking it to read 1234:

    [variable_current_application_data] => en NUMBER iterated 4448
    [variable_current_application] => say
    [variable_sound_prefix] => /usr/share/sounds/en/us/callie
    [Application] => say
    [Application-Data] => en NUMBER iterated 4448
    [Application-Response] => _none_

As expected this reads "4, 4, 4, 8"

Here is my result with pollution (i do not have a prompt for "star")

    [variable_current_application_data] => en NUMBER iterated 4**5
    [variable_current_application] => say
    [variable_sound_prefix] => /usr/share/sounds/en/us/callie
    [Application] => say
    [Application-Data] => en NUMBER iterated 4**5
    [Application-Response] => _none_

This makes the application fail immediately and does not even play the
first 4 - so its failing in the preparation.

In the CLI i can see the following line for the failed say session:

2014-02-24 11:10:06.079062 [ERR] mod_say_en.c:123 Parse Error!

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!

If anyone is able to provide some details on how best to capture an error
like this remotely please let me know.




Callum Guy
Senior Developer

Framlingham Technology Centre
Station Road, Framlingham,
Suffolk, IP13 9EZ

T       0333 332 0116
E       callum.guy at x-on.co.uk

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
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
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
are routinely monitored for record keeping and quality control, to
ensure regulatory compliance and prevent unauthorised use of our
Please consider the environment before printing this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140224/a8fa4b9f/attachment.html 

Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list