Call forward
Forward a call with ringing call state by ID to another number.
def forward destination |
Method parameters
Parameter name | Value | Description | Default value | Mandatory |
destination | string value e.g. '2000' |
The destination number where the call will be forwarded to. | (None) | Yes |
Example
#get the active calls list calls = OPS.list_active_calls '192.168.0.1', nil, 'admin', 'password' #pick up the first call call = calls[0] if (call != nil) call.forward 1000 end |