Cisco Systems v1.0 IP Phone User Manual


 
56 - 165 IP Telephony v1.0 Lab 4.1.2 Copyright © 2005, Cisco Systems, Inc.
Step 1 Configure the FXO Port
a. Connect a RJ-11 phone cable from the lowest numbered FXO port on the router to a port on the
Adtran Octal FXS card.
b. What port on the Adtran was used to connect the FX0 router port? _______________________
c. What slot does the FXO card use on the router? ______________________________________
d. Use the show running-config | begin voice-p command to verify the slot number and the
format of the slot number.
e. Write the format shown in the show running-config command output of the FXO port 0. ______
f. From global configuration mode, use the command voice-port slot/subunit/port to enter the
configuration for the FXO port. The slot/subunit/port is the numbers representing the FXO card
shown in the show running-config command. An example of this command is voice-port 0/2/0
CMERouterX(config)# voice-port slot/subunit/port
g. Enter the ring number 2 command to set the FXO port to answer after two rings. The default
number of rings is one ring. Normally the default is fine so that incoming calls are answered
quickly. If other equipment that can be used to answer incoming calls (such as a fax machine),
the ring number value might want to be set to a higher value to give the equipment sufficient
time to respond. In that case, the FXO interface would answer the call if the other equipment did
not answer the incoming call within the configured number of rings.
This command is not applicable to FXS ports because these types of ports do not receive ringing
on incoming calls.
CMERouterX(config-voiceport)# ring number 2
Step 2 Configure the Dial Peer
a. From global configuration mode, create an analog dial peer with the command dial-peer voice 5
pots.
CMERouterX(config)# dial-peer voice 5 pots
b. Use the command destination-pattern 5556... to set the digits that will match this dial-peer.
This command sets the pattern to any call that comes in destined for 5556XXX where the X’s are
any numbers from 0 to 9. The periods shown in the command define the dial pattern digit as any
number.
CMERouterX(config-dial-peer)# destination-pattern 5556...
c. Use the command port slot/subunit/port to associate the FXO port being used with dial-peer
number 5.
CMERouterX(config-dial-peer)# port slot/subunit/port
d. The router needs to know which phone number digits to forward for voice calls. Use the
command forward-digits all to forward all the digits (the full length of the destination dial
pattern) to the PSTN (the Adtran).
CMERouterX(config-dial-peer)# forward-digits all
e. Connect an analog phone to a port on the Adtran Octal FXS card. Ensure a second analog
phone connects to the router FXS port 0.