Page 1 of 1

Email addon question

PostPosted: Fri Jan 04, 2013 2:52 am
by rsaaris
The latest SVN upgrades brought the email addon to vicidial. I am having some issues to get it to work. Email account takes the mails in but agent never recieve the email to the agent screen. In Email groups I can see that there is an unread message and when agent loggs in and presses resume the unread message is now read but the agent never gets it. In the database the mail turns from NEW to QUEUE. The emailing users manual doesn't say if there should be a EMAIL option in the Get Call Launch option in inbound group. Could this be te main cause? That there should be such option?

Also the cron job (AST_inbound_email_parser.pl) that takes the mails in is not in the cronjobs although I put the "E" option to the keepalives when running the install.pl.

Email accounts, email groups and inbound groups are all active and campaign allows the email group to be used.

Re: Email addon question

PostPosted: Fri Jan 04, 2013 7:56 am
by mflorell
Why didn't you put in the crontab entry? It is defined that it needs to be added in the document.

* * * * * /usr/share/astguiclient/AST_inbound_email_parser.pl

Also, what are the results of "screen -ls" on your server with the "E" defined?

Re: Email addon question

PostPosted: Sat Jan 05, 2013 2:42 am
by rsaaris
Ok, should have read the manual about the manual little more carefully. :) I thought that the "E" would add the cron. My bad.

This is the result of the "screen -ls":
There are screens on:
2838.ASTVDremote (Detached)
2845.ASTfastlog (Detached)
2830.ASTsend (Detached)
2836.ASTVDauto (Detached)
2742.asterisk (Detached)
2737.astshell20130102152603 (Detached)
2827.ASTupdate (Detached)
10380.ASTVDadapt (Detached)
7372.ASTemail (Detached)
2833.ASTlisten (Detached)

Re: Email addon question

PostPosted: Sat Jan 05, 2013 7:10 am
by mflorell
Well, it looks like the email process is running, and if you added the crontab entry and installed all of the new cpan modules that are required for email then you should be good to go.

Did you change the user field "Agent Call Email" to "1" for all of your agents that will be handling emails?

Re: Email addon question

PostPosted: Mon Jan 07, 2013 1:07 am
by rsaaris
Yes. the "Agent Call Email" is set to "1" with the agent that is testing the email handling. All the Cpan modules were installed ok .They all say now that they are in the newest version.

Re: Email addon question

PostPosted: Mon Jan 07, 2013 7:31 am
by mflorell
Well, it's really hard to say what might not be working. This is still very new, and we have installed it on a handful of existing systems without the problem you describe, but I have a feeling that it is probably a small setting somewhere that is not set the way it needs to be.

Re: Email addon question

PostPosted: Tue Jan 08, 2013 6:12 am
by rsaaris
How about the Get Call Launch option in the Ibound Group that is made when I added the email group? Should there be "EMAIL" as an option besides "SCRIPT", "FORM", "NONE" etc? In database it shows that the email inbound group has empty where there should be NONE by default.

Re: Email addon question

PostPosted: Tue Jan 08, 2013 10:48 am
by mflorell
I think there was a bug in that statement a little while ago actually. Make sure this query ran when you updated(or just run it again):

ALTER TABLE vicidial_inbound_groups MODIFY get_call_launch ENUM('NONE','SCRIPT','WEBFORM','WEBFORMTWO','FORM','EMAIL') default 'NONE';

Re: Email addon question

PostPosted: Thu Jan 10, 2013 5:29 am
by rsaaris
Resolved. I found that there is "ALLOW EMAILS" option in campaign settings that is not covered in the email manual. I turned that on and the emails started to show in the agent screen. :-)

Re: Email addon question

PostPosted: Thu Jan 10, 2013 9:41 am
by mflorell
Thanks for the note. I will add instructions on this setting to the email document soon.

Re: Email addon question

PostPosted: Fri Dec 26, 2014 11:53 am
by niteshkumar444
How can i configure the Email option on Vicibox_v.6.0.x86_64-6.0.3. i have trying to active the Allow Emails on Campaign but its not active can please help me out this.


Vicibox_v.6.0.x86_64-6.0.3.iso
Asterisk 1.8

Re: Email addon question

PostPosted: Fri Dec 26, 2014 1:06 pm
by mflorell
This is the email document, if you have not already read through the whole thing:
http://www.vicidial.org/docs/Email_user_manual.txt