Handling Multiple Contracts with Same Source ID in Campaign

All installation and configuration problems and questions

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

Handling Multiple Contracts with Same Source ID in Campaign

Postby d001 » Thu Sep 26, 2024 4:21 am

Hello,

I hope you are all well.

I have a question regarding the source_id column. I am running a campaign where multiple contracts share the same source_id, and the server regularly calls these contacts. Our client provides us with all their contracts, and our task is to notify their customers. However, in cases where the same source_id appears multiple times, their customers can become annoyed because agents may not realize they've already called them.

I know one solution is to set the status to DNC, but the agents don’t know how many contracts a customer has and can’t set the status to DNC when we’re aiming for a sale.

Does anyone have an idea of how to handle this?

Regards!
ViciBox v.11.0.1 | VERSION: 2.14-918a | BUILD: 240528-1722 | Asterisk 16.30.0-vici | OpenSUSE Leap: 15.5
d001
 
Posts: 36
Joined: Wed Jul 10, 2024 9:56 am

Re: Handling Multiple Contracts with Same Source ID in Campa

Postby williamconley » Fri Sep 27, 2024 8:31 pm

Look up "Auto Alt-Number Dialing: MULTI_LEAD"

You might find it useful. :)
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: 20252
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Handling Multiple Contracts with Same Source ID in Campa

Postby d001 » Tue Oct 08, 2024 3:44 am

Hello,

Sorry for the late response. The solution you mentioned above works, but only when the source_id is duplicated. We have some additional cases, so we decided to make changes directly in the database using triggers.

I made the server database accessible through phpMyAdmin (someone may use Adminer too), and I created some triggers that fire when the list is active. These triggers will update the status of all duplicated numbers except one and will also count them. Additionally, they will notify the agent about how many contracts are associated with that number and display all the details for each contract.

P.S. Be careful, this may be dangerous if you don't have knowledge of databases. DO NOT MAKE CHANGES IN LIVE OR PRODUCTION. Always test first!
ViciBox v.11.0.1 | VERSION: 2.14-918a | BUILD: 240528-1722 | Asterisk 16.30.0-vici | OpenSUSE Leap: 15.5
d001
 
Posts: 36
Joined: Wed Jul 10, 2024 9:56 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 55 guests