Inbound Robinson List
Estimated reading time: 14 minutes | Target users: Supervisors, Administrators
In this tutorial, you will learn how to filter incoming phone calls by setting up a blacklist (what we call a Robinson list), so phone numbers on the list can be blocked and would not be able to call your agents.
In this tutorial you can learn how to:
- Set up a filter for a small number of phone numbers
- Set up a filter for a larger number of phone numbers
- Create a list in advance
- Import the list to your project
- Add numbers to a Robinson list
- Assign a Robinson list to a project
-
Remove numbers from a Robinson list
- One by one
- Bulk removal
1. Set up a filter for a small number of phone numbers
If there are only a handful of numbers you want to block, then the process of adding those numbers to a Robinson list is fairly straightforward.
To create and apply a Robinson list with only a few entries, follow these steps:
- Navigate to Project > channels.menu.label > voice.menu.label > inbound.menu.label
- Choose the timesheet you want to have a Robinson list applied to.
- Select macro.label from the action.toolbarbutton.label dropdown list.
- Select the newly-created macro.label item that appears below your list of processes and enter a name for it, for example: ‘Inbound Blocking’. Press save.button.label.
- Add an if.label process to your Inbound Blocking macro from the action.toolbarbutton.label dropdown (while the macro is selected), set as follows:
- In the basicSettings.label section, make sure to select conditionRelationAnd.label
- Type ‘$source’ in the field in the left-hand side, and the phone number you want to have blocked in the field on the right-hand side.
- If you want to add more numbers, use the “|” sign (Alt Gr + W on Windows) to separate them. Example: 3611111111|3622222222
- Press save.button.label
- Open the if.label process with its arrow, so you can see the else.label and else.label branches.
- By placing a process from the Actions dropdown list in the else.label branch, you can define what happens if the preset criteria match those in your setup (in other words, the unsolicited number is calling). For example, insert a on_hangup.label process to disconnect the call immediately when an incoming call is established with the given number.
- The else.label branch should be left blank.
- Select your timesheet again and add the run_macro.label Action process from the dropdown list. Drag and drop it to the top of that timesheet’s actions.
- Click on the added run_macro.label action and choose the added macro: Inbound Blocking
- Repeat steps 8 and 9 for every timesheet you have in your project where you want specific callers to be blocked.
- Press inbound-save.button.label to save your settings.
Note: Phone numbers should be entered in the following format, without spaces: country code (without the initial ‘00’ or ‘+’) + area code + local number. For example, a phone number in Budapest, Hungary could be: 361123456
2. Set up a filter for a larger number of phone numbers
If you have encountered a large number of unwanted phone calls, you can create a Robinson list setup to effectively block those numbers. This is a 2-step process: first you need to create the actual list,then you import it into VCC Live.
2.1 Create the list itself
-
Set up a table in the spreadsheet application of your choice. You need to have three mandatory columns: name, phone1 and blacklist. You can then fill in the table accordingly with the names and numbers of the callers you want to be blocked.
-
Here are some requirements you should pay attention to when preparing your table:
- Phone numbers should be entered in the above-mentioned format (for example: 361123456)
- The ‘blacklist’ column should have the ‘yes’ value in every cell.
- Export the table as your database in TXT.
2.2 Set up a new project and import the database
- Create a new project and enter a name for it, for example Robinson list. The project does not need to be activated.
-
During the Project Setup Wizard process, you are asked to import a database for your project. At the Auto script generator step, enter a name for the Datasheet page name which describes the new column you want to implement. For example, name it data.
-
Make sure the Indexed checkbox for the blacklist field is marked in Project > Database > Field.
2.3 Apply the Robinson List project to one of your projects
- Navigate to Project > channels.menu.label > voice.menu.label > inbound.menu.label
- Choose macro.label from the action.toolbarbutton.label dropdown menu, and rename it to something else, for example Blacklist check.
- Add the record_data.label process from action.toolbarbutton.label to the Blacklist check macro.
- Select record_data.label, enter a name for it and fill out its parameter section as below:
- Project: select the created Robinson list project
- Search field: phone1
- Variable: $source
- Result order: First matching record
- In the table below, type $blacklist next to the blacklist line. Press inbound-save.button.label.
- Select the main macro process and nest the if.label process from Actions under it.
- Enter $blacklist = yes in If’s Parameter section. Press Save.
- Open the If process with its arrow, so you then see the Then and Else branches.
- By placing a process from the Actions dropdown list in the Then branch, you can define what should happen if the preset criteria matches those in your setup (in other words, the unsolicited number is calling). For example, insert a Hang up process to disconnect the call immediately when an incoming call is established with the given number.
- The Else branch should be left blank.
- Select a timesheet and add the run_macro.label process from action.toolbarbutton.label.
- Drag and drop run_macro.label to the top of your processes in the list.
- Select the run_macro.label process, and choose Blacklist check in its Run the given macro field. Press inbound-save.button.label.
- Repeat the last two steps for all Timesheets in which you want to block the specified numbers
- Press inbound-save.button.label.
3. List the numbers your system blocks in a log
Once you have completed the steps described in 2.3, you can create an additional variable that can record the incoming blocked call attempts and show them in your CDR log. Here’s how you set this up:
- Add fsvars.label process above a on_hangup.label process, and add a new line to its basicSettings.label section:
- Value of the variable: blacklistdetected
- If the above-mentioned process is added, you see the blacklistdetected text in the Score column of your project’s CDR log.
4. Extend your blacklist by adding more phone numbers
There are two ways to manually extend the list of blocked numbers in your Robinson list project:
- You can upload another database with new, blocked numbers as described in 2.1 and 2.2.
- You can manually add records via the records.menu.label menu. To do so:
- Navigate to database.menu.label > records.menu.label > action.toolbarbutton.label > add_btn.button.tooltiptext
-
Type any name in the ‘name’ field, then type a phone number you want to block from calling you in the ‘phone1’ field and type ‘yes’ in the ‘blacklist’ field
5. Add numbers automatically (by agents)
You can let your agents add numbers to your Robinson list by performing the steps below:
- Navigate to Project > statuses.menu.label
- Create a new disposition in the project where you want to enable this option by clicking on new_disposition.button.label, and enter a name for it, for example ‘Inbound blacklist additions’.
- Press disposition_create.button.label
- Navigate to Project > script_editor.menu.label
- Mark the enableCallCustomerApi.label checkbox.
- Press the launchCode.button.label button.
- Select your preferred code editing tool (for example, Notepad) by clicking on Browse and determining its position on your computer. Once you have selected it, press inbound-save.button.label, close the window, and then Press launchCode.button.label one more time.
- In the code editor window, paste the following code:
$().beforeSetDisposition = function(disposition) {
if (disposition.id == yourcreateddispositionID) {
var projectid = yourblacklistprojectID;
var record = {
"form":{
"blacklist": 'yes',
"phone1": vcc.getFieldValue('phone1'),
},
"disposition":{
"disposition.id": "14",
}
};
vcc.callCustomerApi('POST', '/v2/projects/'+projectid+'/records', record, function(success, response) {});
}};
- Replace the elements in bold with the relevant disposition ID and project ID values.
- Save and close the text file, and on the Script editor page choose script_upload.button.label.
Note: The setting in step 7 can be changed later any time at VCC Live menu > tools.menu.label > tools_settings.menu.label > external_editor.tab.label tab
6. Remove numbers from your Robinson list.
If you want to unblock phone numbers in your project in order to receive calls from them, you can remove these numbers from your Robinson list. To remove phone numbers from your Robinson list, follow these steps:
- Navigate to the Robinson list’s Project > database.menu.label > records_list.menu.label.
- Look up the specific phone number you want to remove (with the help of the search fields and filtering parameters).
- Press action.toolbarbutton.label, and then massUpdate.label.
- In the popup window choose the ‘blacklist’ Field from the drop-down list on the left-hand side and leave the Value part empty.
-
Press inbound-save.button.label. The progress bar will show whether the update is completed. Once it has completed, close the window.
7. Bulk removal of numbers
You can remove multiple phone numbers from your Robinson list in one go. To do this, follow these steps:
- Navigate to the Robinson list’s Project > database.menu.label > records_list.menu.label.
- Search all records without using any filters – this lists all the records you have in your database. Copy or Export your results by pressing Copy to clipboard or Export.
- Paste and Edit your database in the spreadsheet application of your choice.
- Delete the records you want to be removed from your Robinson list.
- Rename these two columns:
- The Record ID column with “numberid” (NB: There are two underscore characters on each side of “numberid”),
- The blacklist column with “field.blacklist”
- Save your database in TXT
- Navigate to Project > database.menu.label > import.menu.label
- Select add_btn.button.tooltiptext and then update.button.tooltiptext from the drop down list.
- Browse for the update TXT file you created and click Open. Press Ctrl+A to choose all dispositions which appear on the screen. Press Next.
- The system displays the update progress status. Once completed, press Finish.
Comments
Can’t find what you need? Use the comment section below to connect with others, get answers from our experts, or share your ideas with us.
There are no comments yet.