Hello, I have moved from Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k (debian pkg) to CVS-HEAD, and realtime. Compiled no problem and now running, with realtime extensions and sip users in postgres (ODBC connection) database, trunking also works. I have looked on google, wiki, and this mailing list, along with talking to some peers, but to no avail. My problem revolves around voicemail. I have looked at the code, and added a couple of ast_log entries to help debug. Those are the only changes to the code. The voicemail.conf is exactly the same as it was for a working 1.0.7 version (I tried realtime voicemail but got the same problem) I realise it can not find the voicemail playback files, which are installed on the system (I have checked). I just do not understand why not. Any help solving this would be much appreciated. Here is the console output. == No one is available to answer at this time (1:0/0/0) -- Executing Voicemail("SIP/4560-4e18", "u4560") Mar 25 04:46:23 WARNING[28472]: app_voicemail.c:1713 invent_message: fn [/var/spool/asterisk/voicemail/default/4560/greet] Mar 25 04:46:23 WARNING[28472]: file.c:480 ast_openstream_full: File en/vm-theperson Mar 25 04:46:23 WARNING[28472]: file.c:485 ast_openstream_full: File vm-theperson Mar 25 04:46:23 WARNING[28472]: file.c:489 ast_openstream_full: File vm-theperson does not exist in any format Mar 25 04:46:23 WARNING[28472]: file.c:490 ast_openstream_full: File vm-theperson does not exist in any format Mar 25 04:46:23 WARNING[28472]: file.c:795 ast_streamfile: Unable to open vm-theperson (format ulaw): No such file or directory Mar 25 04:46:23 WARNING[28472]: app_voicemail.c:1730 invent_message: ast_streamfile [vm-theperson] == Spawn extension (local-sip, 4560, 2) exited non-zero on 'SIP/4560-4e18' cat /etc/asterisk/voicemail.conf directoryintro=/usr/share/asterisk/sounds ; removing this makes no ; difference dbuser=asterisk ; not sure this is needed dbhost=localhost dbname=asterisk serveremail=asterisk attach=yes skipms=3000 maxsilence=10 silencethreshold=128 maxlogins=3 [zonemessages] eastern=America/New_York|'vm-received' Q 'digits/at' IMp central=America/Chicago|'vm-received' Q 'digits/at' IMp central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M 'hours' [default] 4560 => 4560,4560 Mailbox ; end cat ls -l /usr/share/asterisk/sounds | grep vm-theperson -rw-r--r-- 1 root root 2508 Mar 21 11:22 vm-theperson.gsm Any help in solving this would be much appreciated, Spencer
All of my sounds are under /var/lib/asterisk/sounds. I don't have a directory /usr/share/asterisk. None of my configuration files have a pointer to a sounds directory so I'm assuming it's looking in /var/lib/asterisk/sounds by default. MARK. G.Marshall wrote:>Hello, > >I have moved from Asterisk 1.0.7-BRIstuffed-0.2.0-RC7k (debian pkg) to >CVS-HEAD, and realtime. Compiled no problem and now running, with >realtime extensions and sip users in postgres (ODBC connection) database, >trunking also works. > >I have looked on google, wiki, and this mailing list, along with talking >to some peers, but to no avail. > >My problem revolves around voicemail. I have looked at the code, and >added a couple of ast_log entries to help debug. Those are the only >changes to the code. The voicemail.conf is exactly the same as it was for >a working 1.0.7 version (I tried realtime voicemail but got the same >problem) I realise it can not find the voicemail playback files, which >are installed on the system (I have checked). I just do not understand >why not. Any help solving this would be much appreciated. > >Here is the console output. > > == No one is available to answer at this time (1:0/0/0) > -- Executing Voicemail("SIP/4560-4e18", "u4560") >Mar 25 04:46:23 WARNING[28472]: app_voicemail.c:1713 invent_message: fn >[/var/spool/asterisk/voicemail/default/4560/greet] > >Mar 25 04:46:23 WARNING[28472]: file.c:480 ast_openstream_full: File >en/vm-theperson >Mar 25 04:46:23 WARNING[28472]: file.c:485 ast_openstream_full: File >vm-theperson >Mar 25 04:46:23 WARNING[28472]: file.c:489 ast_openstream_full: File >vm-theperson does not exist in any format >Mar 25 04:46:23 WARNING[28472]: file.c:490 ast_openstream_full: File >vm-theperson does not exist in any format >Mar 25 04:46:23 WARNING[28472]: file.c:795 ast_streamfile: Unable to open >vm-theperson (format ulaw): No such file or directory >Mar 25 04:46:23 WARNING[28472]: app_voicemail.c:1730 invent_message: >ast_streamfile [vm-theperson] > > == Spawn extension (local-sip, 4560, 2) exited non-zero on 'SIP/4560-4e18' > >cat /etc/asterisk/voicemail.conf >directoryintro=/usr/share/asterisk/sounds ; removing this makes no >; difference >dbuser=asterisk ; not sure this is needed >dbhost=localhost >dbname=asterisk >serveremail=asterisk >attach=yes >skipms=3000 >maxsilence=10 >silencethreshold=128 >maxlogins=3 > > >[zonemessages] >eastern=America/New_York|'vm-received' Q 'digits/at' IMp >central=America/Chicago|'vm-received' Q 'digits/at' IMp >central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M >'hours' > >[default] >4560 => 4560,4560 Mailbox > >; end cat > >ls -l /usr/share/asterisk/sounds | grep vm-theperson >-rw-r--r-- 1 root root 2508 Mar 21 11:22 vm-theperson.gsm > >Any help in solving this would be much appreciated, > >Spencer > >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >