]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub.c: Fix AMI event list counts. 43/4743/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:29 +0000 (12:39 -0600)
commit93fcb615ba94ee40a3cce128566f1e4d3fd9b01b
tree6836febad0dcb5c90656c6be87bb8dd99e3759c1
parent997d71f1ca70e9d7591f4972e7dbe9bfb9c41d0c
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