Ticket #251 (closed enhancement: fixed)

Opened 4 months ago

Last modified 4 months ago

currency specific decimal part name playback in fct_say_balance()

Reported by: Vahan Assigned to: areski
Priority: major Milestone: milestone Version 1.3
Component: AGI Version: Stable 1.3.3 (doudou08)
Keywords: fct_say_balance currency decimal part Cc:

Description

This patch adds support for language/country specific decimal currency name (e.g. cents, eurocents, lumas) instead of the hardcoded 'prepaid-cents'.

the currency:filename pair is specified by an additional variable in a2billing.conf in the [agi-confX] section: -- 8< ------------------------------------------------------------ ; CURRENCY SECTION ; Define all the audio (without file extensions) that you want to play according to currency (use , to separate, ie "usd:prepaid-do$ currency_association = usd:dollars,mxn:pesos,eur:euros,amd:drams,all:credit currency_association_decimal = amd:lumas,all:cents -- 8< ------------------------------------------------------------

Attachments

currency_decimal_patch.patch (2.0 kB) - added by Vahan on 08/07/08 07:00:04.

Change History

08/07/08 07:00:04 changed by Vahan

  • attachment currency_decimal_patch.patch added.

08/07/08 07:11:05 changed by stavros

Excellent work Vahan. This patch looks great.

08/07/08 08:39:15 changed by stavros

  • status changed from new to closed.
  • resolution set to fixed.

Reworked a little and incorporated into trunk at r939 as no new features are being accepted into branches/1.3 at this point.

Thanks for the patch. We welcome and value any further contributions you might care to make.



Google