No lead in hopper AST_VDhopper.pl error [RESOLVED]

All installation and configuration problems and questions

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

No lead in hopper AST_VDhopper.pl error [RESOLVED]

Postby mittchetan » Fri Feb 19, 2016 4:05 pm

I am using vicidial 2.9 441a everything working find suddenly no lead in hopper. we i run AST_VDhopper.pl get below error.

DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT(phone_number,3) in ("201","215","609","718","732","856","908","973","215","' at line 5 at AST_VDhopper.pl line 1971.
executing: SELECT count(*) FROM vicidial_list where called_since_last_reset='N' and status IN('DROP','B','NEW') and list_id IN('999876543210') and ((gmt_offset_now IN('13.00','12.75','12.50','12.25','12.00','11.75','11.50','11.25','11.00','10.75','10.50','10.25','10.00','9.75','9.50','9.25','9.00','8.75','8.50','8.25','8.00','7.75','7.50','7.25','7.00','6.75','6.50','6.25','6.00','5.75','5.50','5.25','5.00','4.75','4.50','4.25','4.00','3.75','3.50','3.25','3.00','2.75','2.50','2.25','2.00','1.75','1.50','1.25','1.00','0.75','0.50','0.25','0.00','-0.25','-0.50','-0.75','-1.00','-1.25','-1.50','-1.75','-2.00','-2.25','-2.50','-2.75','-3.00','-3.25','-3.50','-3.75','-4.00','-4.25','-4.50','-4.75','-5.00','-5.25','-5.50','-5.75','-6.00','-6.25','-6.50','-6.75','-7.00','-7.25','-7.50','-7.75','-8.00','-8.25','-8.50','-8.75','-9.00','-9.25','-9.50','-9.75','-10.00','-10.25','-10.50','-10.75','-11.00','-11.25','-11.50','-11.75','-12.00','-12.25','-12.50','-12.75','99') ) ) and (state in("AL","AR","CA","CO","CT","FL","GA","IL","KY","LA","MD","MA","MN","MS","NJ","NM","NY","OR","PA","SC","WA")



LEFT(phone_number,3) in ("201","215","609","718","732","856","908","973","215","267","484","609","610","717","856","626","213","310","323","562","619")) ; You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LEFT(phone_number,3) in ("201","215","609","718","732","856","908","973","215","' at line 5 at AST_VDhopper.pl line 1971.


Thanks in advance

Goautodial 3.3 installation
VERSION: 2.9-441a
BUILD: 140612-1628
© 2014 ViciDial Group
Asterisk version 1.8.23.0-1
Last edited by mittchetan on Sat Feb 20, 2016 5:22 am, edited 1 time in total.
mittchetan
 
Posts: 12
Joined: Thu Dec 23, 2010 2:11 pm

Re: No lead in hopper AST_VDhopper.pl erro

Postby MJCoate » Fri Feb 19, 2016 5:49 pm

Hello,

It looks like you are using a filter with something improper in your SQL. Would you please copy and past the entire SQL fragment you're using?
Mike Coate | VICIdial Technical Support Staff
MJCoate
 
Posts: 82
Joined: Wed Mar 25, 2015 1:57 pm

Re: No lead in hopper AST_VDhopper.pl erro

Postby MJCoate » Fri Feb 19, 2016 5:56 pm

Actually, if I had to guess, I'd say you're missing an operator such as 'AND' in between 'state in()' and 'left(phone_number,3)'.
Mike Coate | VICIdial Technical Support Staff
MJCoate
 
Posts: 82
Joined: Wed Mar 25, 2015 1:57 pm

Re: No lead in hopper AST_VDhopper.pl error [RESOLVED]

Postby mittchetan » Sat Feb 20, 2016 5:21 am

Hi,

Thanks For your replying, one of my colleague add a filter due to that issue was occurring. I have remove filter issue solve

Thanks Again
mittchetan
 
Posts: 12
Joined: Thu Dec 23, 2010 2:11 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 122 guests