how to block inbound that are not in the campaign's list

Discussions about new features or changes in existing features

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

how to block inbound that are not in the campaign's list

Postby jovieticar101 » Thu Mar 09, 2023 3:17 pm

how to block inbound calls that are not in the campaign's lists?

anyway to do it? because we're receiving a lot of inbound calls that are in the campaign's list or list within the entire system.
some of the calls are coming from a telemarketer.. I would like to ask if theres a way we could prevent
jovieticar101
 
Posts: 17
Joined: Tue Mar 07, 2023 1:11 pm

Re: how to block inbound that are not in the campaign's list

Postby udy786 » Fri Mar 10, 2023 1:51 am

Only possible by custom AGI code. When incoming calls reach to dialplan, send that number to AGI and check in database whatever condition you want to implement and return true OR false and process.
udy786
 
Posts: 148
Joined: Fri Jul 19, 2013 10:55 am

Re: how to block inbound that are not in the campaign's list

Postby mflorell » Fri Mar 10, 2023 7:29 am

There is nothing currently built-in that can do what you describe, but you can write a simple local PHP script to do that query and use that in the DID's Filter URL and that will do what you are looking for.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: how to block inbound that are not in the campaign's list

Postby jovieticar101 » Tue Mar 14, 2023 12:21 pm

thanks Matt
jovieticar101
 
Posts: 17
Joined: Tue Mar 07, 2023 1:11 pm

Re: how to block inbound that are not in the campaign's list

Postby jamiemurray » Tue Mar 21, 2023 2:15 pm

I usually achieve this with having a separate list within the campaign that is not used for anything other than "Unmatched Inbound Leads".

The calls arrive on a DID which performs lookup of all campaign lists to find the lead by caller id with a default list id of the Unmatched list from above.
The call then goes to a always closed ingroup which routes afterhours to an IVR which has qualify sql enabled (this can be enabled in system settings).
I use the following in qualify sql on the IVR entry:

Code: Select all
list_id != [LISTID of the Unmatched Inbound Leads list]


If you don't want an IVR to play, just set the sound file to sip-silence and timeout to 1 second with 0 repeat.
Timout destination would be wherever you intend to send "Valid" calls that have been matched to a lead.
D destination would be wherever you want to send the calls from "Unmatched" leads.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: how to block inbound that are not in the campaign's list

Postby jamiemurray » Tue Mar 21, 2023 2:19 pm

On some campaigns we even have it set that the script/custom fields form that appears on the screen when the lead is unmatched, displays a notice to the effect:

"This is not the original lead! Ask the customer which phone number of theirs they received the call from us on and click here to search for the original lead."

The "click here" part is literally just a hyperlink which brings up the lead search page (assuming lead search is permitted on inbound calls).
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands


Return to Features

Who is online

Users browsing this forum: No registered users and 63 guests