[Asterisk-code-review] res pjsip registrar: Change RegistrationsInbound to send Co... (asterisk[14])

George Joseph asteriskteam at digium.com
Tue Dec 6 15:33:38 CST 2016


Hello Anonymous Coward #1000019,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/4562

to look at the new patch set (#2).

Change subject: res_pjsip_registrar:  Change RegistrationsInbound to send ContactStatus
......................................................................

res_pjsip_registrar:  Change RegistrationsInbound to send ContactStatus

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.

Now we send ContactStatusDetail events which meets the intended
purpose of the command and significantly reduces the 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.

ASTERISK-26644 #close

Change-Id: I2468f9d8a9d703106b530cccec20ff3874211bdb
---
M CHANGES
M include/asterisk/res_pjsip.h
M res/res_pjsip.c
M res/res_pjsip/pjsip_options.c
M res/res_pjsip_registrar.c
5 files changed, 83 insertions(+), 64 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/62/4562/2
-- 
To view, visit https://gerrit.asterisk.org/4562
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2468f9d8a9d703106b530cccec20ff3874211bdb
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019



More information about the asterisk-code-review mailing list