How to route outbound calls to special trunks?

Hi Guys,

We use Trixbox with freePBX.

We are trying to route outbound calls from some Extensions to special trunks.

Extensions 500, 510, 520 -> to Trunk1 (SIP Provider)
Extensions 300, 310, 320-> to Trunk2 (mISDN)

any idea to solve this would be appreciated


Save yourself a bunch of manual dialplan programming and usse the custom-contexts module from the FreePBX extended repository. We are having some minor issues if you use it on FreePBX 2.7 but it otherwise works pretty well.