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:

NodeM/OData type sizeValueDescription
methodMTextcustomer_recordingUnique Command for JSON Request. (This method value will not be changed)
apikeyMTexttest_orgUnique key assigned to an organisation. (This API key will change per client organisation)
servicekeyMTextVoiceProcessUnique key map to the process. (This servicekey will change per client process)
sessionidOInteger8Sessioncalllistid – Session ID to be passed when data needs to be pushed to particular Jodo Session
systemcallidMText140912183554281005Unique value of Systemcallid. (dynamic value generated at the time of calls dialed to the user)
reqdatetimeMText2018-11-12 14:00:05Date and Time of the request. (Date format: YYYY-MM-DD hh:mm:ss)

Output Parameters:

NodeValueDescription
methodcustomer_recordingUnique Command for JSON Response
resdatetime2018-11-12 14:00:05Date and Time of the response. (Date format: YYYY-MM-DD hh:mm:ss)
status3Refer the status parameter table
statusdescsuccessstatus parameter description
revisionno1Functionality 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

StatusStatus Description
3Successful
62sessionid not found
63systemcallid not found
66systemcallid found blank
65Invalid sessionid
1111Error while processing data