Agent Email

All installation and configuration problems and questions

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

Agent Email

Postby ClearCall » Mon Mar 24, 2014 3:24 pm

Vicidial VERSION: VERSION: 2.8-426a BUILD: 140214-1643
Asterisk Asterisk 1.8.25.0-vici

I have set up the email feature, but cannot get it to work.

1) It does not automatically poll for new messages. /usr/share/astguiclient/AST_inbound_email_parser.pl is set to active and "E" keep alive is present.
If I run the AST_inbound_email_parser.pl --force-check the number of unread emails changes, but the system is not checking every 5 minutes as it should.

2) Emails are not going to agents.
When I --force-check and get emails to come in to the system, leads are created but nothing happens in the agent interface. When I go to the 'Email' tab and click refresh I get: ERROR - ID variable missing

Please advise.
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Agent Email

Postby williamconley » Thu Apr 10, 2014 8:41 pm

Installation method? (.iso image full name or a link to the installation instructions)

Is this a fresh install or an upgrade?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20346
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Agent Email

Postby StephenV » Mon Apr 14, 2014 8:19 am

Did you add it to cron?
Code: Select all
* * * * * /usr/share/astguiclient/AST_inbound_email_parser.pl
StephenV
 
Posts: 18
Joined: Tue Jun 04, 2013 7:14 am
Location: South Africa

Re: Agent Email

Postby ClearCall » Wed Apr 16, 2014 9:14 am

Fresh install from iso ViciBox 64 bit Standard. http://download.vicidial.com/iso/vicibo ... -5.0.3.iso

Yes it's in cron.
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Agent Email

Postby williamconley » Thu Apr 17, 2014 5:14 pm

Do you have an instruction set that you used to fire up this feature? If so ... link. And of course, list and double check each step.

For instance ... Admin->System Settings->Allow Emails?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20346
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Agent Email

Postby mflorell » Fri Apr 18, 2014 7:29 am

If you haven't already, I would suggest going over the Email User Manual:

http://www.vicidial.org/docs/Email_user_manual.txt


Since this is still a relatively new feature, and there aren't that many users of it yet, we are still tweaking it. We just added some new debugging features and other options last month in fact to work with some email providers better.
mflorell
Site Admin
 
Posts: 18399
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Agent Email

Postby ClearCall » Thu Apr 24, 2014 6:59 pm

That is the document I used to set it up and the imap server is gmail.

I will do some more tests.
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Agent Email

Postby ClearCall » Thu May 08, 2014 10:48 pm

Is there an option to enable an agent sound alert when an email comes in similar to how the agent hears a sound alert when a call comes in?
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Agent Email

Postby mflorell » Fri May 09, 2014 5:47 am

Since the queueing mechanism and distribution of a email is completely different from a call I don't think that would work. I'm sure it could be added, but it would take some time.
mflorell
Site Admin
 
Posts: 18399
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Agent Email

Postby ClearCall » Sat May 10, 2014 12:06 pm

All along I have been testing by running
"perl AST_inbound_email_parser.pl --debugX"
because with no parameters I just couldn't get it to work with no parameters set. Everything was set up properly because when I ran with --debugX the emails came in as expected. I then mistakenly hit 'Enter' too early when I had only typed
"perl AST_inbound_email_parser.pl --"
and realized that my emails came in as they should, but when I tried again with just
"perl AST_inbound_email_parser.pl"
it didn't work.
I tried again with
"perl AST_inbound_email_parser.pl --"
and it worked.

I now have the cron to run with parameter " -".

Something is obviously set within that "if (length($ARGV[0]" code and my solution is not the best because I am forcing the code to work. Thought I would mention it so that the developers could take a look.

Also, the StripHTML also takes out <br> so all new line characters are replaced with a space and the email gets jumbled together.
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Agent Email

Postby williamconley » Sat May 10, 2014 5:26 pm

you should post this to the Vicidial Issue Tracker and post a link to that entry here so The Vicidial Group can get it fixed.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20346
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Agent Email

Postby ClearCall » Sat May 10, 2014 5:57 pm

Signed up for Issue Tracker and posted http://www.vicidial.org/VICIDIALmantis/view.php?id=761
ClearCall
 
Posts: 164
Joined: Fri Dec 03, 2010 12:21 pm

Re: Agent Email

Postby mflorell » Mon May 12, 2014 5:52 am

I would suggest upgrading to a more recent svn version since several changes have been made to that script recently including the addition of the --force-check flag.
mflorell
Site Admin
 
Posts: 18399
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

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