If I use this command and the user hangs up, the recording does not stop and creates a zombie channel. However, I used the k option to keep the recording after hanging up.
Is there a way to stop the recording and save the file after the user hangs up?
same => n,Record(/etc/asterisk/Voicemail/${Message}:sln,qk)
What is the underlying technology of the caller? Provided it is told the channel has hung up, it will be terminated. If that isn’t occurring then the problem isn’t Record but the channel.