WHITELIST

All installation and configuration problems and questions

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

WHITELIST

Postby oshonubi » Sun Nov 04, 2012 4:41 pm

Hi All,

Is there a way we can generate whitelist for outbound calls. What we intend to achieve is that outbound calls are restricted to certain number. Any number outside those restricted numbers will not be dialed.

Thank you
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby williamconley » Sun Nov 04, 2012 5:03 pm

How large is the list? Is it a pattern that can be described or an actual list of numbers?

I've never heard of that request, but it would be fairly easy to implement with a database call in your extension/dialplan.

The asterisk dialplan language allows for database access directly or through an "agi script" written in either perl or php. In any of these cases, the outcome of the database request can be used to alter the path of the call. But if the numbers allowed to dial fit a pattern, or is a very small list ... these possibilities can be dealt with directly in the dialplan without a database requirement.

You should post the model number of your ZAP equipment. It often helps with troubleshooting down the road.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WHITELIST

Postby oshonubi » Tue Nov 06, 2012 1:03 am

Hi WIlliam,

Thanks for the response. Please find my responses below

Q: How large is the list? Is it a pattern that can be described or an actual list of numbers?

A: We want to have a about 200 numbers to dial to without any pattern. I believe an AGI script could do the job. I wrote one but not working. May be you could help with it. Here is a copy

#!/usr/bin/php -q
<?php
include('phpagi.php');
$agi = new AGI();
$numbers = file_get_contents('file.txt');
$numberArray = explode(",",$numbers);
$test = 'xxxxxxxxxxxx';
if (in_array($test,$numberArray))
$agi->exec("Dial", "DAHDI/g1/$test");
//echo "exten => $number,1,Dial(Local/$number)";
else
$agi->exec("HangUp");
?>

In this script there are two options I tried but none ever worked.

First option involves reading the numbers to dial from a file called file.txt located in the same directory with script

The second option involove using a variable number defined as $test.

This is my dialplan for outbound calls

;exten => _XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _XXXXXXXXXXX,2,AGI(whitelist/read.php)
;exten => _XXXXXXXXXXX,3,Hangup


Q: You should post the model number of your ZAP equipment. It often helps with troubleshooting down the road.

A: My card is AX800P

I will appreciate your responses.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby williamconley » Tue Nov 06, 2012 12:19 pm

is this intended to be used in a vicidial campaign? if so, the dial command you are using could create a bit of a problem. you should use an existing standard carrier dial pattern, but "insert" a method to kill the call if it does not match specific criteria.

but the question is where this filter belongs. if this is to filter "transfer" calls or "manual dial" calls ... it could be handled one way, but if it is meant to limit autodialed calls, I'd love to hear why it is necessary. If however it is meant to manage calls that are not being made by agents logged in to vicidial ... that's a whole different ball game.
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WHITELIST

Postby oshonubi » Tue Nov 06, 2012 1:32 pm

Hi,

Thanks for the response. The whole concept is to limit the phone numbers for the agent to a certain defined numbers. Could you please help with the dial command you suggest?

Hoping to hear from you.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby williamconley » Tue Nov 06, 2012 2:51 pm

i got that it is for an "agent", but that is not descriptive enough to show when it will be used, which is important.

will this be used by an agent who is NOT logged in? Directly at their phone?

will this be used by an agent who IS logged in? Manual Dial? 3-Way calling with a client? Blind Transfer?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WHITELIST

Postby oshonubi » Tue Nov 06, 2012 4:17 pm

Hello William,

Please find below the responses

Q: will this be used by an agent who is NOT logged in? Directly at their phone?

A: The agent must log in and the call will be made from the agent interface using manual dial hyperlink

Q: will this be used by an agent who IS logged in? Manual Dial? 3-Way calling with a client? Blind Transfer?

A: The caller will be logged in can make the call through manual dial, three way calling and also blind transfer.

Please let me know if you have other questions.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby oshonubi » Sun Nov 18, 2012 8:06 am

Please I would like to know if anyone has succeded in restricting outbound calls to certain defined numbers. What I want to achieve it that certain numbers are listed in a file. When an outbound call is made by an agent that is not within those numbers, they are restricted. Only the defined numbers are allowed for outbound calls.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby mflorell » Sun Nov 18, 2012 8:52 am

Campaign Detail ->

Manual Dial Filter - This allows you to filter the calls that agents make in manual dial mode for this campaign by any combination of the following: DNC - to kick out, CAMPAIGNLISTS - the number must be within the lists for the campaign, NONE - no filter on manual dial or fast dial lists. CAMPLISTS_ALL - will include inactive lists in the search for the number.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: WHITELIST

Postby oshonubi » Sun Nov 18, 2012 4:58 pm

Hi Matt,

Thanks for the response. I really appreciate it. For my campaign, the Manual Dial List is 998. Is that where I load the numbers?
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby oshonubi » Sun Nov 18, 2012 5:10 pm

Hi Matt,

Considering the dial plan for my outbound call which is below:


exten => _XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXXX,2,Dial(${TRUNK}/${EXTEN},,To)
exten => _XXXXXXXXXXX,3,Hangup

where
TRUNK=DAHDI/g1

Do I still need to enable it before the restricted call takes effect or I disable it? My experience is that once I disable it, I won't be able to make outbound calls
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby williamconley » Sun Nov 18, 2012 5:18 pm

this is not related to dialplan. a dialplan is very necessary to make calls. this is about vicidial allowing the use of the dialplan based on a list filtered by the Manual Dial Filter
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: WHITELIST

Postby rrb555 » Mon Nov 19, 2012 7:54 am

Use the Manual Dial Filter that can be found in Campaign Detail.
Create a new List ID instead of 998.
Upload your leads there.
Then when your agents entered a number the system will tries to lookup first on the list ID, if its there Agent can make successful call
One server that I am managing | Single Server | ViciBox Redux 6.0 | VERSION: 2.12-549a | BUILD: 160404-0940 | revision 2508| No other hardware
For help you can send me a direct email info@support.com.ph
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Re: WHITELIST

Postby oshonubi » Mon Nov 19, 2012 1:15 pm

Hi Matt.

Thanks.

rrb555 wrote:Use the Manual Dial Filter that can be found in Campaign Detail.


Here is my configuration

CAMPAIGN: TESTCAMP

Manual Dial List ID: 107
Manual Dial Filter: CAMPLIST_ONLY

Yet the restriction does not apply. I could call line that are not within the list. Is there anything else I need to do?
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: WHITELIST

Postby oshonubi » Mon Nov 19, 2012 3:01 pm

Hi Matt,

Thanks for the response. The whole stuff works. This is what I did. I still used the 998 as the Manual Dial List Id and loaded the numbers I want to call on it. On the campaign option, these are my settings:

CAMPAIGN: TESTCAMP

Manual Dial List ID: 998
Manual Dial Filter: CAMPLIST_ONLY

The stuff now works. Thank you so much.

However, whenever I make outbound calls from it, it does not show the caller details. Is there any list I need to load for it for that it shows the details of the called.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria


Return to Support

Who is online

Users browsing this forum: No registered users and 140 guests