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