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

George Joseph asteriskteam at digium.com
Tue Dec 6 15:11:53 CST 2016


George Joseph has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/4561 )

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, 82 insertions(+), 63 deletions(-)


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

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2468f9d8a9d703106b530cccec20ff3874211bdb
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <gjoseph at digium.com>



More information about the asterisk-code-review mailing list