get_switch_codes.pl

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

get_switch_codes.pl

Postby gmcust3 » Fri Nov 27, 2009 6:51 pm

I have downloaded a file from Mantis.

get_switch_codes.pl

Now, I want to run a query

update vicidial_list set status='INVAL' where left(phone_number,6) not in ( select npanxx from nanpa_codes where ocn!='');

After my lead has been loaded.

How to do that ?
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Sat Nov 28, 2009 9:31 am

1 Mysql command line version
Code: Select all
mysql -pPASSWORD
use asterisk;
SQL STATEMENT(S) TO EXECUTE
exit

2 phpmyadmin

3 webmin
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gmcust3 » Sat Nov 28, 2009 2:03 pm

How to use it with new_listloader_superL.php ?
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Sat Nov 28, 2009 4:31 pm

don't. run it separately (after).
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gmcust3 » Sat Nov 28, 2009 8:21 pm

Any reason for DONT ?
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Sat Nov 28, 2009 9:11 pm

if you know how, do. if you don't, do it separately. it's not like there's a requirement of some sort.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby gmcust3 » Tue Dec 01, 2009 12:39 pm

Trying this :

CREATE TRIGGER List_Invalid_Check
AFTER insert ON vicidial_list
FOR EACH ROW
BEGIN
update vicidial_list set status='INVAL' where left(phone_number,6) not in ( select npanxx from nanpa_codes where ocn!='');
END
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 82 guests