]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_followme: fix issue with enable_callee_prompt=no (#88)
authoralex2grad <alex2grad@users.noreply.github.com>
Mon, 5 Jun 2023 18:23:03 +0000 (14:23 -0400)
committerGitHub <noreply@github.com>
Mon, 5 Jun 2023 18:23:03 +0000 (12:23 -0600)
commit8a6379f36be83f2def0d2f994a94b9e2f4562df2
tree9f1ce9a53ecc96f5b79db8bf6012ef2ba41894ba
parentc1f21b6f66703a8dd9b604a9ccbeb8348736bba6
app_followme: fix issue with enable_callee_prompt=no (#88)

* app_followme: fix issue with enable_callee_prompt=no

If the FollowMe option 'enable_callee_prompt' is set to 'no' then Asterisk
incorrectly sets a winner channel to the channel from which any control frame was read.

This fix sets the winner channel only to the answered channel.

Resolves: #87

ASTERISK-30326
apps/app_followme.c