(Update with the copy of version: 8.5.2DRAFT) |
(Update with the copy of version: 8.5.2DRAFT) |
||
Line 9: | Line 9: | ||
== Example== | == Example== | ||
===Request:=== | ===Request:=== | ||
− | |||
<pre> | <pre> | ||
+ | POST /api/v2/me/calls/00RV9H7S6O8V3BSHAG7GK2LAES00002M | ||
{ | { | ||
"operationName": "StartCallRecording" | "operationName": "StartCallRecording" | ||
} | } | ||
</pre> | </pre> | ||
+ | |||
===Response:=== | ===Response:=== | ||
<pre> | <pre> | ||
Line 28: | Line 29: | ||
"data": { | "data": { | ||
"messageType": "CallStateChangeMessage", | "messageType": "CallStateChangeMessage", | ||
+ | "extensions": { | ||
+ | "WrapUpTime": 0, | ||
+ | "BusinessCall": 0 | ||
+ | }, | ||
"call": { | "call": { | ||
− | "id": "0071022ec8ac8056", | + | "id": "00RV9H7S6O8V3BSHAG7GK2LAES00002M", |
+ | "connId": "0071022ec8ac8056", | ||
"state": "Established", | "state": "Established", | ||
"callUuid": "00RV9H7S6O8V3BSHAG7GK2LAES00002M", | "callUuid": "00RV9H7S6O8V3BSHAG7GK2LAES00002M", | ||
"deviceUri": "http://127.0.0.1:8080/api/v2/devices/55b8023d-573d-48d3-b4ac-e29ba3c5861d", | "deviceUri": "http://127.0.0.1:8080/api/v2/devices/55b8023d-573d-48d3-b4ac-e29ba3c5861d", | ||
− | "uri": "http://127.0.0.1:8080/api/v2/me/calls/ | + | "uri": "http://127.0.0.1:8080/api/v2/me/calls/00RV9H7S6O8V3BSHAG7GK2LAES00002M", |
"participants": [ | "participants": [ | ||
"5000" | "5000" |
Revision as of 21:21, August 28, 2015
StartCallRecording
This operation is part of the Voice API section of the Genesys Web Services REST API.
Overview
Starts call recording.
Recording will stop when the call is completed or StopCallRecording is called either on the call or on the device.
Example
Request:
POST /api/v2/me/calls/00RV9H7S6O8V3BSHAG7GK2LAES00002M { "operationName": "StartCallRecording" }
Response:
{ "statusCode": 0 }
Event:
{ "data": { "messageType": "CallStateChangeMessage", "extensions": { "WrapUpTime": 0, "BusinessCall": 0 }, "call": { "id": "00RV9H7S6O8V3BSHAG7GK2LAES00002M", "connId": "0071022ec8ac8056", "state": "Established", "callUuid": "00RV9H7S6O8V3BSHAG7GK2LAES00002M", "deviceUri": "http://127.0.0.1:8080/api/v2/devices/55b8023d-573d-48d3-b4ac-e29ba3c5861d", "uri": "http://127.0.0.1:8080/api/v2/me/calls/00RV9H7S6O8V3BSHAG7GK2LAES00002M", "participants": [ "5000" ], "participantsInfo": [ { "country": { "name": "", "code": "", "callingCode": "" }, "formattedPhoneNumber": "5000", "location": null, "E164digits": "5000", "isValidNumber": false } ], "ani": "5000", "dnis": "5001", "callType": "Internal", "capabilities": [ "DeleteUserDataPair", "SingleStepTransfer", "InitiateConference", "InitiateTransfer", "UpdateUserData", "Hold", "Hangup", "DeleteUserData", "SingleStepConference", "SendDtmf", "AttachUserData", "PauseCallRecording", "StopCallRecording" ], "userData": { "GSIP_RECORD": "ON", "IW_CaseUid": "8dfca5ac-ed84-4f9a-d902-8ef3c2faad81", "IW_BundleUid": "ba431089-f52b-4ce2-0658-f8bdfdfe3034", "GSIP_REC_FN": "00RV9H7S6O8V3BSHAG7GK2LAES00002M_5001_5000_5001_2013-08-09_21-11-22_hpe-voicevm-84.genesyslab.com__%3Ccont_center_id%3E" }, "duration": "106", "mute": "Off", "recordingState": "Recording" }, "phoneNumber": "5001", "notificationType": "CallRecordingStateChange" }, "channel": "/v2/me/calls" }
Comments or questions about this documentation? Contact us for support!