[Freeswitch-users] freeswitch say application currency in multipal language

Michael Jerris mike at jerris.com
Tue Mar 3 00:59:58 MSK 2015


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 at 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 at freeswitch.org <mailto:msc at 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 at gmail.com <mailto:bhavikpatel14388 at 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
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150302/11f79112/attachment.html 


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