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
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