I have a call menu set up to allow caller enter extension to reach agents. The custom dial plan looks like this:
exten => _XXXX,1,Playback(/var/lib/asterisk/sounds/silence)
exten => _XXXX,n,Goto(vicidial-auto-phones,${EXTEN},1)
Instead, I would like to somehow direct a call to an agent direct queue of the agent that has that extension.
I have set up internal, virtual DIDs (AD + extension, so for example AD3392) that are configured to go to agent direct queues and fall back to extensions if call fails. How would I indicate this custom dial plan to go to a specific internal DID?
Something like:
exten => _XXXX,n,Goto(did,AD${EXTEN},1)