Thanks Avi, it worked.

 

But I am using Say to dynamic text in following instances and it is working fine –

 

<action application="play_and_get_digits" data="10 16 3 300 # say:'Press your account number, followed by hash key' say:'Wrong Input' res \d+" />

<menu name="nitin_ivr"
                greet-long="say:Welcome to Newgen Bank Limited. Press 1 for Account Opening, 2 for Fixed Deposits, 3 for Address Change or 4 for Closing Account."
                greet-short="say:Welcome to Newgen. Press 1 for Account Opening, 2 for Fixed Deposits, 3 for Address Change or 4 for Closing Account."
                invalid-sound="ivr/ivr-that_was_an_invalid_entry.wav"
                exit-sound="voicemail/vm-goodbye.wav"
                confirm-macro=""
                confirm-key=""
                tts-engine="flite"
                tts-voice="slt"
                confirm-attempts="3"
                timeout="3000"
                inter-digit-timeout="2000"
                max-failures="3"
                max-timeouts="3"
                digit-len="4">

 

Regards

 

Nitin

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Avi Marcus
Sent: Thursday, December 20, 2012 2:12 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Quick help needed

 

SAY isn't for dynamic text, but rather to join together pre-recorded files for saying numbers, dates, etc. see: SAY on the wiki

 

You either want:

1) playback of a pre-recorded file.

2) use TTS with the free flite e.g. with 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@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 


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.