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

Alex Lake 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 
apologies...


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 
> /usr/local/freeswitch/scripts/processvm.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 
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time 
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com





More information about the FreeSWITCH-users mailing list