OMP Extension Dialing
The OMP Extension Dialing feature enables the following screen, which allows you to associate a 4 digit extension with an AGENT
or STANDARD
queue.
Lambda Rules
If you want to call the extension lookup lambda directly.
If extension is not found return
{"type": "NOT_FOUND"}
If extension is an agent, return
{"type": "AGENT", "queue": userName}
If extension is not an agent, check if there is a matching queue name on the instance
If queue found, return
{"type": "STANDARD", "queue": queueARN}
otherwise, return
{"type": "NOT_FOUND"}
Configuring
Simple
stackProps = {
...
features: {
extensionDialing: true
}
}
Advanced
stackProps = {
...
features: {
extensionDialing: {
extPrompt: "<speak>If you know your party's extension, please dial it now.</speak>",
retryCount: 3,
retryPrompt: '<speak>We could not find that extension. Returning to previous menu.</speak>',
retriesExceededPrompt: '<speak>We could not find that extension. Returning to previous menu.</speak>'
}
}
}