]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_registrar: AMI Add RegistrationInboundContactStatuses command 70/4570/2
authorGeorge Joseph <gjoseph@digium.com>
Tue, 6 Dec 2016 20:54:25 +0000 (13:54 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 8 Dec 2016 00:10:05 +0000 (17:10 -0700)
commitf243f7fb4bfad4061c75c6c800673f9d2e68fa73
treef50443c0577549ccc63f379666c75a36ecbf99f4
parent221e838b268f3e18471b2748b68614c406663a3c
res_pjsip_registrar: AMI Add RegistrationInboundContactStatuses command

The PJSIPShowRegistrationsInbound AMI command was just dumping out
all AORs which was pretty useless and resource heavy since it had
to get all endpoints, then all aors for each endpoint, then all
contacts for each aor.

PJSIPShowRegistrationInboundContactStatuses sends ContactStatusDetail
events which meets the intended purpose of the other command and has
significantly less overhead.  Also, some additional fields that were
added to Contact since the original creation of the ContactStatusDetail
event have been added to the end of the event.

For compatibility purposes, PJSIPShowRegistrationsInbound is left
intact.

ASTERISK-26644 #close

Change-Id: I326f12c9ecb52bf37ba03f0748749de4da01490a
CHANGES
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/pjsip_options.c
res/res_pjsip_registrar.c