jimw@midwest-connections.com
2006-Apr-18 06:04 UTC
[Asterisk-Users] Change email/pager VM alerts body text dynamically?
Greetings; I've got a situation where I really need to be able to select from a number of various (body) textx for email/pager messages when voivemails are left, but can't seem to figure out how to change them on the fly. Now, I know there are pre-defined defaults, which can be overridden by entries in the [general] section of voicemail.conf, but that does not get me there. I need to be able to select different message texts based upon the source of the voicemails. I tried creating additional voicemail 'contexts' to invoke, and added the "emailsubject", "pagersubject", etc. definitions there but that did not work. It would not seem to me that I should have to go to external code to accomplish this, so I expect that I'm just overlooking something obvious. (and will feel appropriately foolish whem someone points it out to me) But I'm stuck! Anyone out there made this happen? Thanks! -jim
Benjamin Lawetz
2006-Apr-18 12:16 UTC
[Asterisk-Users] Change email/pager VM alerts body text dynamically?
I had made a patch a while back so it retrieved the emailbody and emailsubject from the users table in mysql. Let me see if I can dig it up -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of jimw@midwest-connections.com Sent: April 18, 2006 9:05 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Change email/pager VM alerts body text dynamically? Greetings; I've got a situation where I really need to be able to select from a number of various (body) textx for email/pager messages when voivemails are left, but can't seem to figure out how to change them on the fly. Now, I know there are pre-defined defaults, which can be overridden by entries in the [general] section of voicemail.conf, but that does not get me there. I need to be able to select different message texts based upon the source of the voicemails. I tried creating additional voicemail 'contexts' to invoke, and added the "emailsubject", "pagersubject", etc. definitions there but that did not work. It would not seem to me that I should have to go to external code to accomplish this, so I expect that I'm just overlooking something obvious. (and will feel appropriately foolish whem someone points it out to me) But I'm stuck! Anyone out there made this happen? Thanks! -jim _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users