[Freeswitch-users] send voicemail with shell script
Larry Morley
lmorley at neny.cslimits.net
Fri Sep 30 22:00:27 UTC 2022
"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
>FreeSWITCH-users
>wrote:
>
>> Thanks for the reply. But, I do NOT want sendmail. I want it to run
>my
>> script and provide the number called, the wav file and the mail-to
>address
>> from the config. I cannot get it to call any script.
>
>Have you tried:
>
><param name="mailer-app"
>value="/usr/share/freeswitch/scripts/emailwav.sh"/>
><param name="mailer-app-args" value="whatever you want the script to
>see"/>
>
>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.
>
>
>Antony.
>
>--
>"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
>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