129 - 165 IP Telephony v1.0 Case Study 1:
Copyright 2005, Cisco Systems, Inc.
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-portentry on the show running-configcommand 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.
group timeslots 1-24
Note: If you get an
error message like “no resources available” after you issue the pri- command, check to see if there is enough memory on the NM-
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-typeprimary-nicommand 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-24command tells the router which timeslots will be used for data.
R1(config)# isdn switch-typeprimary-niR1(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 have more IP Phones, just add more ephone and ephone-dncommands.
block of
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
Page 129
Image 129
Cisco Systems v1.0 manual