Cisco Systems v1.0 IP Phone User Manual


 
129 - 165 IP Telephony v1.0 Case Study 1: Copyright © 2005, Cisco Systems, Inc.
R1(config)# ephone 1
R1(config-ephone)# mac-address xxxx.xxxx.xxxx
R1(config-ephone)# type 7960
R1(config-ephone)# button 1:1
R1(config)# ephone 2
R1(config-ephone)# mac-address yyyy.yyyy.yyyy
R1(config-ephone)# type 7940
R1(config-ephone)# button 1:2
Note: If you have more IP Phones, just add more ephone and ephone-dn block of
commands.
3.5 Configuring the PSTN/POTS interface on the CME Router
The PSTN/POTS cloud is being simulated by the ADTRAN Atlas550. This cloud provides
us a PRI/T1 connection so it is necessary to specify the switch type. The isdn switch-type
primary-ni
command specifies primary-ni as the switch type according with the cloud’s
switch type. The framing esf and linecode b8zs commands are used to configure the T1
controller according the Atlas550 (the cloud). The pri-group timeslots 1-24 command
tells the router which timeslots will be used for data.
R1(config)# isdn switch-type primary-ni
R1(config)# controller T1 1/0/0
R1(config-controller)# framing esf
R1(config-controller)# linecode b8zs
R1(config-controller)# pri-group timeslots 1-24
Note: If you get an error message like “no resources available” after you issue the pri-
group timeslots 1-24
command, check to see if there is enough memory on the NM-
HDV module.
If using the NM-HDV2-1T1/E1 module it is necessary issue the card type t1 <slot> 1
command BEFORE issue the commands above, where <slot> is the slot in use by the
Network Module and T1/E1 card. When finished the card type and isdn commands, you
should be able to see a voice-port entry on the show running-config command output.
This entry is important because will be used inside the dial-peer.
3.6 Configuring Dial Peers
R1 will receive calls from the POTS system so it is necessary to make it handle inward calls.
In the real world the dial plan used is E.64. We have created our own dial plan and
configured it on the Atlas550. The Atlas550 is configured to forward calls with 555-5xxx
numbering destination to the PRI ports.
Use the voice translation-rule, voice translation-profile, translate called and rule
commands to setup a translation. In this scenario, the inside IP Phones and regular phones
have 5xxx numbering. The idea is split the 555-5xxx number, discard the first 3 digits and
keep the 4 last remaining digits.