Page 1 of 1

Capturing phone numbers on incoming Transfers

PostPosted: Thu Sep 15, 2016 2:26 pm
by ajax1515
So I basically just need to understand how exactly phone numbers are captured on inbound campaigns...

The situation is this. We have partners that transfer leads to us... we want to capture the leads phone number as they are passed over. Some of our partners are good about this and I have no problems finding the phone number in `vicidial_closer_log`.`phone_number`, however some partners pass either the DID they are calling... so they basically pass us our own phone number, or some pass what looks to be maybe an asterisk phone extension like '1003' both of which are pretty useless.

What I would like to be able to do is detect that the phone number the partner is passing is bad and drop the call before even sending it to an agent... Does anyone have any suggestions to point me in the direction of accomplishing this?

Re: Capturing phone numbers on incoming Transfers

PostPosted: Thu Sep 15, 2016 8:29 pm
by mflorell
This is exactly why we added the DID setting for Filter URL. To allow you to send the CID of the call to a web page and either let it continue to an agent or be routed to an alternate destination.

Re: Capturing phone numbers on incoming Transfers

PostPosted: Thu Sep 29, 2016 1:01 pm
by ajax1515
So basically I can route it to a script that I can write to do a quick check on the phone number and make sure it's legit, if it is let it go through, if it's not drop the call.

Re: Capturing phone numbers on incoming Transfers

PostPosted: Thu Sep 29, 2016 1:36 pm
by mflorell
exactly, yes