[Home]

Summary:ASTERISK-21241: When using voicemail as announce only (maxmsg=0), the star dtmf to enter the voicemail is not honored
Reporter:Eelco Brolman (eelcob)Labels:patch
Date Opened:2013-03-13 12:00:23Date Closed:2017-08-25 08:14:30
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:1.8.20.1 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:( 0) maxmsg_voicemail_entry_fix.patch
Description:When setting maxmsg = 0, the code from issue ASTERISK-14147 is used, and the greeting is set as 'announce only'.

When pressing star ({{*}}) during the greeting, it is expected to enter the voicemail (via pin), to listen to (not appropriate in this case) voicemail, and to record the greeting. The code jumps out too early, and worse, it does not set res=0, so that the dialplan code AFTER the voicemail app is invoked, resulting in possible dialing possibilities if the dialplan is configured that way.

The attached patch moves the check for 'announce only' some lines lower, to allow for *, 0 for operator, and other escape digits.
Comments:By: Friendly Automation (friendly-automation) 2017-08-25 08:14:31.897-0500

Change 6285 merged by Jenkins2:
app_voicemail: Honor escape digits in "greeting only" mode

[https://gerrit.asterisk.org/6285|https://gerrit.asterisk.org/6285]

By: Friendly Automation (friendly-automation) 2017-08-25 08:29:18.966-0500

Change 6286 merged by Joshua Colp:
app_voicemail: Honor escape digits in "greeting only" mode

[https://gerrit.asterisk.org/6286|https://gerrit.asterisk.org/6286]

By: Friendly Automation (friendly-automation) 2017-08-25 08:29:33.656-0500

Change 6287 merged by Jenkins2:
app_voicemail: Honor escape digits in "greeting only" mode

[https://gerrit.asterisk.org/6287|https://gerrit.asterisk.org/6287]

By: Friendly Automation (friendly-automation) 2017-08-25 08:30:14.156-0500

Change 6288 merged by Joshua Colp:
app_voicemail: Honor escape digits in "greeting only" mode

[https://gerrit.asterisk.org/6288|https://gerrit.asterisk.org/6288]