]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_meetme: Don't erroneously set global variables.
authorNaveen Albert <asterisk@phreaknet.org>
Thu, 31 Mar 2022 15:44:23 +0000 (15:44 +0000)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 27 Apr 2022 23:38:57 +0000 (18:38 -0500)
commit0018f31353dc3c728e30986bffe3125b3212f40c
tree3aa15c3a0e51850cf20a66ceeb837c74b08029f8
parentd75da1de1f4cb36e505fff585247caf098c7e3da
app_meetme: Don't erroneously set global variables.

The admin_exec function in app_meetme is used by the SLA
applications for internal bridging. However, in these cases,
chan is NULL. Currently, this function will set some status
variables that are intended for a channel, but since channel
is NULL, this is erroneously creating meaningless global
variables, which shouldn't be happening. This sets these
variables only if chan is not NULL.

ASTERISK-30002 #close

Change-Id: I817df6c26f5bda131678e56791b0b61ba64fc6f7
apps/app_meetme.c