[Freeswitch-users] Quick help needed
Avi Marcus
avi at avimarcus.net
Thu Dec 20 11:42:00 MSK 2012
SAY isn't for dynamic text, but rather to join together pre-recorded files
for saying numbers, dates, etc. see: SAY on the
wiki<http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_say>
You either want:
1) playback <http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_playback> of
a pre-recorded file.
2) use TTS with the free flite e.g. with
SPEAK<http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_speak> (not
say) e.g.:
<action application="speak" data="flite|kal|FreeSWITCH is awesome"/>
-Avi
On Thu, Dec 20, 2012 at 10:33 AM, Nitin Tomer <ntomer at newgen.co.in> wrote:
> Hi,****
>
> ** **
>
> In my application, I am parking a call to an extension using valet-park.
> Before this I want to read a message to caller, but am not able to. I
> tried to use say and phrase but am not able to get the syntax right. Please
> help me.****
>
> ** **
>
> Dialplan –****
>
> ** **
>
> <extension>****
>
> <condition field="destination_number"
> expression="^(450)$">
> <action application="set"
> data="caller_id_name=Account Opening Request" />
> <action application="set"
> data="call_timeout=60" />
> <action application="set"
> data="originate_timeout=60" />
> <action inline="true"
> application="lua" data="accountopening.lua"/>
> <action application="db"
> data="insert/accountopening/${parkednumber}/nonumber" />
> <action application="say" data="en
> messages pronounced 'Please wait for an agent to pick your call.'" />
> <action application="valet_park"
> data="my_lot ${parkednumber}" /> ****
>
> </condition>
> </extension>****
>
> ** **
>
> Regards****
>
> ** **
>
> Nitin****
>
> Disclaimer :- This e-mail and any attachment may contain confidential,
> proprietary or legally privileged information. If you are not the original
> intended recipient and have erroneously received this message, you are
> prohibited from using, copying, altering or disclosing the content of this
> message. Please delete it immediately and notify the sender. Newgen
> Software Technologies Ltd (NSTL) accepts no responsibilities for loss or
> damage arising from the use of the information transmitted by this email
> including damages from virus and further acknowledges that no binding
> nature of the message shall be implied or assumed unless the sender does so
> expressly with due authority of NSTL.
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121220/940c81cd/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list