Bulk Import
Posted: Tue Feb 11, 2014 1:32 pm
I am attempting to make a script to load leads directly into the database. The database schema appears straight forward, but I think I am missing something.
The general flow:
look for a list in vicidial_lists and pull the list id
load the leads from a file into a temporary table
insert the leads into vicidial_list with values set for phone_number and list_id and status='NEW'
All the other fields have default values that seem to make sense so I just leave them. When I look at the list via the gui, it appears that they have been loaded. However, when I begin the campaign the hopper does not load. The gui says something like "list has no contacts" which doesn't make sense.
I could probably use the cli import, however, I find it limited since I really don't need most of the fields. All I care about is loading a phone number into a list - no name, no address, none of the other fields are relevant to my needs at the moment.
If anyone has already looked into this and can offer some guidance, I would be very thankful!
If I do get it working, I will post instructions here.
* I am using GoAutoDIal with Asterisk 1.4.39.1
The general flow:
look for a list in vicidial_lists and pull the list id
load the leads from a file into a temporary table
insert the leads into vicidial_list with values set for phone_number and list_id and status='NEW'
All the other fields have default values that seem to make sense so I just leave them. When I look at the list via the gui, it appears that they have been loaded. However, when I begin the campaign the hopper does not load. The gui says something like "list has no contacts" which doesn't make sense.
I could probably use the cli import, however, I find it limited since I really don't need most of the fields. All I care about is loading a phone number into a list - no name, no address, none of the other fields are relevant to my needs at the moment.
If anyone has already looked into this and can offer some guidance, I would be very thankful!
If I do get it working, I will post instructions here.
* I am using GoAutoDIal with Asterisk 1.4.39.1