Customer Recording
Author: Salman Pathan
325 views
Purpose:
This function is used to get recording link of a particular Jodo voice call unique System Call ID.
Use Case:
- Playback of media sessions e.g., calls to be played within the CRM/ Business application.
- Send links to users / customers of the media session recorded
User Input Parameters:
Node | M/O | Data type size | Value | Description |
---|---|---|---|---|
method | M | Text | customer_recording | Unique Command for JSON Request. (This method value will not be changed) |
apikey | M | Text | test_org | Unique key assigned to an organisation. (This API key will change per client organisation) |
servicekey | M | Text | VoiceProcess | Unique key map to the process. (This servicekey will change per client process) |
sessionid | O | Integer | 8 | Sessioncalllistid – Session ID to be passed when data needs to be pushed to particular Jodo Session |
systemcallid | M | Text | 140912183554281005 | Unique value of Systemcallid. (dynamic value generated at the time of calls dialed to the user) |
reqdatetime | M | Text | 2018-11-12 14:00:05 | Date and Time of the request. (Date format: YYYY-MM-DD hh:mm:ss) |
Output Parameters:
Node | Value | Description |
---|---|---|
method | customer_recording | Unique Command for JSON Response |
resdatetime | 2018-11-12 14:00:05 | Date and Time of the response. (Date format: YYYY-MM-DD hh:mm:ss) |
status | 3 | Refer the status parameter table |
statusdesc | success | status parameter description |
revisionno | 1 | Functionality revision no |
Return Value:
This API returns response in JSON format.
Customer recording JSON Request
{
"method":"customer_recording",
"apikey":"test_org",
"servicekey":"VoiceInOut",
"sessionid":483,
"systemcallid":"140912183554281005" ,
"reqdatetime":"2018-11-12 14:00:05"
}
Customer recording JSON Response
{
"method":"customer_recording",
"recordingfilepath":"http:\/\/192.168.2.127\/recordings\/\/1\/1\/2014\/09\/12\/18\/140912183554281005_0000.MP3",
"revisionno":1,
"statusdesc":"success",
"status":3,
"resdatetime":"2018-11-12 14:00:05"
}
Customer recording JSON Fail Response
{
"method":”customer_recording”,
"revisionno":"1",
"status":5,
"statusdesc":"fail",
"resdatetime":"2018-11-12 14:00:05"
}
Status info for Recording Module
Status | Status Description |
---|---|
3 | Successful |
62 | sessionid not found |
63 | systemcallid not found |
66 | systemcallid found blank |
65 | Invalid sessionid |
1111 | Error while processing data |
Need Help ? How can we help?
How can we help?
Jodo Help Desk with an integrated Knowledge Base,