Where you say the app you want is sendmail, I think this is your problem, instead tell it your shell script and make the arguments what you want and the shell script will invoke sendmail itself. On Fri, 30 Sep 2022 15:35:30 -0400, Sean Devoy via FreeSWITCH-users wrote:
[1 <message/rfc822 (7bit)>] To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: RE: [Freeswitch-users] send voicemail with shell script From: Sean Devoy <sdevoy@bizfocused.com> Date: Fri, 30 Sep 2022 19:24:14 +0000
Bump.
Can anyone help with this please? I have tried the manuals and searches and I am stuck. Also, why is my message always made an attachment in the list. I have it set to send "Plain Text".
Original Message: 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 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.
Thanks, Sean
-----Original Message----- From: FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> On Behalf Of Sean Devoy via FreeSWITCH-users Sent: Wednesday, September 28, 2022 10:36 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] send voicemail with shell script
_________________________________________________________________________
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com [2 <text/plain; utf-8 (base64)>] _________________________________________________________________________
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici@ccs.covici.com