Hi: I get this error when voicemail try to send an email: '/bin/cat /tmp/mail.12436473394319 | sendmail -t (null)' This is the called extension: <include> <user id="1010" mailbox="1010"> <params> <param name="password" value="$${default_password}"/> <param name="vm-password" value="1010"/> <param name="vm-mailto" value="luismzuccolo@yahoo.com.ar"/> <param name="vm-notify-email-all-messages" value="true"/> <param name="http-allowed-api" value="voicemail"/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="1010"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1010"/> <variable name="effective_caller_id_number" value="1010"/> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/> <variable name="callgroup" value="techsupport"/> </variables> </user> </include> Why the vm_mailto variable isnt't passed to the script? What's wrong? Someone can assist me? Thanks in advance Luis Zuccolo __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Are you really using sendmail or are you using something like exim? /b On May 29, 2009, at 8:58 PM, Luis M. Zuccolo wrote:
Why the vm_mailto variable isnt't passed to the script? What's wrong? Someone can assist me?
Thanks in advance Luis Zuccolo
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
I'm using postfix, that has a compatiblilty interface to sendmail. On Fri, 2009-05-29 at 21:36 -0500, Brian West wrote:
Are you really using sendmail or are you using something like exim?
/b
On May 29, 2009, at 8:58 PM, Luis M. Zuccolo wrote:
Why the vm_mailto variable isnt't passed to the script? What's wrong? Someone can assist me?
Thanks in advance Luis Zuccolo
Brian West brian@freeswitch.org
-- Meet us at ClueCon! http://www.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 http://www.freeswitch.org
__________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
I'm using postfix, that has a compatiblilty interface to sendmail.
I've used this with Sendmail successfully; it should work with Postfix too. See the mailer-ap and mailer-app-args variables in autoload_configs/switch.conf.xml and be sure they are set correctly for your installation. Try running the Postfix sendmail program manually to be sure that it is working correctly. My basic point is that there's something wrong in your configuration which needs to be fixed, and the best way to do that is to check everything carefully.
Jason White <jason@jasonjgw.net> wrote:
See the mailer-ap and mailer-app-args variables in autoload_configs/switch.conf.xml and be sure they are set correctly for your installation. Try running the Postfix sendmail program manually to be sure that it is working correctly.
sendmail -t is the default, thus I would suggest testing that first with your Postfix sendmail compatibility script, as in: sendmail -t From: My name <mailaddress@example.org> To: Recipient Name <recipient@example.org> Subject: Test message This is a test message for the sendmail -t option. End with ctrl-d, and of course, substitute real e-mail addresses for the examples. Your Postfix logs might also reveal where the problems are.
Yes, in console works well (without null). This variables are sets in switch.conf.xml: <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-t"/> Previously I've omitted the error: sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `/bin/cat /tmp/mail.124363022502bd | sendmail -t (null)' The problem is the "null" section Thanks in advance On Sat, 2009-05-30 at 14:22 +1000, Jason White wrote:
Jason White <jason@jasonjgw.net> wrote:
See the mailer-ap and mailer-app-args variables in autoload_configs/switch.conf.xml and be sure they are set correctly for your installation. Try running the Postfix sendmail program manually to be sure that it is working correctly.
sendmail -t is the default, thus I would suggest testing that first with your Postfix sendmail compatibility script, as in:
sendmail -t From: My name <mailaddress@example.org> To: Recipient Name <recipient@example.org> Subject: Test message
This is a test message for the sendmail -t option.
End with ctrl-d, and of course, substitute real e-mail addresses for the examples.
Your Postfix logs might also reveal where the problems are.
_______________________________________________ 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 http://www.freeswitch.org
__________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
1.0.4pre8 On Sat, 2009-05-30 at 16:44 +1000, Jason White wrote:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
The problem is the "null" section
Yes, switch_simple_email is probably being called with a null first argument. This shouldn't happen.
Which svn revision are you on? Does it still happen with the latest svn revision?
_______________________________________________ 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 http://www.freeswitch.org
__________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
I have a problem where FS gives a core file when an voicemail email shall be sent via exim. I am on 13438. No entry in debug log in FS. No entry in exim log. Best regards Peter Jason White schrieb:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
1.0.4pre8
It works for me with revision 13501. Mine is later than yours. Try upgrading.
_______________________________________________ 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 http://www.freeswitch.org
Please Open a JIRA ASAP. We are working to get 1.0.4 out and these are the types of issues that should have been reported weeks ago if they were happening. /b On May 30, 2009, at 6:27 AM, Peter P GMX wrote:
I have a problem where FS gives a core file when an voicemail email shall be sent via exim. I am on 13438. No entry in debug log in FS. No entry in exim log.
Best regards Peter
Jason White schrieb:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
1.0.4pre8
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com
JIRA opened: *FSCORE-375 <http://jira.freeswitch.org/browse/FSCORE-375>* Brian West schrieb:
Please Open a JIRA ASAP. We are working to get 1.0.4 out and these are the types of issues that should have been reported weeks ago if they were happening.
/b
On May 30, 2009, at 6:27 AM, Peter P GMX wrote:
I have a problem where FS gives a core file when an voicemail email shall be sent via exim. I am on 13438. No entry in debug log in FS. No entry in exim log.
Best regards Peter
Jason White schrieb:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar <mailto:luismzuccolo@yahoo.com.ar>> wrote:
1.0.4pre8
Brian West brian@freeswitch.org <mailto:brian@freeswitch.org>
-- Meet us at ClueCon! http://www.cluecon.com <http://www.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 http://www.freeswitch.org
I've upgrade to 13523 and I get the same result. sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `/bin/cat /tmp/mail.1243708954adb2 | sendmail -t (null)' Thanks in advance. Luis Zuccolo On Sat, 2009-05-30 at 17:49 +1000, Jason White wrote:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
1.0.4pre8
It works for me with revision 13501. Mine is later than yours. Try upgrading.
_______________________________________________ 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 http://www.freeswitch.org
__________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
I've upgrade to 13523 and I get the same result.
My only suggestion at this point is to debug it with gdb to find out why a null argument is being passed to the function. There must be something in your configuration or environment that differs from mine, and which is responsible for the problem - it works fine here.
participants (4)
-
Brian West
-
Jason White
-
Luis M. Zuccolo
-
Peter P GMX