1.6.2: -- Executing [s at incoming-pstn-line:4] VoiceMail("DAHDI/4-1", "100 at default,u") in new stack -- <DAHDI/4-1> Playing '/var/spool/asterisk/voicemail/default/100/unavail.gsm' (language 'en') [Mar 22 17:15:46] WARNING[31145]: file.c:650 ast_openstream_full: File vm-intro does not exist in any format [Mar 22 17:15:46] WARNING[31145]: file.c:953 ast_streamfile: Unable to open vm-intro (format 0x4 (ulaw)): No such file or directory But: locate vm-intro /var/lib/asterisk/sounds/en/vm-intro.gsm /var/lib/asterisk/sounds/en/vm-intro.ulaw /var/lib/asterisk/sounds/en/vm-intro.wav head -12 /etc/asterisk/asterisk.conf [directories](!) ; remove the (!) to enable this astetcdir => /etc/asterisk astmoddir => /usr/lib64/asterisk/modules astvarlibdir => /var/lib/asterisk astdbdir => /var/lib/asterisk astkeydir => /var/lib/asterisk astdatadir => /var/lib/asterisk astagidir => /var/lib/asterisk/agi-bin astspooldir => /var/spool/asterisk astrundir => /var/run/asterisk astlogdir => /var/log/asterisk So in which folder are these sounds supposed to be? But more importantly, who do we figure out where * is looking for sounds? Some cli command would be really nice. sean
/var/lib/asterisk/sounds/ On 2010-03-22 9:44 PM, "sean darcy" <seandarcy2 at gmail.com> wrote: 1.6.2: -- Executing [s at incoming-pstn-line:4] VoiceMail("DAHDI/4-1", "100 at default,u") in new stack -- <DAHDI/4-1> Playing '/var/spool/asterisk/voicemail/default/100/unavail.gsm' (language 'en') [Mar 22 17:15:46] WARNING[31145]: file.c:650 ast_openstream_full: File vm-intro does not exist in any format [Mar 22 17:15:46] WARNING[31145]: file.c:953 ast_streamfile: Unable to open vm-intro (format 0x4 (ulaw)): No such file or directory But: locate vm-intro /var/lib/asterisk/sounds/en/vm-intro.gsm /var/lib/asterisk/sounds/en/vm-intro.ulaw /var/lib/asterisk/sounds/en/vm-intro.wav head -12 /etc/asterisk/asterisk.conf [directories](!) ; remove the (!) to enable this astetcdir => /etc/asterisk astmoddir => /usr/lib64/asterisk/modules astvarlibdir => /var/lib/asterisk astdbdir => /var/lib/asterisk astkeydir => /var/lib/asterisk astdatadir => /var/lib/asterisk astagidir => /var/lib/asterisk/agi-bin astspooldir => /var/spool/asterisk astrundir => /var/run/asterisk astlogdir => /var/log/asterisk So in which folder are these sounds supposed to be? But more importantly, who do we figure out where * is looking for sounds? Some cli command would be really nice. sean -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100322/3ada245a/attachment.htm
Hi!> [directories](!) ; remove the (!) to enable thisYou did see the above, did you.> '/var/spool/asterisk/voicemail/default/100/unavail.gsm' (language 'en') > [Mar 22 17:15:46] WARNING[31145]: file.c:650 ast_openstream_full: File > vm-intro does not exist in any formatDid you maybe upgrade from 1.2 to 1.6? Taken from UPGRADE.txt on a 1.4 system: "WARNING: Asterisk 1.4 supports a new layout for sound files in multiple languages; instead of the alternate-language files being stored in subdirectories underneath the existing files (for French, that would be digits/fr, letters/fr, phonetic/fr, etc.) the new layout creates one directory under /var/lib/asterisk/sounds for the language itself, then places all the sound files for that language under that directory and its subdirectories. This is the layout that will be created if you select non- English languages to be installed via menuselect, HOWEVER Asterisk does not default to this layout and will not find the files in the places it expects them to be. If you wish to use this layout, make sure you put 'languageprefix=yes' in your /etc/asterisk/asterisk.conf file, so that Asterisk will know how the files were installed." Philipp
On Mon, Mar 22, 2010 at 09:38:26PM -0400, sean darcy wrote:> 1.6.2: > > -- Executing [s at incoming-pstn-line:4] VoiceMail("DAHDI/4-1", > "100 at default,u") in new stack > -- <DAHDI/4-1> Playing > '/var/spool/asterisk/voicemail/default/100/unavail.gsm' (language 'en') > [Mar 22 17:15:46] WARNING[31145]: file.c:650 ast_openstream_full: File > vm-intro does not exist in any format > [Mar 22 17:15:46] WARNING[31145]: file.c:953 ast_streamfile: Unable to > open vm-intro (format 0x4 (ulaw)): No such file or directory > > But: > > locate vm-intro > > /var/lib/asterisk/sounds/en/vm-intro.gsm > /var/lib/asterisk/sounds/en/vm-intro.ulaw > /var/lib/asterisk/sounds/en/vm-intro.wav > > head -12 /etc/asterisk/asterisk.conf > [directories](!) ; remove the (!) to enable thisAs long as it is not enabled, the compile-time defaults are used.> astetcdir => /etc/asterisk > astmoddir => /usr/lib64/asterisk/modules > astvarlibdir => /var/lib/asterisk > astdbdir => /var/lib/asterisk > astkeydir => /var/lib/asterisk > astdatadir => /var/lib/asterisk > astagidir => /var/lib/asterisk/agi-bin > astspooldir => /var/spool/asterisk > astrundir => /var/run/asterisk > astlogdir => /var/log/asterisk > > > So in which folder are these sounds supposed to be?Unless you specifid the full path explicitly, the sound files are looked for in the following pathes (in the following order). Suppose you wanted the sound file called: 'somewhere/soundname' DATADIR/sounds/LANG_FULL/somewhere/soundname DATADIR/sounds/LANG/somewhere/soundname DATADIR/sounds/somewhere/soundname DATADIR/sounds/DEFAULTLANG/soundname DATADIR defaults to /var/lib/asterisk (unless you use the Debian/Ubuntu packages...) and can be set in asterisk.conf otherwise. LANG_FULL is the complete value of LANGUAGE, if it is set. LANG is the value of LANGUAGE sliced after the first '_'. For instance, if LANG_FULL was 'en_US_Whatever', LANG will be 'en'. DEFAULTLANG defaults to 'en' and can be set to a default value in asterisk.conf. Normally people don't change it. Hmm... 'core show settings' does not show datadir. Should it? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
Possibly Parallel Threads
- Asterisk 12 fails to launch with option -C
- running error: load_modules: No 'modules.conf' found - vesrion 1.4.1 from svn
- Logging Asterisk console
- hammering imap vmail storage
- running error, unable to load *.conf files: load_modules: No 'modules.conf' found - svn version 1.4.1