I read your reference thread, and I have a comment in relation to DS1 and 5ESS and DMS100, etc type CO switches. The DS1(T1) that comes out of these switches are provisioned on the TRUNK side of the switch ONLY! (Because they are trunks!) Not the LINE side. The only way to get the Line side on DS1 channels is with a Channel Bank or multiplexer that has DS0 capability. It has always been that way!
Now in order to "mix" DID service and "Line" service on the same DS1 you would use a channel bank and FXO channel units for the lines and 4-Wire E/M channel units back-to-back for the DID trunks, or use a DACS and digitally cross-connect the DS1 channels from the switch to the customer DS1 channels and the same for the Channel Bank for the lines.
For everyones information, PRIMARY ISDN is provisioned as a trunk service. It comes from the "trunk side" of the switch and it has "trunk group" attributes, ie: Trunk Group Number, Route Index, and Trunk Members. B channels are trunks. D channels are trunks. Their use may be specialized for the info that is passed on them, but they are still trunks! So PRI service has two Trunk Groups: B channels and D channels. Each one has its own Trunk Group Number (TGN). This is how Telco busies and unbusies the channels or trunks, by the use of the TGN and Member Number. The 4ESS, 5ESS, and DMS series switches all use this type of architecture.
....JIM....