marc+ast at milestonerdl.com
2008-Mar-10 04:25 UTC
[asterisk-users] 1.6.beta5 (format 0x40 (slin))
(alternative title - what did I do wrong? or suggestions to make this work) Thought I'd try 1.6 beta5 (and 1.4.18 didn't want to compile vpb /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/i386-redhat-linux/bits/gthr-default.h:48: error: ? does not name a type ) 1.6 did compile and almost works. 'cept it thinks the .gsm files are not played. from extensions.conf exten => s,2,BackGround(/var/lib/asterisk/sounds/en/vm-instructions.gsm) running asterisk -- Executing [s at default:2] BackGround("vpb/0-3", "/var/lib/asterisk/sounds/en/vm-instructions.gsm") in new stack [Mar 10 00:07:45] WARNING[23934]: file.c:557 ast_openstream_full: File /var/lib/asterisk/sounds/en/vm-instructions.gsm does not exist in any format [Mar 10 00:07:45] WARNING[23934]: file.c:856 ast_streamfile: Unable to open /var/lib/asterisk/sounds/en/vm-instructions.gsm (format 0x40 (slin)): No such file or directory [Mar 10 00:07:45] WARNING[23934]: pbx.c:7138 pbx_builtin_background: ast_streamfile failed on vpb/0-3 for /var/lib/asterisk/sounds/en/vm-instructions.gsm And the built in: -- Executing [s at default:14] VoiceMail("vpb/0-0", "400") in new stack [Mar 10 00:07:36] WARNING[23934]: file.c:557 ast_openstream_full: File vm-intro does not exist in any format [Mar 10 00:07:36] WARNING[23934]: file.c:856 ast_streamfile: Unable to open vm-intro (format 0x40 (slin)): No such file or directory As you can see, the file exists. locate vm-intro /usr/share/asterisk/sounds/vm-intro.gsm /var/lib/asterisk/sounds/en/vm-intro.gsm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 marc+ast at milestonerdl.com wrote:> exten => s,2,BackGround(/var/lib/asterisk/sounds/en/vm-instructions.gsm)Drop the .gsm at the end of the filename. Asterisk will chose the best format for the call. - -- Kind Regards, Matt Riddell Director _______________________________________________ http://www.venturevoip.com (Great new VoIP end to end solution) http://www.venturevoip.com/news.php (Daily Asterisk News - html) http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH1Q9qDQNt8rg0Kp4RAvGJAJ9n6od52e3URmdzIAM2ApAJ3hoWngCfRktZ IlLrxWu5pPzkSa6R84AmRkQ=i4jr -----END PGP SIGNATURE-----