Email addon question

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Email addon question

Postby rsaaris » Fri Jan 04, 2013 2:52 am

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.

Vicibox 3.1.15 / .iso
VERSION: 2.6-393a
BUILD: 130124-1721
Asterisk version: 1.4.38-vici
IBM System X3550/X3650
Sangoma E1 -card
rsaaris
 
Posts: 50
Joined: Wed Dec 07, 2011 6:40 am

Re: Email addon question

Postby mflorell » Fri Jan 04, 2013 7:56 am

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?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Email addon question

Postby rsaaris » Sat Jan 05, 2013 2:42 am

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)

Vicibox 3.1.15 / .iso
VERSION: 2.6-393a
BUILD: 130124-1721
Asterisk version: 1.4.38-vici
IBM System X3550/X3650
Sangoma E1 -card
rsaaris
 
Posts: 50
Joined: Wed Dec 07, 2011 6:40 am

Re: Email addon question

Postby mflorell » Sat Jan 05, 2013 7:10 am

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?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Email addon question

Postby rsaaris » Mon Jan 07, 2013 1:07 am

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.

Vicibox 3.1.15 / .iso
VERSION: 2.6-393a
BUILD: 130124-1721
Asterisk version: 1.4.38-vici
IBM System X3550/X3650
Sangoma E1 -card
rsaaris
 
Posts: 50
Joined: Wed Dec 07, 2011 6:40 am

Re: Email addon question

Postby mflorell » Mon Jan 07, 2013 7:31 am

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Email addon question

Postby rsaaris » Tue Jan 08, 2013 6:12 am

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.

Vicibox 3.1.15 / .iso
VERSION: 2.6-393a
BUILD: 130124-1721
Asterisk version: 1.4.38-vici
IBM System X3550/X3650
Sangoma E1 -card
rsaaris
 
Posts: 50
Joined: Wed Dec 07, 2011 6:40 am

Re: Email addon question

Postby mflorell » Tue Jan 08, 2013 10:48 am

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';
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Email addon question

Postby rsaaris » Thu Jan 10, 2013 5:29 am

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. :-)

Vicibox 3.1.15 / .iso
VERSION: 2.6-393a
BUILD: 130124-1721
Asterisk version: 1.4.38-vici
IBM System X3550/X3650
Sangoma E1 -card
rsaaris
 
Posts: 50
Joined: Wed Dec 07, 2011 6:40 am

Re: Email addon question

Postby mflorell » Thu Jan 10, 2013 9:41 am

Thanks for the note. I will add instructions on this setting to the email document soon.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Email addon question

Postby niteshkumar444 » Fri Dec 26, 2014 11:53 am

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
niteshkumar444
 
Posts: 1
Joined: Fri Dec 26, 2014 11:47 am

Re: Email addon question

Postby mflorell » Fri Dec 26, 2014 1:06 pm

This is the email document, if you have not already read through the whole thing:
http://www.vicidial.org/docs/Email_user_manual.txt
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 56 guests