[Freeswitch-users] Problem getting custom voicemail script to run
alex at digitalmail.com
Mon Apr 19 18:27:40 UTC 2021
OK, it is now running the script - please ignore with my red-faced
On 19/04/2021 18:41, Alex Lake wrote:
> 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?
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
More information about the FreeSWITCH-users