I have about 400 inbound routes that need to play an announcement before being routed normally. “For quality and training purposes, this call my be monitored.”
I started working through the list but I don’t want to have to make 400 separate announcements.
I tried adding this to my “extensions_custom.conf” file and then changing my inbound trunk context to “context=inbound-play-msg-to-all” but it didn’t work. Didn’t seem to affect any incoming calls at all.
[inbound-play-msg-to-all]
exten => s,1,NoOp(Lets play a message for all incoming messages)
same => s,Playback(quality_and_training_advisement_pro.wav)
same => s,Goto(ext-did,${EXTEN},1)
same => s,Hangup
[inbound-play-msg-to-all]
exten => _.,1,NoOp(Lets play a message for all incoming messages)
exten => _.,n,Playback(quality_and_training_advisement_pro.wav) ; you prob don't wan't the file ext
exten => _.,n,Goto(from-trunk,${EXTEN},1)
Okay here’s what my extensions_custom.conf looks like:
[inbound-play-msg-to-all]
exten => _.,1,NoOp(Lets play a message for all incoming messages)
exten => _.,n,Playback(custom/quality_and_training_advisement_pro)
exten => _.,n,Goto(from-trunk,${EXTEN},1)
Still not working. Just follows normal inbound route call flow.
Ok will do. I’ll need to wait until everyone goes home first because there are so many calls incoming and outgoing I’ll need to wait until it’s quite to isolate a single call. Thanks for all your help!
Line 1 is the only relevant line, you have not configured the trunk to use your new context. If you have separate inbound and outbound peer details, configure both with the context line.