Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 227781

Passing Variables to Mail Command

$
0
0

I’m on FreePBX version 17 and am trying to run a bash script after a voicemail message is left. I’ve been looking at using Mail Command (mailcmd) in Voicemail Admin ->Settings->Email Config, but I haven’t been able to figure out how to pass the VM_MAILBOX or other variables to the script. I’ve tried ${VM_MAILBOX} and a few other variations with no success.

Is passing variables to a script even possible in the mailcmd context? If I manually put the values in the field, it passes those through, but not the system variables.

Is anyone aware of any other method of passing voicemail message variables to a script?


Viewing all articles
Browse latest Browse all 227781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>