Using different trunks based on the source extentions

Here is what I’m trying to figure out.

Say for instance I have 3 extentions (111,222,333) and 3 trunks with number 111-111-1111, 222-222-2222,333-333-3333

I want calls from 111 ONLY go through 111-111-1111, calls from 222 ONLY go through 222-222-2222 and from 333 only through 333-333-3333

With Asterisk only it’s fairly easy to do. But how can you do it in FreePBX?

Could anyone shade some light on this? It seems that I just can’t figure out how to put the outbound route and extention to go through the same context.

Any help would be appriciated.

You may want to take a look at this unofficial module which I just came across.

It sounds like it will do what you want.


This is something that has been listed in the bug-tracker as “Released in next version” for about the last year and a half. I’ve tried several times but have never managed to get any response from anyone on if it is ever ACTUALLY going to be available.

I love FreePBX but between having to build hacks around this problem and no real mention of when 1.4 is going to be supported I’m seriously considering just going to native 1.4 w/ handbuilt configs. Gonna suck on a 100 user system but I really don’t see any other alternative.