freeswitch say application currency in multipal language
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
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
Just wondering if support for multiple currencies was ever added, if not is there any plans? On Thu, Apr 4, 2013 at 2:14 PM, Michael Collins <msc@freeswitch.org> wrote:
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
_________________________________________________________________________ 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
We never added it but would be open to others doing the work to add it and getting us a pull request. We will need to get some additional sound prompts as well and come up with some sane way to handle different currency names. If you have a proposal of a sane flexible way to do this, make a proposal and a pul request and we can look at getting the needed prompts.
On Mar 1, 2015, at 8:50 PM, Abaci B <abaci64@gmail.com> wrote:
Just wondering if support for multiple currencies was ever added, if not is there any plans?
On Thu, Apr 4, 2013 at 2:14 PM, Michael Collins <msc@freeswitch.org <mailto:msc@freeswitch.org>> wrote: 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 <mailto: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
participants (4)
-
Abaci B
-
bhavik patel
-
Michael Collins
-
Michael Jerris