I don't believe that there is currently a way to do this easily right now. We just spoke about languages on yesterday's conference call and this is a prime example of the kinds of things that we will need to overcome. Additionally I don't believe that I have any currencies other than dollar.wav and dollars.wav for the English sounds. I'll be glad to get them ordered. Could the community at large send me some ideas for units of currency? Here are a few ideas: euro, euros franc, francs Canadian, Australian, US dollar/dollars pound, pounds Send me some more ideas and I will get them added to the to-be-recorded list. -MC On Thu, Apr 4, 2013 at 1:52 AM, bhavik patel <bhavikpatel14388@gmail.com>wrote:
Hi all, I use free switch and i want to play sounds file like if user has credit in USD then doller.wav file play and EUR then another file will be play.
Currently it play doller.wav by default in /usr/local/freeswitch/sounds/currency/en/doller.wav but i want to play EUR so how can this possible.
Is that any easy way to do this thing in multi language currency play in say application.
i use this syntax in my free-switch dial plan $dialstring = "<action application=\"say\" data=\"en CURRENCY PRONOUNCED $credit_balance\"/>";
Thanks In advance...
-- Thanks, Bhavik Patel
_________________________________________________________________________ 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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org