Use different trunks depends on Caller ID

trunk
callerid
Tags: #<Tag:0x00007f702a051620> #<Tag:0x00007f702a051468>

(Dmitriy) #1

Hello.

I have 2 trunks on my FreePBX last version.

I want system to use trunk#1 for calls where callerID is XXX and use trunk#2 for calls where callerID is YYY.

Is it possible to setup?

Thanks a lot.


#2

Yes
Create an outbound route for each CID Range

Add them in the Dialplan as 2XX to match all CIDs which have 3 Digits and begin with 2


(Dave Burgess) #3

This sounds like a bad problem description, since setting up trunks correctly will do this for you without any fuss or discussion. I’m guessing we aren’t actually getting the whole story here.