]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub.c: Fix AMI event list counts. 44/4744/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:39:41 +0000 (12:39 -0600)
commitef9164b9cae3bfe488b471e4eb1ded8995b53668
treee21d5682bd78778927816f445a1811bfcc1440b1
parent48730ae65eefdf844d61ee611d3f2a1d42af807b
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