[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 Nov 7 13:38:32 CST 2014


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

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

I have added another two debug's

One is a successful voicemail - No Reload done, all is well and does what it is supposed to.

The other is another failed email.  This was a call to a mailbox and when the message starts to record I reloaded asterisk.  Hanging up generated an email with the following TO: address (although I can't see this address in the log for some reason - This is from postfix - I have replaced my domain with mydomain for security.)

<CSS_SETUP=TRUE)@mydomain.org.uk>

The following seem to be missing from the failed call compared to the successful

[2014-11-07 18:45:27] DEBUG[45152][C-000021e2] app_voicemail.c: Sent mail to me at mydomain.org.uk with command '/usr/sbin/sendmail -t'
[2014-11-07 18:45:27] DEBUG[3570] res_mwi_blf.c: Sending not inuse devstate change for MWI:3013 at default
[2014-11-07 18:45:27] DEBUG[3570] devicestate.c: device 'MWI:3013 at default' state '1'

> 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
>         Attachments: Failed email, myDebugLog, Successful
>
>
> 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