Route command
The Route command routes a phone call. By routing calls, you can call another number if the call wasn't answered for a specified time. For example if John can't pick up the phone in 20 seconds it will be routed to Michael and he gets 30 seconds to pick it up if not it will be routed to Jessy.
Parameters
Parameter name | Example value | Description | Mandatory |
CallerId | 1000 | The information the callee receives about the identity of the caller, i.e. what the callee should see regarding who calls. | no |
Destination | 100 | Extension to route the call to. | no |
DialedNumber | 1001 | This parameter determines which number should be called. | no |
RingTime | 30 | For how many seconds calling the destination. | no |
OzML examples
This OzML example shows how you can route the call to an exact destination with the Route command. In the RingTime attribute, you can specify the number of seconds the phone rings on the destination side.
<Response> <Route RingTime="30" Destination="1000"/> </Response>
The other example demonstrates that you can destinate the call to a VoIP service connection, and if the DialedNumber is specified, this number will be called through the VoIP service connection.
<Response> <Route RingTime="30" Destination="voipservice1" DialedNumber="234567"/> </Response>
More information
- Commande AttendedTransfer
- Commande BlindTransfer
- Commande d'appel
- Commande ForwardCall
- Commande ListCallHistory
- Commande Hangup
- Commande Hold
- Commande ListActiveCalls
- Commande ListExtensions
- Commande ListExtensionTypes
- Commande Play
- Commande Record
- Commande Request
- Commande SendDTMF
- Speak
- Commande Unhold
- Commande ReceiveMessage
- Commande SendEmail
- Commande SendMessage
- Commande SendSMS
- Commande Array
- Commande Beep
- Commande Delay
- Commande DeleteFile
- Commande ForEach
- Commande GoTo
- Commande MoveFile
- Commande Reject
- Commande Route
- Commande SendAlarmNotification
- Commande SendMsg
- Commande UserInput
- Commande Var
- Commande WaitForMsg
- Commande CallSetup
- Commande Exit
- ListAddressbokkContacts
- Commande ListAddressbookNames
- ReceiveAlarmNotification