Page 1 of 1

call initiating from another campaign

PostPosted: Tue Sep 04, 2018 7:12 am
by ivschakravarthi
VERSION: 2.13-576a BUILD: 161126-2138 | asterisk 1.4.27.1|single server |Centos6.0 |One Digium card | No cluster

We have an outbound Callcenter Setup with 7 Agents.
Around 10 campaigns are there and each campaign is mapped to one particular list. i.e., list id 111 is mapped to campaing id 111 ,list id 332 is mapped to campaing id 332...so on

Agents will be selling the products through 9 Campaigns and based on the disposition of the call,confirmed sales will be inserted into separate campaing with separate lead id.

Below is the Vicidial_list and Vicidial_agent_log

Vicidial_list

| lead_id | entry_date | status | list_id |
+---------+---------------------+--------+---------+
| 37563 | 2018-09-04 15:15:14 | SALE | 332 |
| 37584 | 2018-09-04 15:32:04 | VS | 111 |

In the above output, Agent placed an order at 15:15 Hrs through 332 List id and it was pushed into 111 List id for verification of product order.

Vicidial_agent_log

| agent_log_id | user | event_time | lead_id | campaign_id | status |
+--------------+------+---------------------+---------+-------------+--------+
| 162882 | 3003 | 2018-09-04 15:08:17 | 37584 | 111 | VS |
| 162938 | 3012 | 2018-09-04 15:18:11 | 37563 | 332 | SALE |
| 162945 | 4000 | 2018-09-04 15:21:31 | 37563 | 222 | SALE |


When you refer the above vicidial_agent_log table, have the below observations.
1. Agent log id 162938 is correct i.e., agent has called the customer at 15:18 Hrs and placed the order.
2. Regarding Agent log id 162945 , unable to understand ,how the call got initiated through 222 campaign,while that number itself is not available in that list id.

Below is my list id mapped table.

select list_id,campaign_id from vicidial_lists where list_id in ('332','111','222');
+---------+-------------+
| list_id | campaign_id |
+---------+-------------+
| 111 | 111 |
| 222 | 222 |
| 332 | 332 |
+---------+-------------+

can you please help in tracing the issue?

Regards,
chak

Re: call initiating from another campaign

PostPosted: Tue Sep 04, 2018 11:07 am
by williamconley
1) Good job posting your specs, but you left off the installation method (with link to instructions!). This can be important if there are installation-related issues and others experience your same problem who (not by coincidence) have the same problem. We can all see the relation to your problem and your installation method quite easily.

2) Check your admin log for the list in question. See if it has ever been assigned to another campaign.

3) Were there any transfers? Are any ingroups or transfer groups involved in this process?

4) Check the lead modify page and see if there's a hint of any progression in the logs and recordings.

5) Check the lead's "entry_list" field to see if it was populated incorrectly and possibly used in error by custom code.

6) "confirmed sales will be inserted into separate campaing with separate lead id."

When you duplicate a lead, your new lead has none of the history of the original lead. I find it to be a very bad thing to separate your lead from it's history, splintering your statistics.

Better ideas:
* Don't put "SALE" status in your dialable status list (this avoids dialing sale leads).
* MOVE the lead to a new list, and be sure to log the move somewhere, if you must.

But making a 2nd lead is rarely a good idea.