Pass Variable To Voicemail Script
I have a custom voicemail script which reformats and forwards the attached voicemail wav file to the recipient.
I would like to make use of a channel variable in my script; is there a way to pass a channel variable to this voicemail script?
3 thoughts on - Pass Variable To Voicemail Script
March 6 2016 1:06 AM, “Michelle Dupuis” wrote:
How you call the custom script?
—
Rodrigo Ramírez Norambuena http://www.rodrigoramirez.com
—
Hello;
If you are talking about the ‘externnotify’ parameter in voicemail.conf, the variables are passed simply as @ARGV.
Regards;
John V.
Tech Support
Tech Support
VoIP Business Solutions
240-215-3479 x325
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michelle Dupuis Sent: Saturday, March 05, 2016 11:06 PM
To: Asterisk Users List Subject: [asterisk-users] Pass variable to voicemail script
I have a custom voicemail script which reformats and forwards the attached voicemail wav file to the recipient.
I would like to make use of a channel variable in my script; is there a way to pass a channel variable to this voicemail script?
voicemail.conf, the variables are passed simply as @ARGV.
I’m referring to the mailcmd= setting in voicemail.conf. Asterisk runs this when emailing a voicemail (with attachment)