Call record_wav
Records a call in wav format. The recordings will be stored in the Ozeki Phone System\HttpRecordings folder.
def record_wav finished_url="" |
Method parameters
Parameter name | Value | Description | Default value | Mandatory |
finished_url | string value e.g. 'http://yourapp.com/record_finished.php' |
This URL will be requested if the record finished. | Empty string | No |
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.record_wav end |