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!