MySQL remove duplicate Phone Numbers

All installation and configuration problems and questions

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

MySQL remove duplicate Phone Numbers

Postby chasejordan1 » Tue Jul 15, 2014 12:08 pm

I have been searching for a command to use to remove all duplicate phone numbers within my system and am having a very difficult time, I have about 12 different list and I don't want the agents calling the same phone numbers. My list girl didn't not select "remove duplicates" when she imported the lists. I don't want to have to export each list then import again. Any ideas on how to do this with a single command. Thanks
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Re: MySQL remove duplicate Phone Numbers

Postby covarrubiasgg » Thu Jul 17, 2014 8:45 pm

I AM NOT RESPONSIBLE FOR ANY DATA LOSS, TRY IT UNDER YOUR OWN RISK

You can create a new empty list for example 123123

Code: Select all
/usr/share/astguiclient/VICIDIAL_DEDUPE_leads.pl --live-update --system-duplicate --duplicate-list=123123


You can check more options for the script here

Code: Select all
-- VICIDIAL_DEDUPE_leads.pl --

This program is designed to scan all leads for a campaign or entire system that are duplicates and move the newer lead into a different list_id.

allowed run time options:
  [-q] = quiet
  [-t] = test
  [--live-update] = runs the live UPDATE to move leads, default is report only
  [--system-duplicate] = checks for duplicates in entire database
  [--campaign-duplicate=1234] = duplicate check witin this campaign
  [--ignore-list=999] = ignores the list in duplicate check
  [--duplicate-list=998] = list_id that duplicate leads are moved to, default is 998
  [-h] = this help screen
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: MySQL remove duplicate Phone Numbers

Postby sohail2542 » Fri Apr 07, 2017 3:06 pm

Good it is working perfectly, thanks for help
sohail2542
 
Posts: 9
Joined: Mon Jul 19, 2010 6:46 am


Return to Support

Who is online

Users browsing this forum: No registered users and 63 guests