]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Prevent crash when a call is forwarded to an invalid location 66/3466/2
authorMatt Jordan <mjordan@digium.com>
Thu, 11 Aug 2016 16:13:07 +0000 (11:13 -0500)
committerMatt Jordan <mjordan@digium.com>
Thu, 11 Aug 2016 16:16:48 +0000 (11:16 -0500)
commita3c5488ff465cf104e311831300d3501a1990b23
tree5204512a5909198ce019579fbb968b69ce5fc409
parent134db75e67850513e26addf171b8be79e66ee03d
app_queue: Prevent crash when a call is forwarded to an invalid location

When a call forward attempt is made from a Queue member, the current
code will hang up the forwarding channel in an off-nominal condition
prior to raising the Stasis events informing the rest of Asterisk that
the call was forwarded. This will result in a slew of dreaded FRACKs,
most likely leading to a crash.

This patch modifies the code such that we don't hang up the forwarding
channel even in an off-nominal condition until we've safely raised the
Stasis messages.

ASTERISK-25797 #close

Change-Id: Ife5abed351691fd79105321636eaa8ea8dcdba38
apps/app_queue.c