[Home]

Summary:ASTERISK-27622: empty voicemail.conf required for ARA (realtime) voicemail to leave message
Reporter:Jim Van Meggelen (jimvanm)Labels:
Date Opened:2018-01-25 11:08:25.000-0600Date Closed:2020-01-17 08:33:06.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:15.2.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS 7Attachments:
Description:Voicemail configured via ARA.
Scenario 1) If there's no voicemail.conf file, I get this:

{noformat}
*CLI>
 == Setting global variable 'SIPDOMAIN' to '172.29.1.142'
   -- Executing [300@sets:1] VoiceMail("PJSIP/0000f30A0A01-00000000", "100@default") in new stack
      > 0x2dc7140 -- Strict RTP learning after remote address set to: 172.29.1.110:5062
   -- <PJSIP/0000f30A0A01-00000000> Playing 'vm-intro.slin' (language 'en')
      > 0x2dc7140 -- Strict RTP switching to RTP target address 172.29.1.110:5062 as source
 == Spawn extension (sets, 300, 1) exited non-zero on 'PJSIP/0000f30A0A01-00000000'
{noformat}

CALL HANGS UP IMMEDIATELY - NEVER HEARING VOICEMAIL PROMPT (even though console suggests a prompt tried to play)

SCENARIO 2) I touch an empty voicemail.conf file:
Call rings to mailbox with no issues.

Why this is a bug:
Either an error is needed to explain the failure (not ideal since what's the empty file good for), or the system should just handle the call (much better idea).

Recommendation: Whatever app_voicemail is looking for in trying to locate a completely empty config file, how about "if voicemail.conf file not found ... don't worry about it ..."

Since a completely empty voicemail.conf file solves the problem, it's difficult to understand the purpose of needing it.
Comments:By: Asterisk Team (asteriskteam) 2018-01-25 11:08:26.828-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Friendly Automation (friendly-automation) 2020-01-17 08:33:07.471-0600

Change 13594 merged by Joshua Colp:
app_voicemail: Set globals to default values when voicemail.conf missing

[https://gerrit.asterisk.org/c/asterisk/+/13594|https://gerrit.asterisk.org/c/asterisk/+/13594]

By: Friendly Automation (friendly-automation) 2020-01-17 08:38:18.375-0600

Change 13630 merged by Joshua Colp:
app_voicemail: Set globals to default values when voicemail.conf missing

[https://gerrit.asterisk.org/c/asterisk/+/13630|https://gerrit.asterisk.org/c/asterisk/+/13630]

By: Friendly Automation (friendly-automation) 2020-01-17 08:38:31.602-0600

Change 13631 merged by Joshua Colp:
app_voicemail: Set globals to default values when voicemail.conf missing

[https://gerrit.asterisk.org/c/asterisk/+/13631|https://gerrit.asterisk.org/c/asterisk/+/13631]

By: Friendly Automation (friendly-automation) 2020-01-17 08:38:47.557-0600

Change 13629 merged by Friendly Automation:
app_voicemail: Set globals to default values when voicemail.conf missing

[https://gerrit.asterisk.org/c/asterisk/+/13629|https://gerrit.asterisk.org/c/asterisk/+/13629]