The following vector example connects a user directly to the Service Observing FAC and extension based on the digits that are collected by Call Prompting.
Service Observing vector with user-entered FAC and extension
1. wait-time 0 secs hearing ringback
2. collect 5 digits after announcement 2300 [
Please enter your 5-digit security
code.
]
3. goto step 5 if digits = 12345 [security code]
4. disconnect after announcement 2000
5. wait-time 0 seconds hearing ringback
6. collect 6 digits after announcement 3245 [
Please enter the number 11 for
listen-only observing or the number 12 for listen/talk observing followed by
the number of the extension you would like to observe.
]
7. route-to digits with coverage n
8. stop