[asterisk-bugs] [Asterisk 0011662]: Proper Hebrew support for Asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Jan 13 09:41:54 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11662 
====================================================================== 
Reported By:                greenfieldtech
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11662
Category:                   Applications/app_voicemail
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 95577 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-01-2008 11:23 CST
Last Modified:              01-13-2008 09:41 CST
====================================================================== 
Summary:                    Proper Hebrew support for Asterisk
Description: 
The current Hebrew support in Asterisk is fairly incomplete, both in terms
of recordings and in term of proper Hebrew grammar. The following will
serve as a patch upload point for myself and Ido Kanner, to upload a patch
for proper Hebrew support. 
====================================================================== 

---------------------------------------------------------------------- 
 yehavi - 01-13-08 09:41  
---------------------------------------------------------------------- 
First - thanks for all the work and the recordings!
Next, why is this modification:

@@ -5828,8 +5924,14 @@
                if (vms->starting) {
                        if (vms->lastmsg > -1) {
                                res = ast_play_and_wait(chan,
"vm-onefor");
-                               if (!res)
-                                       res = vm_play_folder_name(chan,
vms->vmbox);
+                               if (!res) {
+                                       if (!strcasecmp(chan->language,
"he")) {
+                                           res = ast_play_and_wait(chan,
"vm-for");
+                                           res = ast_play_and_wait(chan,
"vm-INBOX");
+                                       } else {
+                                           res =
vm_play_folder_name(chan, vms->vmbox);
+                                       }
+                               }

It causes the code to say "Press 1 for new messages" always, while the old
code said NEW or OLD depending whether there were new or old messages, and
it was the correct code...

                       Thanks, __Yehavi: 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-13-08 09:41  yehavi         Note Added: 0076845                          
======================================================================




More information about the asterisk-bugs mailing list