alternative command to output dialogs data to file, far much faster than
dlg.list

Pre-Submission Checklist

Type Of Change

Checklist:

Description

This command can output 100K dialogs in less than a second.

Almost the exact same format as dlg.list, except no using arrays for variables and profiles
since they can have a mixture of values and key / value pairs.

{
  "h_entry": 16383,
  "h_id": 4428,
  "ref": 2,
  "call_id": "ehm839mk6HwtIXfCpluxkNlbDq8H9im2",
  "from_uri": "sip:voip_perf@147.75.65.147",
  "to_uri": "sip:12063722016@52.42.112.121",
  "state": 4,
  "start_ts": 1585863821,
  "init_ts": 1585863821,
  "end_ts": 0,
  "timeout": 1585885421,
  "lifetime": 21600,
  "dflags": 1539,
  "sflags": 0,
  "iflags": 0,
  "caller": {
    "tag": "KK4KtrhQ--OjGMBNCvpXfKX-tinxQ3EK",
    "contact": "sip:voip_perf@147.75.65.147:5072;transport=udp",
    "cseq": "25945",
    "route_set": "",
    "socket": "udp:0.0.0.0:5060"
  },
  "callee": {
    "tag": "jlf1PLBMkC3utNwg-qwdkolYbaMx0no5",
    "contact": "sip:voip_perf@147.75.65.147:5060;transport=udp",
    "cseq": "0",
    "route_set": "",
    "socket": "udp:0.0.0.0:5060"
  },
  "profiles": {
    "outbound_call": ""
  },
  "variables": {
    "foo": "bar"
  }
}

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/2272

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.