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
- AttendedTransfer command
- BlindTransfer command
- Call command
- ForwardCall command
- ListCallHistory command
- Hangup command
- Hold command
- ListActiveCalls command
- ListExtensions command
- ListExtensionTypes command
- Play command
- Record command
- Request command
- SendDTMF command
- Speak
- Unhold command
- ReceiveMessage command
- SendEmail command
- SendMessage command
- SendSMS command
- Array command
- Beep command
- Delay command
- DeleteFile command
- ForEach command
- GoTo command
- MoveFile command
- Reject command
- Route command
- SendAlarmNotification command
- SendMsg command
- UserInput command
- Var command
- WaitForMsg command
- CallSetup command
- Exit command
- ListAddressbokkContacts
- ListAddressbookNames command
- ReceiveAlarmNotification