Skip to main content

How Many Outbound Trunks Do You Have?

Posted by dozment on Sun, 08/03/2008

I have been creating a seperate outbound trunk for each tenant, and I wondered if other MTE users do the same. For the life of me I can't tell you why I decided to do it that way.


Submitted by eeman on Sun, 08/03/2008 Permalink

I only have 1 outbound trunk for my MTE server. Perhaps you were trying to limit concurrent call usage. I do the same but manage to do it with a single trunk.

Submitted by dozment on Tue, 08/05/2008 Permalink

Thanks, Erik. I think I split them into seperate trunks because of a brilliant scheme to make moving individual users to my backup server easier. Now, I have created an almost unmanegable number of trunks. Time to start collapsing them back down to something more reasonable.

Submitted by mattdarnell on Tue, 08/05/2008 Permalink

Doz - I only have one trunk for each carrier.

Eric - Do you limit the calls via the GUI or an external process?

-Matt

Submitted by eeman on Tue, 08/05/2008 Permalink

all my calls flow through another asterisk box, which is responsible for the billing etc.

Basically every tenant's outbound route rules prepend their account number to their dial string. So for example if Tenant A's account number is 5025551212 and they dial out +18126655543 (all my calls leave as E.164) then my dial string leaves as IAX2/trunkname/5025551212+18126655543. On my gateway machine I then strip off the account code and send that to an account specific context that manages group counting, CDR management, and other customer specific settings.

exten => _XXXXXXXX.,1,Goto(${EXTEN:0:10}_out,${EXTEN:10},1)

this lets my gateway box handle all my customers (MTE, single tenant, trixbox, asterisk config file pbx's etc) in exactly the same manner.