Hi, we're running Asterisk 1.2.10 and have been randomly being left blank voicemails with long messages that we can't hear. I've searched and searched but cannot find a solution. This is what happens: Internal Server runs Asterisk 1.2.10 where our mailboxes are Incoming Server (behind a firewall) runs Asterisk 1.2.13 and calls are bridged between this server and our internal server. I have not heard any complaints from users on the .13 server, but it's happening too frequently to call a fluke on the .10 server. Caller gets voicemail, leaves a message, hangs up. Voicemail message is emailed to user saying the correct length (0:32, 1:12, etc.), tries to play it and player says 0 seconds long. Tries to access via phone, and the message again is blank, even though the text file specifies correct length. Voicemail is being saved in .WAV (wav49). I tried adding in [options] transmit_silence_during_record = yes into asterisk.conf and it seemed to help for a bit, but then we started getting the odd behavior again. Here is a capture of a failed message: //DIDN'T WORK Jul 6 11:57:07 DEBUG[9601] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:07 DEBUG[9601] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:07 DEBUG[9601] app.c: play_and_record: <None>, /var/spool/asterisk/voicemail/default/116/tmp/IVnRHt, 'wav49' Jul 6 11:57:55 DEBUG[9601] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:55 DEBUG[9601] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:55 DEBUG[9601] app_voicemail.c: Attaching file '/var/spool/asterisk/voicemail/default/116/INBOX/msg0000', format 'WAV', uservm is '2048', global is 2048 Jul 6 11:57:55 DEBUG[9601] app_voicemail.c: Sent mail to username at mydomain.com with command '/usr/sbin/sendmail -t' //THIS WORKED/WORKED Jul 6 12:11:24 DEBUG[10184] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:24 DEBUG[10184] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:24 DEBUG[10184] app.c: play_and_record: <None>, /var/spool/asterisk/voicemail/default/116/tmp/rGc1XJ, 'wav49' Jul 6 12:11:51 DEBUG[10184] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:51 DEBUG[10184] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:51 DEBUG[10184] app_voicemail.c: Attaching file '/var/spool/asterisk/voicemail/default/116/INBOX/msg0000', format 'WAV', uservm is '2048', global is 2048 Jul 6 12:11:51 DEBUG[10184] app_voicemail.c: Sent mail to username at mydomain.com with command '/usr/sbin/sendmail -t' They look identical! Same mailbox, same debug output, different behavior. I was noticing a pattern of certain callers (which made me turn on the record silence option), but my users tell me it's not only those callers, and sometimes those callers do successfully leave messages; I only hear when it doesn't work. What can I do?! I'm stumped, and the situation is intolerable. Thanks! Leah Newmark Capalon VoIP
I've got the exact same issue lately. Check the msgxxxx.txt file for blank lines or 2 line caller I'd info. That's causing my issue. Haven't figured out why yet but manually removing the blank line and consolidating the callerid to one line allows me to play it via the phone. D Dave Bour Desktop Solution Center 905.381.0077 dcbour at desktopsolutioncenter.ca For those who just want it to work... Giving you complete IT peace of mind. (Sent via Blackberry - hence message may be shorter than my usual verbose responses) PIN 4cc364db (as of March 24, 2007) ----- Original Message ----- From: asterisk-users-bounces at lists.digium.com <asterisk-users-bounces at lists.digium.com> To: asterisk-users at lists.digium.com <asterisk-users at lists.digium.com> Sent: Thu Jul 19 10:41:44 2007 Subject: [asterisk-users] Blank Voicemails Hi, we're running Asterisk 1.2.10 and have been randomly being left blank voicemails with long messages that we can't hear. I've searched and searched but cannot find a solution. This is what happens: Internal Server runs Asterisk 1.2.10 where our mailboxes are Incoming Server (behind a firewall) runs Asterisk 1.2.13 and calls are bridged between this server and our internal server. I have not heard any complaints from users on the .13 server, but it's happening too frequently to call a fluke on the .10 server. Caller gets voicemail, leaves a message, hangs up. Voicemail message is emailed to user saying the correct length (0:32, 1:12, etc.), tries to play it and player says 0 seconds long. Tries to access via phone, and the message again is blank, even though the text file specifies correct length. Voicemail is being saved in .WAV (wav49). I tried adding in [options] transmit_silence_during_record = yes into asterisk.conf and it seemed to help for a bit, but then we started getting the odd behavior again. Here is a capture of a failed message: //DIDN'T WORK Jul 6 11:57:07 DEBUG[9601] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:07 DEBUG[9601] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:07 DEBUG[9601] app.c: play_and_record: <None>, /var/spool/asterisk/voicemail/default/116/tmp/IVnRHt, 'wav49' Jul 6 11:57:55 DEBUG[9601] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:55 DEBUG[9601] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:55 DEBUG[9601] app_voicemail.c: Attaching file '/var/spool/asterisk/voicemail/default/116/INBOX/msg0000', format 'WAV', uservm is '2048', global is 2048 Jul 6 11:57:55 DEBUG[9601] app_voicemail.c: Sent mail to username at mydomain.com with command '/usr/sbin/sendmail -t' //THIS WORKED/WORKED Jul 6 12:11:24 DEBUG[10184] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:24 DEBUG[10184] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:24 DEBUG[10184] app.c: play_and_record: <None>, /var/spool/asterisk/voicemail/default/116/tmp/rGc1XJ, 'wav49' Jul 6 12:11:51 DEBUG[10184] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:51 DEBUG[10184] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:51 DEBUG[10184] app_voicemail.c: Attaching file '/var/spool/asterisk/voicemail/default/116/INBOX/msg0000', format 'WAV', uservm is '2048', global is 2048 Jul 6 12:11:51 DEBUG[10184] app_voicemail.c: Sent mail to username at mydomain.com with command '/usr/sbin/sendmail -t' They look identical! Same mailbox, same debug output, different behavior. I was noticing a pattern of certain callers (which made me turn on the record silence option), but my users tell me it's not only those callers, and sometimes those callers do successfully leave messages; I only hear when it doesn't work. What can I do?! I'm stumped, and the situation is intolerable. Thanks! Leah Newmark Capalon VoIP _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- 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/20070719/03c3b5c8/attachment.htm
Regarding my issue with voicemails not being played, though they have length messages in it: Dave suggested the following: I've got the exact same issue lately. Check the msgxxxx.txt file for blank lines or 2 line caller I'd info. That's causing my issue. Haven't figured out why yet but manually removing the blank line and consolidating the callerid to one line allows me to play it via the phone. D Dave Bour Desktop Solution Center 905.381.0077 dcbour at desktopsolutioncenter.ca <http://lists.digium.com/mailman/listinfo/asterisk-users> Thank you for the suggestion, but I doubt that would help the case. I've diffed the files from both messages that work and messages that don't work, and the txt files don't show any obvious difference. I.e., both ones that work and ones that don't would have both caller ID name and number, and they're always on one line. The sound files I believe is where the problem lies. All sound files that don't work are 60 bytes in size, while the ones that do work are much longer. I am led to believe the file isn't actually recorded, and hence irretrievable. All the ones that don't work read exactly the same in binary...but no sound data is actually in there. Is this a bug that I need to report, or is there something I need to tweak my settings? Leah Newmark Capalon VoIP http://www.olehphone.com
Dave writes:Sounds like there's something wrong there. I don't remember the beginning of the conversation as to when/how if it was stated. If all your failing messages are 60 bytes, something's definitely going on. Have you found a pattern to it's occurrence? My original email was as follows: ---------------------------------------------------------------- We're running Asterisk 1.2.10 and have been randomly being left blank voicemails with long messages that we can't hear. I've searched and searched but cannot find a solution. This is what happens: Internal Server runs Asterisk 1.2.10 where our mailboxes are Incoming Server (behind a firewall) runs Asterisk 1.2.13 and calls are bridged between this server and our internal server. I have not heard any complaints from users on the .13 server, but it's happening too frequently to call a fluke on the .10 server. Caller gets voicemail, leaves a message, hangs up. Voicemail message is emailed to user saying the correct length (0:32, 1:12, etc.), tries to play it and player says 0 seconds long. Tries to access via phone, and the message again is blank, even though the text file specifies correct length. Voicemail is being saved in .WAV (wav49). I tried adding in [options] transmit_silence_during_record = yes into asterisk.conf and it seemed to help for a bit, but then we started getting the odd behavior again. Here is a capture of a failed message: //DIDN'T WORK Jul 6 11:57:07 DEBUG[9601] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:07 DEBUG[9601] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:07 DEBUG[9601] app.c: play_and_record: <None>, /var/spool/asterisk/voicemail/default/116/tmp/IVnRHt, 'wav49' Jul 6 11:57:55 DEBUG[9601] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:55 DEBUG[9601] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 11:57:55 DEBUG[9601] app_voicemail.c: Attaching file '/var/spool/asterisk/voicemail/default/116/INBOX/msg0000', format 'WAV', uservm is '2048', global is 2048 Jul 6 11:57:55 DEBUG[9601] app_voicemail.c: Sent mail to username at mydomain.com with command '/usr/sbin/sendmail -t' //THIS WORKED/WORKED Jul 6 12:11:24 DEBUG[10184] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:24 DEBUG[10184] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:24 DEBUG[10184] app.c: play_and_record: <None>, /var/spool/asterisk/voicemail/default/116/tmp/rGc1XJ, 'wav49' Jul 6 12:11:51 DEBUG[10184] app.c: Locked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:51 DEBUG[10184] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/116/INBOX' Jul 6 12:11:51 DEBUG[10184] app_voicemail.c: Attaching file '/var/spool/asterisk/voicemail/default/116/INBOX/msg0000', format 'WAV', uservm is '2048', global is 2048 Jul 6 12:11:51 DEBUG[10184] app_voicemail.c: Sent mail to username at mydomain.com with command '/usr/sbin/sendmail -t' They look identical! Same mailbox, same debug output, different behavior. I was noticing a pattern of certain callers (which made me turn on the record silence option), but my users tell me it's not only those callers, and sometimes those callers do successfully leave messages; I only hear when it doesn't work. What can I do?! I'm stumped, and the situation is intolerable. ---------------------------------------------------------------------- At one point, I thought it was connected to Vonage since the same caller consistently had problems, but when he called with his Verizon line, it had worked. He started calling on his Verizon line, and that sometimes has problems as well. I think we see this behavior most with him, since he's a big client and leaves lots of messages. There have definitely been other clients calling that we don't hear the message from. I have not noticed any pattern, debug looks the same. I am stumped. Thanks! Leah Newmark Capalon VoIP http://www.olehphone.com
Some brazilian here on list?
Yep. From Brasilia-DF ! :) 2007/7/29, Jozeph Brasil <jozeph at globalmedia.com.br>:> > Some brazilian here on list? > > > > _______________________________________________ > --Bandwidth and Colocation Provided by http://www.api-digital.com-- > > 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/20070729/54a001e4/attachment.htm
S?o Paulo, SP here ;) On 7/29/07, Luis Antonio Prata Barbosa <luispratalistas at gmail.com> wrote:> > Yep. From Brasilia-DF ! :) > > 2007/7/29, Jozeph Brasil <jozeph at globalmedia.com.br>: > > > > Some brazilian here on list? > > > > > > >-- Hugo da Costa Rebelo Tel: +55 (11) 7165-4630 www.hugorebelo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070729/77fa078f/attachment.htm
On 7/29/07, Jozeph Brasil <jozeph at globalmedia.com.br> wrote:> Some brazilian here on list? >There are many more here: http://www.asteriskbrasil.org/ -- Kristian Kielhofner