Back to Blog
J
John Congdon ·

Asterisk 22.10 Breaks Record App

I have been using Asterisk for many, many years.

Today I release some new code, and upon code release we automatically update Asterisk to the latest version. All of a sudden, I started getting reports from customer service letting me know that recording voice mails was no longer working. I started looking into it and went down the wrong rabbit hole at the beginning, only to circle back and find out that the record app just was not working at all.

I tried many ways of fixing it, but in the end opted to replace record with mix monitor, and that seemed to fix my issues. I am going to share the diff below, and hopefully this can help someone else.

- same => n,Record(${AC_STUB}.wav,0,600) + + same => n,MixMonitor(${AC_STUB}.wav) + same => n(dtmf_loop),Set(DIGIT_PRESSED=) + same => n,Read(DIGIT_PRESSED,,1,,1,600) + same => n,GotoIf($["${DIGIT_PRESSED}" = "#"]?stop_recording) + ; If they timed out or didn't press anything, loop back or handle timeout + same => n,GotoIf($["${DIGIT_PRESSED}" = ""]?stop_recording) + same => n(stop_recording),StopMixMonitor()

J

John Congdon

June 24, 2026

Share

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →