[asterisk-bugs] [JIRA] (ASTERISK-24045) [patch]Voicemail to email at multiple email addresses
abelbeck (JIRA)
noreply at issues.asterisk.org
Sat Aug 9 16:02:29 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-24045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221506#comment-221506 ]
abelbeck commented on ASTERISK-24045:
-------------------------------------
Enclosed "voicemail-420577-to-comma-fix.diff" is a one line change to define the proper number of comma's in the To: header.
Originally it looked ahead for a '|' which is off-by-one, but instead use the emailsbuf from strsep() will return NULL when no more comma's are needed.
As an aside, while adding the ENDL string after each To: entry seems to work, even with "msmtp", RFC5322 seems to imply this should all be on one line...
--
http://tools.ietf.org/html/rfc5322
to = "To:" address-list CRLF
address-list = (address *("," address)) / obs-addr-list
--
But, it seems to work as is.
> [patch]Voicemail to email at multiple email addresses
> -----------------------------------------------------
>
> Key: ASTERISK-24045
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24045
> Project: Asterisk
> Issue Type: Improvement
> Security Level: None
> Components: Applications/app_voicemail/NewFeature
> Affects Versions: SVN, 12.4.0
> Environment: CentOS 6
> Reporter: Jacob Barber
> Assignee: Rusty Newton
> Severity: Minor
> Attachments: vm-multi-email.diff, voicemail-420577-to-comma-fix.diff, voicemail-to-multiple-emails.diff
>
>
> Currently voicemail to email only works with a single email. This patch allows a user to use a space separated list of emails (up to 512 characters long), where the user would like for the emails to be sent. This is useful for people who don't want to go through setting up mailing groups, or for people who host provide VoIP services with asterisk as a backend, where their customers don't know how to set up mailing groups.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list