Summary:ASTERISK-02113: [request] Pager e-mail from field
Reporter:tgrman21 (tgrman21)Labels:
Date Opened:2004-07-26 15:04:08Date Closed:2008-01-15 15:04:48.000-0600
Versions:Frequency of
Environment:Attachments:( 0) voicemail.conf.diff
( 1) voicemail.txt
Description:When Asterisk sends a pager e-mail advising of a new voicemail via the pager e-mail address field, the e-mail always shows up as from "Asterisk PBX", line 1034, app_voicemail.c.  It does not appear that pager emails are using the "fromstring" parameter in voicemail.conf as does sending regular voicemail notification e-mails.
Comments:By: Mark Spencer (markster) 2004-07-26 16:37:08

I'm not sure we really want to use that full from address in that field, maybe add another?

By: tgrman21 (tgrman21) 2004-07-26 17:23:52

Sure, maybe "pagerfromstring"?  Should we also add an equavalent "serveremail" field as well?  This field is currently being used when a pager e-mail is sent.

By: Matt O'Gorman (mogorman) 2004-08-01 18:46:11

tgrman21, do you want a config option to specify who has sent the voicemail, or have the from line be the caller id info. please elobarate


By: tgrman21 (tgrman21) 2004-08-02 11:28:36

At present, when Asterisk sends a pager e-mail, the "From:" field is hardcoded to the following: "From: Asterisk PBX <voicemail@company.com>", where company.com is variable based on the FQDN of the server.  I propose we have a configuration file option which will allow the "From:" field contents to be specified in voicemail.conf.  This could either be populated with the callerid information of the caller who left the voicemail or just be a static value specified in voicemail.conf in the event that the callerid information is unavailable.  Initially, just being able to specify a static value in voicemail.conf, as is currently done with regular e-mail notification, would be fine.

By: Matt O'Gorman (mogorman) 2004-08-03 02:01:46

well i fixed it i believe i addded a pagerfromstring to the file. and to the config file.  It acts identical to the current fromstring. I don't have anyway currently to check to see if it works, but it should work, just add pagerfromstring to your voicemail.config file.

By: Mark Spencer (markster) 2004-08-06 17:44:44

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:04:48.000-0600

Repository: asterisk
Revision: 3585

U   trunk/apps/app_voicemail.c
U   trunk/configs/voicemail.conf.sample

r3585 | markster | 2008-01-15 15:04:47 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix pager voicemail notification from string (bug ASTERISK-2113), MOG's first patch!