pjsip cli: Fix sorting of contacts for 'pjsip list contacts'
authorGeorge Joseph <george.joseph@fairview5.com>
Tue, 6 Jan 2015 17:29:33 +0000 (17:29 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Tue, 6 Jan 2015 17:29:33 +0000 (17:29 +0000)
commit7dc0c88fc62ca0e1791b68363f6221af66de43e5
treeacf595989729e1fe22a0bdd3424d24d5a4f23067
parent0b8fbf9238bc352cec4b38078854fa1d138d6a12
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/
........

Merged revisions 430221 from http://svn.asterisk.org/svn/asterisk/branches/13

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