No lead in hopper AST_VDhopper.pl error [RESOLVED]
Posted: 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
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