[asterisk-dev] [Code Review] 4305: pjsip cli: Fix sorting of contacts for 'pjsip list contacts'
George Joseph
reviewboard at asterisk.org
Tue Jan 6 11:28:58 CST 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4305/
-----------------------------------------------------------
(Updated Jan. 6, 2015, 11:28 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 430221
Repository: Asterisk
Description
-------
For some reason I was using a hash container instead of a list to gather the contacts for 'pjsip list/show contacts' so even though I had a sort function, the output wasn't sorted. This patch just changes the hash container to a list container and the contacts now appear sorted in the CLI.
Diffs
-----
branches/13/res/res_pjsip/location.c 430163
Diff: https://reviewboard.asterisk.org/r/4305/diff/
Testing
-------
Eyeballed contact list before and after to confirm they were now sorted.
Thanks,
George Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150106/01a40d65/attachment-0001.html>
More information about the asterisk-dev
mailing list