[asterisk-bugs] [JIRA] (ASTERISK-24699) VoiceMailMain hangs up with no reason when trying to play first message

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Feb 20 19:15:34 CST 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton closed ASTERISK-24699.
-----------------------------------

    Resolution: Not A Bug

Howdy!

I reproduced your issue using your config files. Fortunately it is not a bug, just a typo.

The issue is this:

{noformat}
newtonr-laptop*CLI>
    -- <SIP/76-00000000> Playing 'vm-first.gsm' (language 'en')
  == Parsing '/var/spool/asterisk/voicemail/default/800/INBOX/msg0000.txt': Found
    -- <SIP/76-00000000> Playing 'vm-message.gsm' (language 'en')
[Feb 20 19:02:35] WARNING[3938][C-00000000]: file.c:774 ast_openstream_full: File vm-recieved does not exist in any format
[Feb 20 19:02:35] WARNING[3938][C-00000000]: file.c:1100 ast_streamfile: Unable to open vm-recieved (format (ulaw)): No such file or directory
[Feb 20 19:02:35] WARNING[3938][C-00000000]: say.c:467 wait_file: Unable to play message vm-recieved
  == Spawn extension (internal, 98, 1) exited non-zero on 'SIP/76-00000000'
{noformat}

Notice the spelling "vm-recieved".

You have set this in your voicemail.conf file:

{noformat}
[zonemessages]
military=Zulu|'vm-recieved' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Berlin|'vm-recieved' a d b 'digits/at'HM
{noformat}

It should be *vm-received*, as shown in the sample config file:

{noformat}
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H N 'hours'
military=Zulu|'vm-received' q 'digits/at' H N 'hours' 'phonetic/z_p'
european=Europe/Copenhagen|'vm-received' a d b 'digits/at' HM
{noformat}

The end result of the mis-configuration causes the behavior you described.

You likely didn't see the "WARNING" messages that would have pointed you towards the problem due to mis-configuration in logger.conf.

Reading over the documentation on Asterisk's logging facilities will help you out in the future:

https://wiki.asterisk.org/wiki/display/AST/Logging
https://wiki.asterisk.org/wiki/display/AST/Logging+Configuration

Thanks!

> VoiceMailMain hangs up with no reason when trying to play first message
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-24699
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24699
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 11.9.0, 13.1.0
>         Environment: debian wheezy, Asterisk 13.1.0, snom 360 phones (8.7.3.25)
>            Reporter: Felix Kunsmann
>         Attachments: extensions.conf, msg0000.alaw, msg0000.gsm, msg0000.txt, msg0000.ulaw, msg0000.wav, sip.conf, sip-debug.txt, voicemail.conf
>
>
> I recorded a message in my voicemail box, then tried to listen to it using VoiceMailMain(). VoiceMailMain() plays greeting, I press 1 to listen to the message, Asterisk plays "First message", then hangs up.
> WAV file sent to my by mail, and downloaded WAV file play fine in VLC.
> URL contains SIP debug log provided by Asterisk.
> Phone is 192.168.0.52
> Asterisk is 192.168.0.20



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



More information about the asterisk-bugs mailing list