v1

latestSwagger 2.0AGPL2026-07-178792264.9 KB
search

Returns message data based upon filtered json

post/search/call/message

Request body

Example request

{
  "param": {
    "limit": 200,
    "whitelist": [
      "192.1698.10.20"
    ]
  },
  "timestamp": {
    "from": 1581793200000,
    "to": 1581879599000
  }
}

Response

SearchCallData

keysstring[]
totalinteger

Example response

{
  "data": [
    {
      "aliasDst": "Support",
      "aliasSrc": "Client",
      "create_date": 1633374982350,
      "destination": 1,
      "dstHost": "179.12.245.132",
      "dstId": "179.12.245.132:5060",
      "dstIp": "179.12.245.132",
      "dstPort": 5060,
      "id": 5162,
      "method": "INVITE",
      "method_text": "INVITE",
      "micro_ts": 1633374982350,
      "msg_color": "blue",
      "protocol": 17,
      "ruri_user": "INVITE sip:155@example.com;user=phone SIP/2.0\\r\\n",
      "sid": "wvn6zg@127.0.0.1",
      "srcHost": "18.12.245.132",
      "srcId": "18.12.245.132:5060",
      "srcIp": "18.12.245.132",
      "srcPort": 5060
    }
  ],
  "keys": [
    "callid",
    "srcIp",
    "srcPort"
  ],
  "total": 45
}