Re: [asterisk-users] send voicemail to multiple emails

2011-04-13 Thread M Hulber
Instead of picking from multiple scripts, send the action to the script in a variable like the dial status On 4/12/11 4:58 PM, Warren Selby wrote: Sorry for the top post, on my phone... It makes sense for someone who has written a custom visual voicemail application to be able know when the

Re: [asterisk-users] send voicemail to multiple emails

2011-04-13 Thread vip killa
I understand now the need for externnotify to run on vm check is to update MWI. But I agree with M Hulber, an extra variable would be nice to tell the script why externnotify was called... On Wed, Apr 13, 2011 at 6:32 AM, M Hulber asterisk.ad...@hulber.com wrote: Instead of picking from

Re: [asterisk-users] send voicemail to multiple emails

2011-04-12 Thread Andrew Thomas
: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa Sent: 11 April 2011 13:09 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] send voicemail to multiple emails We are talking about mailcmd

Re: [asterisk-users] send voicemail to multiple emails

2011-04-12 Thread vip killa
I already am using 'distribution groups', the point is I want 2 or more emails to be sent per mailbox... I've already figured out how i'm going to do this... i ended up modify app_voicemail.c to not run externnotify when someone checks their voicemail, it now only runs when a new message is

Re: [asterisk-users] send voicemail to multiple emails

2011-04-12 Thread Steve Edwards
On Tue, 12 Apr 2011, vip killa wrote: i ended up modify app_voicemail.c to not run externnotify when someone checks their voicemail, it now only runs when a new message is left... then externnotify will send out the emails and other notifications... I would suggest that enhancing mailcmd to

Re: [asterisk-users] send voicemail to multiple emails

2011-04-12 Thread Steve Edwards
On Tue, 12 Apr 2011, vip killa wrote: Honestly, I don't understand why externnotify should run when someone checks their voicemail... the change i made, makes sense so maybe that should be contributed to the asterisk source. Even if it makes sense to everybody on the list, changes that

Re: [asterisk-users] send voicemail to multiple emails

2011-04-12 Thread Jim Dickenson
If you want externnotify to not fire when someone checks then put in a new option in voicemail.conf to have it work that way. Then contribute that change and it might be accepted. externnotify_on_check: yes|no or some such thing. -- Jim Dickenson mailto:dicken...@cfmc.com CfMC

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread A J Stiles
On Friday 08 Apr 2011, vip killa wrote: Is there a way for asterisk's voicemail to send an email (including voicemail attachment) to multiple email addresses? It's probably easiest to set up a user on your mail server to receive the voicemail messages that are meant for multiple recipients,

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread Andrew Thomas
- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa Sent: 10 April 2011 05:57 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] send voicemail to multiple emails I've already taken the steps you

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread vip killa
-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa Sent: 10 April 2011 05:57 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] send voicemail to multiple emails I've already taken the steps you described

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread Sherwood McGowan
On 4/9/2011 11:56 PM, vip killa wrote: I've already taken the steps you described...issue i ran into was there is no variables passed to mailcmd only STDIN... as a result i have to extract variables from STDIN... On Fri, Apr 8, 2011 at 5:09 PM, Warren Selby wcse...@selbytech.com

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread vip killa
Would be so much simpler if mailcmd acted just like externnotify or externnotify only ran when a message was left but not when someone checks their voicemail... That's pretty much where you're at. What gets passed to STDIN is an email, it's not set up for use by a script. Remember, what you're

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread Sherwood McGowan
On 4/11/2011 12:30 PM, vip killa wrote: Would be so much simpler if mailcmd acted just like externnotify or externnotify only ran when a message was left but not when someone checks their voicemail... That's pretty much where you're at. What gets passed to STDIN is an email, it's

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread vip killa
I'm not confused about this... Everytime a voicemail is left, I need asterisk to run a script that will query a database, and according to those results perform various actions. These actions include calling a number and connecting it directly to voicemailmain and/or sending out multiple emails...

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread vip killa
Anyway, i figured out how to accomplish this using externnotify... In app_voicemail.c, in the function vm_execmain i commented out run_externnotify(vmu-context, vmu-mailbox, NULL); Now externnotify is called by asterisk only when there is a new message and not when someone checks their

Re: [asterisk-users] send voicemail to multiple emails

2011-04-11 Thread Sherwood McGowan
On 4/11/2011 12:47 PM, vip killa wrote: Anyway, i figured out how to accomplish this using externnotify... In app_voicemail.c, in the function vm_execmain i commented out run_externnotify(vmu-context, vmu-mailbox, NULL); Now externnotify is called by asterisk only when there is a new

Re: [asterisk-users] send voicemail to multiple emails

2011-04-09 Thread vip killa
I've already taken the steps you described...issue i ran into was there is no variables passed to mailcmd only STDIN... as a result i have to extract variables from STDIN... On Fri, Apr 8, 2011 at 5:09 PM, Warren Selby wcse...@selbytech.com wrote: On Fri, Apr 8, 2011 at 1:18 PM, vip killa

[asterisk-users] send voicemail to multiple emails

2011-04-08 Thread vip killa
Is there a way for asterisk's voicemail to send an email (including voicemail attachment) to multiple email addresses? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread Danny Nicholas
_ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa Sent: Friday, April 08, 2011 1:13 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] send voicemail to multiple emails

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread Sherwood McGowan
On 4/8/2011 1:13 PM, vip killa wrote: Is there a way for asterisk's voicemail to send an email (including voicemail attachment) to multiple email addresses? -- _ -- Bandwidth and Colocation Provided by

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread Danny Nicholas
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- boun...@lists.digium.com] On Behalf Of Sherwood McGowan Sent: Friday, April 08, 2011 1:16 PM To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] send voicemail to multiple emails

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread vip killa
That does not sound easy... besides these email addresses would be taken from a MySQL database. The easiest way would be to set up an alias in your MTA configuration. That way, you could configure the mailbox for the alias email address and copies would be sent to all addresses in the alias

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread Danny Nicholas
_ From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of vip killa Sent: Friday, April 08, 2011 1:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] send voicemail to multiple emails

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread Sherwood McGowan
On 4/8/2011 1:18 PM, vip killa wrote: That does not sound easy... besides these email addresses would be taken from a MySQL database. The easiest way would be to set up an alias in your MTA configuration. That way, you could configure the mailbox for the alias email address

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread Sherwood McGowan
-users] send voicemail to multiple emails On 4/8/2011 1:13 PM, vip killa wrote: Is there a way for asterisk's voicemail to send an email (including voicemail attachment) to multiple email addresses? -- _ -- Bandwidth

Re: [asterisk-users] send voicemail to multiple emails

2011-04-08 Thread Warren Selby
On Fri, Apr 8, 2011 at 1:18 PM, vip killa vipki...@gmail.com wrote: That does not sound easy... besides these email addresses would be taken from a MySQL database. It's actually what you're going to end up doing, whether you do it on the MTA level or your code it into your script that you