]> 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:40:35 +0000 (18:40 -0500)
commit1e29935131cc5a091ec71de8c6ac945e6afd6f91
treed74d380bdeba48b4ad2f6cfbb267d8d250add8e9
parent7d80c8a49c3d2b8b6d63431f69d7e0128fddd648
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