I was reviewing some material on dial-peer configurations and found a section that I found rather interesting. While I have had extensive experience with integrating with PSTN my experience with integrating with PBX systems has been limited. As such the topic for today is special-purpose connections. There are four types of speciail-purpose connections and they are as follows:
Private Line, Automatic Ringdown (PLAR)
This is an autodialing mechanism that permanently associates a voice port with a static far-end destination. This command is very commonly found on FXO ports. When a call comes into a FXO voice port the connection plar statement tells the port where to send the call. For example:
router(config)# voice-port 1/0/0
router(config-voiceport)# connection plar 2000
This tells the router to send the call to 2000. A search of dial-peers is then started for the matching 2000.
PLAR-OPX (Off Premises eXtension)
This is a PBX extension that is located at a seperate business site and operates as though it is directly connected to the PBX. A common use for this is telecommuters. It allows telecommuters to utilize the same four-digit system at home. The difference between PLAR and PLAR-OPX is that with PLAR as soon as ringing current is applied CallManager considered the call complete. This becomes a problem because if the remote end does not answer the call and you wish the call to be sent to a central voicemail system. When you use the PLAR-OPX the call is not considered completed until the call is actually answered. For example:
router(config)# voice-port 1/0/0
router(config-voiceport)# connection plar-opx 2000
Again the configuration is nearly the same the only difference is when the router considers the call answered.
Trunk Connection
This emulates a permanent connection between two systems. These systems could be two PBXs, a PBX and local extension or some combination of telephony interfaces that have their signaling passed transparently through the data network. The conneciton remains permanent in the absence of active calls and is established immediately after configuration. For example:
router(config)# voice-port 0/0/1:1
router(config-voiceport)# connection trunk 3000
router(config-voiceport)# exit
router(config)# dial-peer voice 3000 voip
router(config-dial-peer)# destination-pattern 3000
router(config-dial-peer)# session target ipv4:10.1.1.16
router(config-dial-peer)# exit
router(config)# dial-peer voice 4000 pots
router(config-dial-peer)# destination-pattern 4000
router(config-dial-peer)# port 0/0/1:1
A common implementation of this would be TDM cross connect using E&M Wink-Start. It should be noted that one the following voice-port combinations must be used:
- E&M to E&M
- FXS to FXO
- FXS to FXS (with no signaling)
You must also meet the following conditions:
- You can not perform number expansion on the destination-pattern telephone numbers.
- You must configure both ends for the trunk connection.
Tie-Line
A tie-line connection is a temporary trunk to a PBX. This follows the same principles as a trunk except the connection is built on demand and is only active when needed. For example:
Router A
router(config)# voice-port 0/0/1:1R1
routera(config-voiceport)# connection tie-line 30
routera(config-voiceport)# exit
routera(config)# dial-peer voice 3000 voip
routera(config-dial-peer)# destination-pattern 30..
routera(config-dial-peer)# session target ipv4:10.1.1.16
routera(config-dial-peer)# exit
routera(config)# dial-peer voice 4000 pots
routera(config-dial-peer)# destination-pattern 40..
routera(config-dial-peer)# port 0/0/1:1
Router B
router(config)# voice-port 0/0/1:1R1
routerb(config-voiceport)# connection tie-line 40
routerb(config-voiceport)# exit
routerb(config)# dial-peer voice 4000 voip
routerb(config-dial-peer)# destination-pattern 40..
routerb(config-dial-peer)# session target ipv4:10.1.1.16
routerb(config-dial-peer)# exit
routerb(config)# dial-peer voice 3000 pots
routerb(config-dial-peer)# destination-pattern 30..
routerb(config-dial-peer)# port 0/0/1:1
There you have it. The four basic special-purpose connections. If you have anything to add please leave a comment.