]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Only send QueueMemberStatus if status changes.
authorJoshua C. Colp <jcolp@sangoma.com>
Fri, 19 Mar 2021 09:56:18 +0000 (06:56 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Mon, 22 Mar 2021 12:51:38 +0000 (07:51 -0500)
commita8a08bcd1edf888aa46c43551118d3e2edfe2152
tree99266c4edb38c4cf450184eef557ccae18229047
parent970b84946e4bb57957b8015cacb92c1c0e8797a8
app_queue: Only send QueueMemberStatus if status changes.

If a queue member was updated with the same status multiple
times each time a QueueMemberStatus event would be sent
which would be a duplicate of the previous.

This change makes it so that the QueueMemberStatus event is
only sent if the status actually changes.

ASTERISK-29355

Change-Id: I580c60d992a0a8f2bea8b91c868771b3b490d116
apps/app_queue.c