<p>alternative command to output dialogs data to file, far much faster than<br>
dlg.list</p>
<h4>Pre-Submission Checklist</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commit message has the format required by CONTRIBUTING guide</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commits are split per component (core, individual modules, libs, utils, ...)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Each component has a single commit (if not, squash them into one commit)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> No commits to README files for modules (changes must be done to docbook files<br>
in <code>doc/</code> subfolder, the README file is autogenerated)</li>
</ul>
<h4>Type Of Change</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> New feature (non-breaking change which adds new functionality)</li>
</ul>
<h4>Checklist:</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Tested changes locally</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Related to issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="591497991" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2269" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/2269/hovercard" href="https://github.com/kamailio/kamailio/issues/2269">#2269</a></li>
</ul>
<h4>Description</h4>
<p>This command can output 100K dialogs in less than a second.</p>
<p>Almost the exact same format as dlg.list, except no using arrays for <code>variables</code> and <code>profiles</code><br>
since they can have a mixture of values and key / value pairs.</p>
<pre><code>{
"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"
}
}
</code></pre>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/kamailio/kamailio/pull/2272'>https://github.com/kamailio/kamailio/pull/2272</a></p>
<h4>Commit Summary</h4>
<ul>
<li>dialog: adding dlg.dump</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/2272/files#diff-ab24c84fa49fc4655126b4c819dc2016">src/modules/dialog/Makefile</a>
(15)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/2272/files#diff-861d74c9a2d1020004c26b5bcfb5ab6f">src/modules/dialog/dialog.c</a>
(155)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/kamailio/kamailio/pull/2272/files#diff-0f7ffb6b9f51ddbf371fa4b70c470965">src/modules/dialog/doc/dialog_admin.xml</a>
(18)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/kamailio/kamailio/pull/2272.patch'>https://github.com/kamailio/kamailio/pull/2272.patch</a></li>
<li><a href='https://github.com/kamailio/kamailio/pull/2272.diff'>https://github.com/kamailio/kamailio/pull/2272.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2272">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNTMQFODQ3GSEY2S53RKUCK3ANCNFSM4L26JTQA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJZQ6KNHS5IE2PJCE3RKUCK3A5CNFSM4L26JTQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4I2XRPFQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2272",
"url": "https://github.com/kamailio/kamailio/pull/2272",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>