Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 1:48 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Internationalization
PostPosted: Mon Apr 10, 2006 9:49 am 
Offline

Joined: Mon Apr 10, 2006 9:12 am
Posts: 2
Sorry for my English.. I'm newbie
Is this asterisk2billing or asterisk itself bug ?

if language parameter in sip.conf is not set, then SAY BALANCE(1) seems ok and balance 999,99 $ ;) pronounce well
Code:
  a2billing.php|1: [A2Billing] SAY BALANCE (1)
  a2billing.php|1:
    -- Playing 'digits/9' (language 'en')
    -- Playing 'digits/hundred' (language 'en')
    -- Playing 'digits/90' (language 'en')
    -- Playing 'digits/9' (language 'en')
    -- Playing 'digits/90' (language 'en')
    -- Playing 'digits/9' (language 'en')

But if language=ru in sip.conf then
Code:
a2billing.php|1: [A2Billing] SAY BALANCE (1)
  a2billing.php|1:
Apr 10 12:16:19 WARNING[4349]: file.c:508 ast_openstream_full: File digits/900 does not exist in any format
Apr 10 12:16:19 WARNING[4349]: file.c:820 ast_streamfile: Unable to open digits/900 (format ulaw): No such file or directory
    -- Playing 'digits/90' (language 'ru')
    -- Playing 'digits/9' (language 'ru')
    -- Playing 'digits/90' (language 'ru')
    -- Playing 'digits/9' (language 'ru')

i.e. I hear 99,99$ and it wants to play file digits/900.gsm :shock:

similar problem with time to call pronounce,
i.e. I hear 32 min and 43 sec instead of 30302 min and 43 sec
Code:
  a2billing.php|1: TIMEOUT::> 1818163  : minutes=30302 - seconds=43
    -- Playing 'digits/30' (language 'ru')
Apr 10 12:16:26 WARNING[4349]: file.c:508 ast_openstream_full: File digits/thousands does not exist in any format
Apr 10 12:16:26 WARNING[4349]: file.c:820 ast_streamfile: Unable to open digits/thousands (format ulaw): No such file or directory
Apr 10 12:16:26 WARNING[4349]: file.c:508 ast_openstream_full: File digits/300 does not exist in any format
Apr 10 12:16:26 WARNING[4349]: file.c:820 ast_streamfile: Unable to open digits/300 (format ulaw): No such file or directory
    -- Playing 'digits/2' (language 'ru')
    -- Playing 'digits/40' (language 'ru')
    -- Playing 'digits/3' (language 'ru')

Where is the problem? Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 10, 2006 2:44 pm 
Offline

Joined: Mon Apr 10, 2006 9:12 am
Posts: 2
sorry, above problem really not in Asterisk2billing. It is usual behaviour of Saynumber() Asterisk function, which is not completely supports russian numbers pronunciation (imho). Problem fixed by adding set of sound files named 100.gsm (200.gsm and so on) to standard set of files in sound/digits/ru


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group