<div dir="ltr"><p>You mailer is not understand "mailer-app-args" has been configured in "switch.conf.xml"</p><p>Remove extra arg or add required</p>
<br><div class="gmail_quote">пт, 20 февр. 2015, 7:49, Jason Lewis <<a href="mailto:jason@dickson.st" target="_blank">jason@dickson.st</a>>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
I've been trying to make freeswitch email voicemails but as far as I can<br>
tell, it never even calls sendmail.<br>
<br>
I have setting mailer-app to "sendmail" and "/usr/sbin/sendmail" to no<br>
avail. I can successfully send an email from the commandline using<br>
sendmail. (sendmail in this case is provided by postfix)<br>
<br>
I see no emails in the postfix mail logs when I leave a voicemail message.<br>
<br>
I also tried creating a shell just to see if it even gets called from<br>
fs, but it does not get called when a voicemail is deposited:<br>
#!/bin/bash<br>
echo $(date --rfc-3339=ns): $* >> /tmp/freeswitchsendmail.log<br>
<br>
After every change, I have run reloadxml and reload mod_voicemail. I<br>
have also tried restarting freeswitch.<br>
<br>
I am running the debian packages of FreeSWITCH Version 1.4.15-1~64bit<br>
(-1 64bit)<br>
<br>
my configuration is based on the vanilla configuration with only very<br>
minor changes.<br>
<br>
I'm at a loss as to how to debug further, but I'm pretty sure the<br>
mailer-app is never called. Is there some setting I'm missing or<br>
something obvious I'm not doing?<br>
<br>
<br>
My config:<br>
1001.xml:<br>
<include><br>
<user id="1001"><br>
<params><br>
<param name="password" value="$${default_password}"/><br>
<param name="vm-password" value="1001"/><br>
<param name="vm-mailto" value="<a href="mailto:jason@xyz.com.au" target="_blank">jason@xyz.com.au</a>"/><br>
<param name="vm-mailfrom" value="<a href="mailto:vm@freeswitch.xyz.com.au" target="_blank">vm@freeswitch.xyz.com.<u></u>a<u></u>u</a>"/><br>
<!-- <param name="vm-message-ext" value="wav"/> --><br>
</params><br>
<variables><br>
<variable name="toll_allow" value="domestic,international,<u></u><u></u>local"/><br>
<variable name="accountcode" value="1001"/><br>
<variable name="user_context" value="default"/><br>
<variable name="effective_caller_id_<u></u>name<u></u>" value="Extension 1001"/><br>
<variable name="effective_caller_id_<u></u>numb<u></u>er" value="1001"/><br>
<variable name="outbound_caller_id_name"<br>
value="$${outbound_caller_<u></u>name<u></u>}"/><br>
<variable name="outbound_caller_id_<u></u>numbe<u></u>r"<br>
value="$${outbound_caller_id}"<u></u><u></u>/><br>
<variable name="callgroup" value="techsupport"/><br>
</variables><br>
</user><br>
</include><br>
<br>
and in switch.conf.xml I have the following set:<br>
<br>
<param name="mailer-app" value="/usr/sbin/sendmail"/><br>
<param name="mailer-app-args" value="-t"/><br>
<br>
<br>
I made a log at level 7 and put it on the pastebin:<br>
<br>
<a href="https://pastebin.freeswitch.org/23921" target="_blank">https://pastebin.freeswitch.<u></u>or<u></u>g/23921</a><br>
<br>
<br>
Jason Lewis<br>
<a href="http://emacstragic.net" target="_blank">http://emacstragic.net</a><br>
<br>
<br>
______________________________<u></u><u></u>______________________________<u></u><u></u>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<u></u>freeswitchsolutions<u></u>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<u></u>o<u></u>rg</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<u></u>freeswi<u></u>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<u></u>ma<u></u>ilman/listinfo/freeswitch-<u></u>user<u></u>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<u></u>frees<u></u>witch.org/mailman/<u></u>options/<u></u>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>