I have a case where it would be useful to inject a beep into a channel. The specific case would be User A calls User B and their channels are bridged. When User A hang up, I want User B to hear a beep.
I have a global hangup-handler context that I use to finalize CDRs. Every time someone hangs up the channel is routed there. It seems this would probably be the place to do it, but I am unsure of exactly which combination of applications to use (Playback or Background in a new context that uses Whisper?) or if it’s even possible to use certain combinations of applications.
If anyone knows how to implement this kind of thing any advice would be much appreciated. Thanks.