[Freeswitch-users] send voicemail with shell script

Sean Devoy sdevoy at bizfocused.com
Sat Oct 1 21:39:34 UTC 2022

Thank you all for your help.  I do wish I could get this working; I know I used the script years ago and it is a handy backup. My immediate problem has been solved. I hired someone to get sendmail working on the FS server using my relay post office.  My VMs now arrive in email. It uses sendmail regardless of the mailer-app setting in switch.conf.xml. I restarted FS after every change to switch.conf.xml.

-----Original Message-----
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Larry Morley
Sent: Friday, September 30, 2022 6:00 PM
To: Sean Devoy via FreeSWITCH-users <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] send voicemail with shell script

"This problem seems a bit strange and unusual; I, myself am strange and unusual".

I thought I saw you had mentioned that sendmail was always invoked. Sure this isn't an OS configuration problem?

There are far too many ways to ensure sendmail is exec'd and not the program you're trying to run. Especially if someone had deliberately compromised your system. Might be worth a look.

- Larry

On Sep 30, 2022, 16:08, at 16:08, Antony Stone <antony.stone at freeswitch.open.source.it> wrote:
>On Friday 30 September 2022 at 22:01:20, Sean Devoy via 
>> Thanks for the reply. But, I do NOT want sendmail. I want it to run
>> script and provide the number called, the wav file and the mail-to
>> from the config. I cannot get it to call any script.
>Have you tried:
><param name="mailer-app"
><param name="mailer-app-args" value="whatever you want the script to 
>In other words, specify the "app" as the script name, and the "args" as 
>the parameters you want to pass it.
>This assumes that your script is executable by the freeswitch user and 
>contains "#!/bin/bash" as the first line.
>"How I managed so long without this book baffles the mind."
> - Richard Stoakley, Group Program Manager, Microsoft Corporation,
>   referring to "The Art of Project Management", O'Reilly press
>                                              Please reply to the list;
>                                                  please *don't* CC me.
>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 
>Professional FreeSWITCH Services
>sales at freeswitch.com
>Official FreeSWITCH Sites
>FreeSWITCH-users mailing list
>FreeSWITCH-users at lists.freeswitch.org


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

Official FreeSWITCH Sites

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org

More information about the FreeSWITCH-users mailing list