v1

latestSwagger 2.0AGPL2026-07-178792264.9 KB
search

Returns transaction data based upon filtered json

post/call/transaction

Request body

Example request

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

Response

SearchTransaction

keysstring[]
totalinteger

Example response

{
  "data": {
    "calldata": [
      {
        "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"
  ]
}