Call routing based on incoming phone number

Hi,

I would like to weekly upload a list with client phonenumbers and destinations (internal extensions) .

Once an external call comes in, the list must be scanned for a known phonenumber and the call must be sent to the corresponding internal extension.

Can this be done within FreePBX ?

Gr. Bart.

Probably, with the dynamic routes module and some programming skills to read values from a database.

Admin>Bulk Handler to import Inbound routes

The Bulk import to Inbound routes works great, but what to do with phone numbers that are not listed. These callers get “the number you have dialed is not in service…”
Can I make a sort of failover ?

Gr. Bart.

You should have a default entry (ANY DID, ANY CID) and route it to your preferred failover destination

When I make a default entry like you suggested, then this becomes a “catch all” and all other entries are ignored. So this entry should be at the end of all other entries, but how ?

I’m not sure I completely get your request. My understanding is that every number that calls you (CID) has a specific DID it needs to be routed to. Any inbound call from a number/CID you don’t have on your database gets routed to your failover destination. Correct me if my understanding is incorrect

I did this by creating an inbound route for each number I wanted to handle differently, then used time groups and destinations to send them where they need to go.

I ran into the same thing and ended up using a custom dialplan that reads a CSV list of numbers and routes based on that. Worked fine for a cloud call center setup where we had to route inbound calls from certain clients to specific queues. You could store the numbers in a text file and update it easily without touching the dialplan each time.

Would you share this custom dialplan with me ?

Gr. Bart.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.