[asterisk-dev] bug with languages??

Коньков Евгений kes-kes at yandex.ru
Mon Jan 2 18:21:57 CST 2012



I have change file.c( 959)
        if (!fs) {
                ast_log(LOG_WARNING, "Unable to open %s (format %s): %s %s \n", filename, ast_getformatname_multiple(fmt, sizeof(fmt), chan->nativeformats), strerror(errno), preflang);
                return -1;
        }


[Jan  3 00:37:55] WARNING[38203]: file.c:653 ast_openstream_full: File freeline/hello does not exist in any format
[Jan  3 00:37:55] WARNING[38203]: file.c:959 ast_streamfile: Unable to open freeline/hello (format 0x40 (slin)): No such file or directory en
[Jan  3 00:37:55] WARNING[38203]: pbx.c:9579 pbx_builtin_background: ast_streamfile failed on Dongle/datacard0-0100000000 for freeline/hello

and see that 'preflang' is 'en' despite on

defaultlanguage = ru           ; Default language
languageprefix = yes            ; Use the new sound prefix path syntax.

core show settings:

  Entity ID:                   00:0b:6a:a6:0c:f0
  Default language:            ru
  Language prefix:             Enabled

I did not set lang to other lang anywhere.

can you help what to fix problem?






More information about the asterisk-dev mailing list