]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip cli: Fix sorting of contacts for 'pjsip list contacts'
authorGeorge Joseph <george.joseph@fairview5.com>
Tue, 6 Jan 2015 17:28:40 +0000 (17:28 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Tue, 6 Jan 2015 17:28:40 +0000 (17:28 +0000)
commitd873b09075bbcc584b936ec1f46e0f58c7ec7279
tree7dc5ea6c4cf1d2bb59a6970cd01f4b3899cceef9
parent566907fabd6acfd20f59145044649991af23d976
pjsip cli: Fix sorting of contacts for 'pjsip list contacts'

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.

Tested-by: George Joseph
Review: https://reviewboard.asterisk.org/r/4305/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip/location.c