On 11/29/06, Marnus van Niekerk <[EMAIL PROTECTED]> wrote:
You could of course edit app_voicemail.c to pass more info... Round about line 2329: if (!ast_strlen_zero(externnotify)) { if (messagecount(ext_context, &newvoicemails, &oldvoicemails)) { ast_log(LOG_ERROR, "Problem in calculating number of voicemail messages available for extension %s\n", extension); } else { snprintf(arguments, sizeof(arguments), "%s %s %s %d&", externnotify, context, extension, newvoicemails); ast_log(LOG_DEBUG, "Executing %s\n", arguments); ast_safe_system(arguments); } } M
Right, I was looking at the sending email part to instead of sending out the email, write a file with the relevant info and then I use externnotify to pick up that file stick it into a template and send it out. Also, note changing the "Content Type: text/html" and recompiling has allowed me to send and display emails as HTMLS. I'll just frigging create an entire HTML page as one LONG string with pics and stuff and give that a GO :) _______________________________________________ --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