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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160306/2ba81fe1/attachment.html>
Rodrigo RamÃrez Norambuena
2016-Mar-07 12:37 UTC
[asterisk-users] Pass variable to voicemail script
March 6 2016 1:06 AM, "Michelle Dupuis" <mdupuis at ocg.ca> wrote:> 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?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 <mailto:fsd at voipbusiness.us> support at voipbusiness.us From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at 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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160307/c026d085/attachment.html>
Telium Technical Support
2016-Mar-07 14:36 UTC
[asterisk-users] Pass variable to voicemail script
> If you are talking about the 'externnotify' parameter invoicemail.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) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160307/c2077fe0/attachment.html>