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
Showing
- include/asterisk/res_pjsip.h 8 additions, 0 deletionsinclude/asterisk/res_pjsip.h
- res/res_pjsip/location.c 15 additions, 3 deletionsres/res_pjsip/location.c
- res/res_pjsip/pjsip_configuration.c 52 additions, 86 deletionsres/res_pjsip/pjsip_configuration.c
- res/res_pjsip/pjsip_options.c 45 additions, 18 deletionsres/res_pjsip/pjsip_options.c
Loading
Please register or sign in to comment