The Record command records the conversation in a call. When the call finishes, a
RecordCompleted notification will be sent to the specified URL.
One of the parameters of the notification is the RecordURL parameter which contains the path to the recorded call.
The moment the recording starts it is saved in the Ozeki Phone System XE HttpRecordings folder.
You can see how to use this command in a HTTP request and what HTTP response you will get from the phone system (Figure 1).
Figure 1 - Record Application/XML example
string value, Record
Specifies the type of the HTTP API command.
string value, e.g. XzeOK
The call ID of the call you want to record.
string value, (mp3 or wav)
The file format you want the call to be recorded. Defaultly it is mp3.
Step 1: There must be a call between two extensions. Use ListActiveCalls command to find the call ID of the call you want to record.
You can find the CallId in the response, between one of the <CallId></CallId> nodes.
Step 2: Initiate a record using a HTTP request as seen in the picture above. Paste the call ID you found in Step 1 in the CallId parameter of the request.
Step 3: This step is not mandatory. You can use the recording by downloading it from the IP address given in the
RecordCompleted notification (RecordURL parameter).