]> git.ipfire.org Git - thirdparty/asterisk.git/commit
apps/app_dial: Fix crash on non-connect call paths for Privacy/Screening option 26/3826/1
authorMatt Jordan <mjordan@digium.com>
Sat, 3 Sep 2016 21:04:21 +0000 (16:04 -0500)
committerMatt Jordan <mjordan@digium.com>
Sat, 3 Sep 2016 21:07:36 +0000 (16:07 -0500)
commit730cb3b0b741d294e7aecd22e64bb87094480063
treebcb14e734f29fe1d3e3fdd01571ac61abc1df6b7
parentd3c4b901d476a41b3f7df063aeba3852df4e26b7
apps/app_dial: Fix crash on non-connect call paths for Privacy/Screening option

In any scenario in which the callee is not connected to the caller, the
current code in app_dial will crash due to raising a Dial End Stasis
Message after the callee channel has been hung up. This patch corrects
the error by simply moving the explicit hangup of the callee (peer)
channel until after the dial end message.

ASTERISK-25691 #close

Change-Id: I816a414014424d0d8c80e2a3cbef13ef8c63798d
apps/app_dial.c