How to add & change default currency

Version 1
    This document was generated from CDN thread

    Created by: Asif akram Khan on 31-07-2012 05:23:36 AM
    HI All,
     
    I am using UCCX 8.5. My country's currency code is BDT. But UCCX hasn't the code by default. Can anyone guide me how I can add the currency & also when I generate any currency prompt it will play the currency as "Taka" instead of "Dollar"?
     
     
    Thanks
    Asif

    Subject: RE: How to add & change default currency
    Replied by: Paul Onwude on 05-06-2013 01:44:20 AM
    Asif Akram Khan:
    HI All,
     
    I am using UCCX 8.5. My country's currency code is BDT. But UCCX hasn't the code by default. Can anyone guide me how I can add the currency & also when I generate any currency prompt it will play the currency as "Taka" instead of "Dollar"?
     
     
    Thanks
    Asif
    HI Asif,

    Were you ever able to resolve this?
    regards

    Paul

    Subject: RE: How to add & change default currency
    Replied by: Binny Mathew on 05-06-2013 02:22:00 AM
    Hi Paul/Asif,

    As far as i think you can not access the system prompts [rename/ change the content of these prompts]. But as a workaround what i will suggest the below.

    1) Write your own custom java class which will return you the set of prompts to be played for e.g you need to voice out currency then you can a Java Class like playCurrency(String curr,String Lang, String CurrCode){
    //Logic of forming the promts in the way its required and you can return them as Vector//List however you are comfortable with it.

    2) Call this Java class from your script and pass the relevant parameters and the collect the output in a Prompt element Like

    Prompt BalancePP[];
    // Have the logic here like getting the initial prompt, appending with the path
    BalancePP= BalancePP+ ["Whats returned from the Class"]; 

    You can put the above piece  of code in a Do block  and then play it in a prompt element or in a Prompt and then return the prompt  itself. 

    Hope i have answered to the context. Let me know if this all makes sense and is catering to your issue. 

    Rgds/Binny

    Subject: RE: How to add & change default currency
    Replied by: Paul Onwude on 05-06-2013 03:22:18 AM
    Binny Mathew:
    Hi Paul/Asif,

    As far as i think you can not access the system prompts [rename/ change the content of these prompts]. But as a workaround what i will suggest the below.

    1) Write your own custom java class which will return you the set of prompts to be played for e.g you need to voice out currency then you can a Java Class like playCurrency(String curr,String Lang, String CurrCode){
    //Logic of forming the promts in the way its required and you can return them as Vector//List however you are comfortable with it.

    2) Call this Java class from your script and pass the relevant parameters and the collect the output in a Prompt element Like

    Prompt BalancePP[];
    // Have the logic here like getting the initial prompt, appending with the path
    BalancePP= BalancePP+ ["Whats returned from the Class"]; 

    You can put the above piece  of code in a Do block  and then play it in a prompt element or in a Prompt and then return the prompt  itself. 

    Hope i have answered to the context. Let me know if this all makes sense and is catering to your issue. 

    Rgds/Binny
    Thanks for your response Binny

    I found an easier way to achieve this.

    This link give you the basic idea https://supportforums.cisco.com/thread/2080962

    Then i simply recorded the prompt fo rthe currency i wanted and renamed it using a name for a currency folder that i know i will never likely use.

    folder path

    /en_US/gen/currency

    rgds

    Paul

    Subject: RE: How to add & change default currency
    Replied by: Steven McGoff on 05-06-2013 10:27:57 AM
    Asif

    This should be an easier way to speak a custom currency.  It's follows Paul's suggestion.

    https://supportforums.cisco.com/docs/DOC-13933

    Steve