send voicemail with shell script

Sean Devoy sdevoy at bizfocused.com
Thu Sep 29 02:00:29 UTC 2022


Hi,
I have a shell script that sends my voicemail files as I need them to be sent.  However, I cannot get that emailwav.sh file to be called.

In switch.conf.xml I changed:
	  <param name="mailer-app" value="sendmail"/>
	  <param name="mailer-app-args" value="-t"/>
To:
	  <param name="mailer-app" value="/bin/bash /usr/share/freeswitch/scripts/emailwav.sh"/>
	  <param name="mailer-app-args" value=""/>
and restarted Freeswitch.

It still tries to send with sendmail.
Any suggestions would be great.
Thanks.
Sean



More information about the FreeSWITCH-users mailing list