Page 1 of 1
Agent Email

Posted:
Mon Mar 24, 2014 3:24 pm
by ClearCall
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.
Re: Agent Email

Posted:
Thu Apr 10, 2014 8:41 pm
by williamconley
Installation method? (.iso image full name or a link to the installation instructions)
Is this a fresh install or an upgrade?
Re: Agent Email

Posted:
Mon Apr 14, 2014 8:19 am
by StephenV
Did you add it to cron?
- Code: Select all
* * * * * /usr/share/astguiclient/AST_inbound_email_parser.pl
Re: Agent Email

Posted:
Wed Apr 16, 2014 9:14 am
by ClearCall
Fresh install from iso ViciBox 64 bit Standard.
http://download.vicidial.com/iso/vicibo ... -5.0.3.isoYes it's in cron.
Re: Agent Email

Posted:
Thu Apr 17, 2014 5:14 pm
by williamconley
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?
Re: Agent Email

Posted:
Fri Apr 18, 2014 7:29 am
by mflorell
If you haven't already, I would suggest going over the Email User Manual:
http://www.vicidial.org/docs/Email_user_manual.txtSince 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.
Re: Agent Email

Posted:
Thu Apr 24, 2014 6:59 pm
by ClearCall
That is the document I used to set it up and the imap server is gmail.
I will do some more tests.
Re: Agent Email

Posted:
Thu May 08, 2014 10:48 pm
by ClearCall
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?
Re: Agent Email

Posted:
Fri May 09, 2014 5:47 am
by mflorell
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.
Re: Agent Email

Posted:
Sat May 10, 2014 12:06 pm
by ClearCall
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.
Re: Agent Email

Posted:
Sat May 10, 2014 5:26 pm
by williamconley
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.
Re: Agent Email

Posted:
Sat May 10, 2014 5:57 pm
by ClearCall
Re: Agent Email

Posted:
Mon May 12, 2014 5:52 am
by mflorell
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.