]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Update logging to show contact->uri in messages 31/1731/12
authorGeorge Joseph <george.joseph@fairview5.com>
Tue, 1 Dec 2015 04:19:18 +0000 (21:19 -0700)
committerGeorge Joseph <george.joseph@fairview5.com>
Thu, 3 Dec 2015 02:32:26 +0000 (19:32 -0700)
commited9134282e22c6985ce853f53d7569aa5b93ebe0
tree63de5799220775edf7d9500316287735c7ca7fcf
parenteadad24b595c3b6e5f0472f9936e7e37259308b5
res_pjsip:  Update logging to show contact->uri in messages

An earlier commit changed the id of dynamic contacts to contain
a hash instead of the uri.  This patch updates status change
logging to show the aor/uri instead of the id.  This required
adding the aor id to contact and contact_status and adding
uri to contact_status.  The aor id gets added to contact and
contact_status in their allocators and the uri gets added to
contact_status in pjsip_options when the contact_status is
created or updated.

ASTERISK-25598 #close

Reported-by: George Joseph
Tested-by: George Joseph
Change-Id: I56cbec1d2ddbe8461367dd8b6da8a6f47f6fe511
include/asterisk/res_pjsip.h
res/res_pjsip/location.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip/pjsip_options.c