[asterisk-bugs] [JIRA] (ASTERISK-27622) empty voicemail.conf required for ARA (realtime) voicemail to leave message

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Jan 17 08:33:25 CST 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249437#comment-249437 ] 

Friendly Automation commented on ASTERISK-27622:
------------------------------------------------

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]

> empty voicemail.conf required for ARA (realtime) voicemail to leave message
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-27622
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27622
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 15.2.0
>         Environment: CentOS 7
>            Reporter: Jim Van Meggelen
>            Severity: Minor
>
> 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 at sets:1] VoiceMail("PJSIP/0000f30A0A01-00000000", "100 at 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list