[Freeswitch-users] Problem getting custom voicemail script to run

Alex Lake alex at digitalmail.com
Mon Apr 19 17:41:19 UTC 2021

FreeSWITCH Version 1.10.6-release-18 running on Debian 10.

I need voicemail to run an alternative script when a message is left, 
and not just send an email.

I've changed /etc/freeswitch/autoload_configs/switch.conf.xml to have:

       <param name="mailer-app" value="/usr/bin/php 
       <param name="mailer-app-args" value=""/>

But I don't believe it's even trying to use it. Instead I get entries in 
the log like this:

2021-04-19 16:49:04.272054 [DEBUG] mod_voicemail.c:2832 Deliver VM to 
6378101 at w.x.y.z
2021-04-19 16:49:04.872034 [DEBUG] switch_utils.c:1308 Emailed file 
[/tmp/mail.1618850944b82e] to [email at domain.com]
2021-04-19 16:49:04.872034 [DEBUG] mod_voicemail.c:3042 Sending message 
to email at domain.com

What am I missing?!

Can this behaviour be overridden?

More information about the FreeSWITCH-users mailing list