ForwardCall command
The ForwardCall command forwards the call by ID to another destination while the call is in ringing state. A great example for its command is the case when the boss is on a meeting and gets a call but can't answer it. This command forwards the call to the secretary.
Request parameters
Parameter name | Example value | Description | Mandatory |
CallId | 345fad34 | The ID of the call which will be forwarded. If this command is in a response to a call notification, this parameter will be the ID of that call and can be omitted. | no |
Destination | 500 | The number where the call will be forwarded to. | yes |
Username | admin | The username of the account. The username and password parameters are used to authenticate the user. | yes |
Password | abc123 | Specifies the password. The username and password parameters are used to authenticate the user. | yes |
Response parameters
Parameter name | Example value | Description | Mandatory |
Code | 200 | Returns the status code of the response. | yes |
Message | Command successfully executed | Returns the description of the response code. | yes |
NotificationName | CallConnected | Name of the notification request type. | no |
OzML example
This simple example will forward the call to extension number 102.
1 2 3 4 |
<? xml version = "1.0" ?> < Response > < ForwardCall Destination = "102" ></ ForwardCall > </ Response > |
Example request and response
URL request
Response
1 2 3 4 5 6 |
<? xml version = "1.0" ?> < Code >200</ Code > < Message >Command successfully executed</ Message > </ Response > |
More information
- Comando de transferencia asistida
- Comando de transferencia ciega
- Comando de llamada
- Comando de reenvío de llamada
- Comando para listar historial de llamadas
- Comando para colgar
- Comando para poner en espera
- Comando para listar llamadas activas
- Comando para listar extensiones
- Comando para listar tipos de extensión
- Comando para reproducir
- Comando para grabar
- Comando de solicitud
- Comando para enviar DTMF
- Hablar
- Comando para quitar de espera
- Comando para recibir mensaje
- Comando para enviar correo
- Comando para enviar mensaje
- Comando para enviar SMS
- Comando de arreglo
- Comando para emitir tono
- Comando para retraso
- Comando para eliminar archivo
- Comando para cada
- Comando para ir a
- Comando para mover archivo
- Comando para rechazar
- Comando para enrutar
- Comando para enviar notificación de alarma
- Comando para enviar mensaje
- Comando para entrada de usuario
- Comando para variable
- Comando para esperar mensaje
- Comando para configuración de llamada
- Comando para salir
- Listar contactos de agenda
- Comando para listar nombres de agenda
- Recibir notificación de alarma