10 Call History
10.1 Export
POST https://<HOST>:<PORT>/app/monitor/callhistory/export/v0?version=0
To determine the paramters for this request it is recommended to use the "Call History Export Assistant". To do so open the anynode frontend user interface and navigate to Monitor ModeCall HistoryExport.
Required Permissions
-
API
-
Monitoring Mode Read Access
Example
10.2 Get
POST https://<HOST>:<PORT>/api/callHistory/get?version=0
Returns the Call History as JSON.
Required Permissions
-
API
-
Monitoring Mode Read Access
Request Body Structure
The request body is structured as CallHistoryFilter JSON object. A description for its fields is at section 30.14.1. For the JSON schema refer to section 30.14.2.
10.3 Get Message History
GET https://<HOST>:<PORT>/api/messageHistory?version=0
Returns the SIP messages of an entry of the call history.
Required Permissions
-
API
-
Monitoring Mode Read Access
Request parameters
-
filterSystemIdentifier
The identifier of the system from which the SIP messages should be returned.
-
resultFormat
Determines in which format the messages will be returned.
Possible values:
-
pcap
Returns the messages aus pcap data which can be viewed with a pcap viewer.
-
textFlow
Returns textual information showing the signaling flow.
-
textMessages
Returns textual information showing the message details.
-
HTML
Returns a HTML page that displays the signaling flow and message details.
-
details
Returns a JSON array containing detailed information about each message.
-
-
filterSessionIdentifier
The identifier of the session from which the SIP messages should be returned. This is mandatory.
Example
10.4 Export Recorded Session
GET https://<HOST>:<PORT>/app/monitor/callhistory/recording/v0?version=0
Returns the file of a recorded session.
Required Permissions
-
API
-
Tracing
Request parameters
-
file
The filename of the recoding. The filename consists of the recording id and the file type (i.e. "4C0E930A91081A010DBA8BFF48F10B76.wav). The recording id can be found in the call history.