]> git.ipfire.org Git - thirdparty/asterisk.git/commit
apps/app_dial: Set the DIALSTATUS to NOANSWER on privacy option 5 21/3821/1
authorMatt Jordan <mjordan@digium.com>
Sat, 3 Sep 2016 21:02:37 +0000 (16:02 -0500)
committerMatt Jordan <mjordan@digium.com>
Sat, 3 Sep 2016 21:02:37 +0000 (16:02 -0500)
commita64063cc9720637c1f54f85bb48d54b0e0ae8d3d
tree018e3d7a56cb308e2cd196dd9a221f3a8722a962
parent1bd571ef75900c78f98b047659de9d2d6c0c51b5
apps/app_dial: Set the DIALSTATUS to NOANSWER on privacy option 5

If the callee selects option '5' using the Dial application's privacy
(P) option, the DIALSTATUS is erroneously set to ANSWER. This option
reflects the callee sending the caller to VoiceMail one time; the call
is definitely *not* ANSWERed in such a scenario. With this patch, the
DIALSTATUS is instead set to NOANSWER, which is the same DIALSTATUS that
is set when the 'send to VoiceMail every time' option is set.

ASTERISK-25691

Change-Id: Iaf0c9f0fa00545e7366443875e2bb7d9a89a1358
apps/app_dial.c