Which takes precedence: extensions or outbound routes?

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,909
Reaction score
9
As the subject line asks: Which takes precedence: extensions or outbound routes in a dialplan? I have an extension: 7804100001 and an outbound route with a dial pattern 780410|xxxx going to a T1 line.

If I dial 7804100001 should the extension ring or will 0001 go out the T1 line? :confused5:
 
OK, I'll bite. If memory serves me correctly, local extensions always take precedence. That's the reason you could put something like X. in an outbound route in the olden days. The advantage is that you could create a custom extension to route a certain number to a remote SIP location without having to worry about outbound routes. Let me know if I passed the test. :wink5:
 
not to be snide, but did you try it and see?

Yes, I actually did try it and extensions take precedence. I just want to make sure that I'm not going to break something down the road because I've done something dumb about the dialplan that I don't know about.

This is part of my VoIP laboratory where I use a PiaF server to simulate the PSTN. I have 8x T1 ports (2x Digium TE110p) and a Xorcom Astribank with 16x FXS ports.

During Lab - 4, the students connect Cisco Call Manager Express's FXO port to one of the Xorcom Astribank ports at extension 7804100001 (we have 10 digit dialing here). From a PiaF extension, if they dial 7804100001, then the CCME's BACD (Cisco's term for IVR)) answers the FXO port.

Lab-5 connects Cisco Call Manager Express's T1 port to one of the PiaF T1 lines. The CCME extensions are 4 digit numbers (ex 2201). To dial the T1 from PiaF extension, 780410|xxxx outbound rule is used. The PiaF extension would dial 7804102201 and 2201 appears at CCME as a direct dial.

The first part of the Intro to VoIP course is a fictitious company in Edmonton that runs Cisco Call Manager Express. The students build up a system based on Cisco. The second part is a fictitious company in Calgary that runs PiaF. The third part is the two companies merge and the two systems are integrated. Here's the website on the lab portion.

I'm working on upgrading the PiaF labs right now and will be including the Nortel Videophones in a later lab. This is the fourth year that we've run the course - it's a blast!
 
10-digit extensions? EGAD! But seeing your post above, I now understand why.
 
In the lab we have 8x CCME systems, another 8x Piaf systems and one PSTN simulation running on PiaF. Each system can call each other. The trick with PiaF as a PSTN simulation is to treat the T1 context as context=from-internal as opposed to from-pstn. The T1 lines become extensions and obey the outbound route dial patterns. Works quite slick.

The tough part is keeping all the dialplans, subnets, vlans and extensions straight....
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top