]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub.c: Fix AMI event list counts. 42/4742/1
authorRichard Mudgett <rmudgett@digium.com>
Thu, 5 Jan 2017 21:11:12 +0000 (15:11 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 20 Jan 2017 18:38:40 +0000 (12:38 -0600)
commit3890337e7a14bb04bcd2d60b2112de588ec93828
treec29eb002e9311bac2184925a73366c70f6f5088b
parente335b706ee4e592c168e23dca5a813f84988778f
res_pjsip_pubsub.c: Fix AMI event list counts.

Fix the AMI PJSIPShowSubscriptionsInbound, PJSIPShowSubscriptionsOutbound,
and PJSIPShowResourceLists actions event counts.  The reported counts may
not necessarily be accurate depending on what happens.

The subscriptions count would be wrong if Asterisk ever has outbound
subscriptions.

The resource list count could be wrong if a list were added or removed
during the AMI action being processed.

Change-Id: I4344301827523fa174960a42c413fd19abe4aed5
res/res_pjsip_pubsub.c