How to Configure an FXO Port to Ring VoIP Phone on CUBE and CUCM
FXO Voice Port Configuration
• Unlike a T1 Card there is no configuration needed after FXO Card installation
• Each FXO port will need to be configured and there are several parameters that need to be setup.
• There are other configuration setting that may be needed depending on your setup and location; I have just listed the basic settings I used to setup our Ecuador office.
o connection plar (opx)
This command will ring an extension from CUCM
Loopstart – Standard residential phone lines are configured as FXS loop-start. Loop-start is the default signaling on Cisco IOS FXS and FXO voice ports. In order to change it, issue the signal ground-start voice-port command. Reset the voice-port after any changes with the shutdown/no shutdown command sequence. This is the default setting.
• Source – https://supportforums.cisco.com/document/15261/how-understand-and-configure-analog-fxo-or-fxs
o Supervisory disconnect dualtone mid-call
supervisory disconnect – Configures supervisory disconnect signaling on the FXO port. Supervisory disconnect signaling is a power denial from the switch that lasts at least 350 ms. When this condition is detected, the system interprets this as a disconnect indication from the switch and clears the call. You should disable supervisory disconnect on the voice port if there is no supervisory disconnect available from the switch. Typically, supervisory disconnect is available when connecting to the PSTN and is enabled by default. When the connection extends out to a PBX, you should verify the documentation to ensure that supervisory disconnect is supported
o Cptone [Country Code]
This command defines the detection of call-progress tones generated at the local interface. It does not affect any information passed to the remote end of a connection, and it does not define the detection of tones generated at the remote end of a connection. Use the cptone command to specify a regional analog voice interface-related default tone, ring, and cadence setting for a specified voice port. The current configured cptone setting is visible under the ‘show voice-port [port]’ command
voice class custom-cptone [WORD]
• Adding to the voice-port
o Voice-port 0/1/2
supervisory custom-cptone [WORD]
• World Tone Database -http://www.3amsystems.com/World_Tone_Database?q=Ecuador,Audible_ring_tone
DTMF is set as default
An interface can belong to only one trunk group. Multiple interfaces can belong to the same trunk group.
• voice-port 0/1/3
connection plar opx 2001
• dial-peer voice 1000 pots
o Ring Number
Because the incoming call is coming from the PBX into the FXO port, the router answers the call. We want the incoming call to ring a VoIP phone that is connected to CUCM, and because we have set connection plar opx 2001 command, the router is going to ‘dial out’, and we need to create a VoIP dial-peer for this.
dial-peer voice 5000 voip
description ** POTS/FXO IN **
session target ipv4:10.2.21.10 (This is the IP of CUCM)
dtmf-relay h245-alphanumeric -This is an out-of-band DTMF relay mechanism that transports the DTMF signals using H.245, which is the media control protocol of the H.323 protocol suite.
Source – (http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube/configuration/cube-book/dtmf-relay.html)
We need to add our other dial-peers, for outbound calls through the FXO port.
dial-peer voice 4000 pots
description ** TV CABLE POTS OUT LOCAL QUITO #’s **
dial-peer voice 4001 pots
description ** TV CABLE POTS OUT LD/CELL #’s **
CUCM Configuration Checklist
• Date/Time Group
• SIP Trunk
• SIP Profile
• Device pool for CUBE
• Device pool for PHONES
• Media Termination Point (MTP)
• Media Resource Group (MRG)
• Media Resource Group List (MRGL)
• Calling Search Space (CSS)
• Route Group
• Route List
• Route Pattern
• Create H.323 Gateway