Commits
Travis Cross committed 1e273e514d3
Avoid playback on dead channels in voicemail For years we've been generating spurious messages like: [WARNING] switch_ivr_play_say.c:348 Macro [voicemail_ack]: 'saved' did not match any patterns This would happen when the caller hangs up during the playback of certain prompts in the voicemail system where we weren't checking the return value of vm_macro_get(). Looking closely at the log, it's clear we were calling down into switch_ivr_phrase_macro() long after the channel was gone. The message above is also misleading -- switch_ivr_phrase_macro() would have been able to find that pattern just fine, but it never actually looked because the channel was gone. We'll clean up that message in a follow on commit.