Another update: In my testing I had two phone calls going simultaneously (one from my mobile and one from my deskphone) and they both dropped out at virtually the same time. [Jun 22 16:58:13] WARNING[8830][C-000000c4]: file.c:293 ast_writestream: Translated frame write failed [Jun 22 16:58:13] WARNING[8830][C-000000c4]: app.c:2010 __ast_play_and_record: Error writing frame -- Recording was 0 seconds long but needs to be at least 1 - abandoning …. [Jun 22 16:58:30] WARNING[8806][C-000000c3]: file.c:293 ast_writestream: Translated frame write failed [Jun 22 16:58:30] WARNING[8806][C-000000c3]: app.c:2010 __ast_play_and_record: Error writing frame
Regards Michael Knill From: Michael Knill <michael.kn...@ipcsolutions.com.au> Date: Thursday, 22 June 2023 at 3:13 pm To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net> Subject: Re: [Astlinux-users] Problems with voicemail and Asterisk 16 on Astlinux 1.4.7 Update: Using tcpdump I managed to do a packet capture as the problem is unfortunately occurring frequently enough to make this possible. After looking at the pcap with Wireshark, the RTP stream looked fine and I could not find any empty RTP frames e.g. all had payload entries and were the same size. They were all G.711 PCMA encoded as well. Surely it cant be a disk write issue otherwise I would probably be seeing other issues and its usually intermittent? Regards Michael Knill From: Michael Knill <michael.kn...@ipcsolutions.com.au> Date: Thursday, 22 June 2023 at 2:24 pm To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net> Subject: Re: [Astlinux-users] Problems with voicemail and Asterisk 16 on Astlinux 1.4.7 Hmm the problem is still there after these changes and I have now stopped my upgrades until its fixed. After posting on the forum, jcolp has responded with: -------- The two cases for format_wav to return an error for writing is: 1. It was given a frame with no data in it 2. An error occurred when writing it to the disk The first case would require probably orchestrating things and going through the complete media flow to determine where/how a frame with no data appeared. -------- Any ideas where I would start my troubleshooting? Regards Michael Knill From: Michael Knill <michael.kn...@ipcsolutions.com.au> Date: Wednesday, 14 June 2023 at 6:16 am To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net> Subject: Re: [Astlinux-users] Problems with voicemail and Asterisk 16 on Astlinux 1.4.7 Hi Lonnie Thanks for this. So the testing I performed was to call into the system from my mobile to a number that goes directly to voicemail without a greeting. If the call stayed up for a couple of seconds then I would hang up and call again. Whenever I got the Warning messages, the call actually dropped. Another log line I didnt add was: -- Recording was 0 seconds long but needs to be at least 1 – abandoning I also posted on the Asterisk forum and someone mentioned that a solution to the problem could be setting “transmit_silence=yes” in asterisk.conf which I tried and it significantly reduced (possibly eliminated) the problem. I will try setting this at a couple of our problem sites to see if it fixes the problem and let you know how I go. Regards Michael Knill From: Lonnie Abelbeck <li...@lonnie.abelbeck.com> Date: Tuesday, 13 June 2023 at 10:26 pm To: AstLinux Users Mailing List <astlinux-users@lists.sourceforge.net> Subject: Re: [Astlinux-users] Problems with voicemail and Asterisk 16 on Astlinux 1.4.7 Hi Michael, I looked through the Asterisk code, this is basic core code, but some 'code stirring' has occurred between 13 and 16. If you can replicate it in the lab, does Astlinux 1.5.0 / 13se work as expected with your voicemail.conf? Does the error occur only on long (longer) voicemails? Does the error occur intermittently or all the time? Any pattern? Lonnie > On Jun 13, 2023, at 5:52 AM, Michael Knill > <michael.kn...@ipcsolutions.com.au> wrote: > > Hi Group > > Im trying to find out why I am getting voicemail errors on Asterisk 16 on > Astlinux 1.4.7 and hoping someone may have an idea where I should start > investigating. Im getting reports and example voicemails where the person has > been cut off mid recording only on Asterisk 16 on Astlinux 1.4.7. > Im intermittently getting the following which from testing happens prior to > it dropping out: > Jun 13 13:18:47 25160-Clinic88-CM1 local0.warn asterisk[1203]: > WARNING[1533][C-000004bc]: file.c:293 in ast_writestream: Translated frame > write failed > Jun 13 13:18:47 25160-Clinic88-CM1 local0.warn asterisk[1203]: > WARNING[1533][C-000004bc]: app.c:2010 in __ast_play_and_record: Error writing > frame > > Nothing on 1.3.10 using Asterisk 13. Both have the same voicemail config: > [general] > format = wav > maxsecs = 180 > minsecs = 1 > maxmsg = 1000 > maxgreet = 60 > maxsilence = 0 > minpassword = 4 > silencethreshold = 128 > maxlogins = 3 > nextaftercmd = yes > sendvoicemail = yes > review = yes > operator = yes > forcename = yes > forcegreetings = yes > tempgreetwarn = yes > callback = DialPlan1 > exitcontext = voicemail-exit > externpass = /mnt/kd/scripts/vm_password_sync > externnotify = php /mnt/kd/scripts/voicemailnotify.php > > I have tried Astlinux 1.5.0 and it still happens. I cant seem to find any > related bugs. > > Any ideas? > > Regards > > Michael Knill > Managing Director > > D: +61 2 6189 1360 > P: +61 2 6140 4656 > E: michael.kn...@ipcsolutions.com.au > W: ipcsolutions.com.au > > <image001.png> > Smarter Business Communications > > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.
_______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.