Call record_mp3
Records a call in mp3 format. The recordings will be stored in the Ozeki Phone System\HttpRecordings folder.
def record_mp3 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_mp3 'http://localhost/record_finished.php' end |
More information
- NG initialize
- NG send_SMS
- NG send_SMS
- OPS initialize
- OPS make_call
- OPS send_SMS
- OPS send_email
- OPS list_active_calls
- OPS self.make_call
- OPS self.send_SMS
- OPS self.send_email
- OPS self.list_active_calls
- Call attended_transfer
- Call blind_transfer_callee
- Call blind_transfer_caller
- Call forward
- Call hangup
- Call hold
- Call play_file
- Call play_file_to_callee
- Call play_file_to_caller
- Call record_mp3
- Call record_wav
- Call dtmf
- Call dtmf_to_callee
- Call dtmf_to_caller
- Call speak
- Call speak_to_callee
- Call speak_to_caller
- Call unhold
- Class NG
- Class OPS
- Class Response
- Class OPS
- SMS self.ng_send_SMS
- SMS self.ops_send_SMS
- Class SMS