[Home]

Summary:ASTERISK-14068: [patch] ast_say_number_full_ur function in main/say.c
Reporter:A.R. Nasir Qureshi (nasirq)Labels:
Date Opened:2009-05-05 07:25:24Date Closed:2011-06-07 14:00:52
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Sounds
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ast_say_number_full_ur-patch.c
( 1) urdu.ods
( 2) urdu-digits.tar.gz
Description:This feature provide support for using the function say_number in the Language Urdu.

Urdu, the national language of Pakistan, has different
pronounciation of each number till 100.
And the division of numbers for 100 called Sua (hundred), 1,000 called
hazar (thousand), 100,000 called lac and 100,00,000 called crore.
This requires voice files for each number from 0 to 100 to be placed
in /var/lib/asterisk/sounds/digits/ur/. Addtional files required are
crore for 100,00,000 and lac for 100,000.

Comments:By: A.R. Nasir Qureshi (nasirq) 2009-05-05 07:52:24

I have also uploaded sample voice files for testing. Place them in /var/lib/asterisk/sounds/digits/ur/.

Place the following in your extensions.conf and then after reloading asterisk configuration, dial 225 to listen to the number being spoken in Urdu.

exten => 225,1,Set(CHANNEL(language)=ur)
exten => 225,n,SayNumber(12123123,c)

By: Tilghman Lesher (tilghman) 2009-05-05 16:59:46

When contributing additional languages, we need you to submit a spreadsheet containing name of each file and the translation in the native script of the language.  Note the sample file doc/lang/hebrew.ods (Open Document Spreadsheet) for an example of this format.

By: Digium Subversion (svnbot) 2009-05-06 11:28:03

Repository: asterisk
Revision: 192772

A   trunk/doc/lang/urdu.ods
U   trunk/main/say.c

------------------------------------------------------------------------
r192772 | tilghman | 2009-05-06 11:28:03 -0500 (Wed, 06 May 2009) | 7 lines

Add numbers in Urdu, the national language of Pakistan
(closes issue ASTERISK-14068)
Reported by: nasirq
Patches:
      ast_say_number_full_ur-patch.c uploaded by nasirq (license 772)
      urdu.ods uploaded by nasirq (license 772)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=192772

By: Digium Subversion (svnbot) 2009-05-06 11:30:56

Repository: asterisk
Revision: 192773

_U  branches/1.6.2/

------------------------------------------------------------------------
r192773 | tilghman | 2009-05-06 11:30:56 -0500 (Wed, 06 May 2009) | 13 lines

Blocked revisions 192772 via svnmerge

........
 r192772 | tilghman | 2009-05-06 11:28:02 -0500 (Wed, 06 May 2009) | 7 lines
 
 Add numbers in Urdu, the national language of Pakistan
 (closes issue ASTERISK-14068)
  Reported by: nasirq
  Patches:
        ast_say_number_full_ur-patch.c uploaded by nasirq (license 772)
        urdu.ods uploaded by nasirq (license 772)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=192773

By: A.R. Nasir Qureshi (nasirq) 2010-06-07 10:09:47

I just downloaded asterisk-1.6.2.8, and this patch is not present. Why ?

By: Paul Belanger (pabelanger) 2010-06-07 10:24:54

New features are patched against trunk, not mid stream (1.6.2).  The next version to include this will be 1.8.