[asterisk-bugs] [JIRA] (ASTERISK-24463) Voicemail email address corrupt or not sent when message is in the process of being recorded during reload

John Campbell (JIRA) noreply at issues.asterisk.org
Fri Dec 19 05:33:28 CST 2014


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

John Campbell commented on ASTERISK-24463:
------------------------------------------

Got an update on the situation.

I have found that when deleting vm_email.inc the email is sent perfect every time however restarting asterisk stops the voicemail module loading with this file missing.

What makes it even more wierd is having this file there but empty produces the fault.  

The only way I can get it to work is to start Asterisk with everything as it should be then rename vm_email.inc to something else, it will then work fine.  The file would then need to be renamed back for an asterisk or server restart

If I take the include out of voicemail.conf makes no difference.  If i move emailBody to voicemail.conf makes no difference, the only fix so far is to rename the .inc 

> Voicemail email address corrupt or not sent when message is in the process of being recorded during reload
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24463
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24463
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_voicemail
>    Affects Versions: 11.13.1
>         Environment: FreePBX 2.11 Platform 64-bit running Asterisk 11.13.1
>            Reporter: John Campbell
>            Assignee: John Campbell
>            Severity: Critical
>         Attachments: Failed email, myDebugLog, Successful, voicemail.conf
>
>
> I have been testing a custom script today which has involved a lot of reloads and came across the following situation (the script I have been testing has nothing to do with email or anything that would affect the below):
> When someone is in the process of leaving a voicemail and Asterisk is reloaded when they hang up after the reload the email that it generated has a corrupt To: field or not sent at all.
> The Postfix log contains the corrupt address which is direct from Asterisk and looks similar to this:
> to=<P??$3?@mydomain.com>
> Running deliberate tests here just now has not yielded the corrupt To address but I have found that it does not send the email at all. After a reload when the person hangs up asterisk ends with 'User hung up' and no email is generated.
> UPDATE - Messages that I thought were not sent (from my test above) were (however still not all) but they went to the wrong email address (still valid on the system)! - This is starting to get a bit more critical now if personal messages are starting to go to random addresses.



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



More information about the asterisk-bugs mailing list