nwaycn / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Voicemail to email using sendmail #541

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.in conf/autoload_configs/switch.conf.xml enabled the sendmail
   <param name="mailer-app" value="sendmail"/>
   <param name="mailer-app-args" value="-t"/>
   <param name="dump-cores" value="yes"/>
2. Called to extension which is not available to so it asked me to send 
voicemail.
3. recorded the voicemail and saved

What is the expected output? What do you see instead?

Voicemail should be sent to provided email.

What version of the product are you using? On what operating system?

Fusionpbx : 4605
OS : CentOS release 6.5 (Final)

Please provide any additional information below.
If i am using default php script for sending email. then i am getting error 
like 
SMTP -> ERROR: Password not accepted from server: 535-5.7.8 Username and 
Password not accepted. Learn more at 535 5.7.8 
http://support.google.com/mail/bin/answer.py?answer=14257 gw11sm2757913pbd.17 - 
gsmtp

What steps will reproduce the problem?
1.in conf/autoload_configs/switch.conf.xml enabled the sendmail
   <param name="mailer-app" value="sendmail"/>
   <param name="mailer-app-args" value="-t"/>
   <param name="dump-cores" value="yes"/>
2. Called to extension which is not available to so it asked me to send 
voicemail.
3. recorded the voicemail and saved

What is the expected output? What do you see instead?

Voicemail should be sent to provided email.

What version of the product are you using? On what operating system?

Fusionpbx : 4605
OS : CentOS release 6.5 (Final)

Please provide any additional information below.
If i am using default php script for sending email. then i am getting error 
like 
SMTP -> ERROR: Password not accepted from server: 535-5.7.8 Username and 
Password not accepted. Learn more at 535 5.7.8 
http://support.google.com/mail/bin/answer.py?answer=14257 gw11sm2757913pbd.17 - 
gsmtp

here is the complete error log : http://pastebin.com/9CV9dGwW

Original issue reported on code.google.com by jkhan6...@gmail.com on 29 Jan 2014 at 5:49

GoogleCodeExporter commented 9 years ago
If using sendmail you are responsible for getting it working see freeswitch 
wiki for details.

If you use the standard fusionpbx emai then you need to configure it in 
Advanced -> Default settings there is a section for the email SMTP settings.

Original comment by markjcrane@gmail.com on 13 Apr 2014 at 6:47