Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Error sending mail


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
luismzuccolo at yahoo....
Guest





PostPosted: Fri May 29, 2009 9:04 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

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



_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Fri May 29, 2009 9:38 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

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:
Quote:
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 (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
luismzuccolo at yahoo....
Guest





PostPosted: Fri May 29, 2009 11:11 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

I'm using postfix, that has a compatiblilty interface to sendmail.

On Fri, 2009-05-29 at 21:36 -0500, Brian West wrote:
Quote:
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:

Quote:
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




_______________________________________________
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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Fri May 29, 2009 11:15 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
Quote:
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.


_______________________________________________
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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Fri May 29, 2009 11:22 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

Jason White <jason@jasonjgw.net> wrote:

Quote:
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
Back to top
luismzuccolo at yahoo....
Guest





PostPosted: Sat May 30, 2009 12:30 am    Post subject: [Freeswitch-users] Error sending mail Reply with quote

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:
Quote:
Jason White <jason@jasonjgw.net> wrote:

Quote:
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



_______________________________________________
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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Sat May 30, 2009 1:48 am    Post subject: [Freeswitch-users] Error sending mail Reply with quote

Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:

Quote:
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
Back to top
luismzuccolo at yahoo....
Guest





PostPosted: Sat May 30, 2009 2:36 am    Post subject: [Freeswitch-users] Error sending mail Reply with quote

1.0.4pre8


On Sat, 2009-05-30 at 16:44 +1000, Jason White wrote:
Quote:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:

Quote:
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



_______________________________________________
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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Sat May 30, 2009 2:50 am    Post subject: [Freeswitch-users] Error sending mail Reply with quote

Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
Quote:
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
Back to top
Prometheus001 at gmx.net
Guest





PostPosted: Sat May 30, 2009 6:29 am    Post subject: [Freeswitch-users] Error sending mail Reply with quote

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:
Quote:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:

Quote:
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



_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Sat May 30, 2009 10:35 am    Post subject: [Freeswitch-users] Error sending mail Reply with quote

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:
Quote:
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:
Quote:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar (luismzuccolo@yahoo.com.ar)> wrote:

Quote:
1.0.4pre8


Brian West
brian@freeswitch.org (brian@freeswitch.org)



-- Meet us at ClueCon! http://www.cluecon.com
Back to top
luismzuccolo at yahoo....
Guest





PostPosted: Sat May 30, 2009 1:46 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

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:
Quote:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
Quote:
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



_______________________________________________
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
Back to top
Prometheus001 at gmx.net
Guest





PostPosted: Sat May 30, 2009 4:09 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

JIRA opened:
*FSCORE-375 <http://jira.freeswitch.org/browse/FSCORE-375>*

Brian West schrieb:
Quote:
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:

Quote:
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:
Quote:
Luis M. Zuccolo <luismzuccolo@yahoo.com.ar
<mailto:luismzuccolo@yahoo.com.ar>> wrote:

Quote:
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


_______________________________________________
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
Back to top
jason at jasonjgw.net
Guest





PostPosted: Sat May 30, 2009 7:44 pm    Post subject: [Freeswitch-users] Error sending mail Reply with quote

Luis M. Zuccolo <luismzuccolo@yahoo.com.ar> wrote:
Quote:
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.


_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services