The ip source-addresscommand specifies the address and port used by the CME software.
Create the phones configuration files on the flash memory by issuing the create cnf-files.Specify the format of the dial plan to be used on internal IP Phones using the dialplan- pattern command.
Finally, the secondary-dialtone 9 command sets the 9 digit as the indicator for another dial-tone. It is used to make an off network call(get an outside line)..
R1(config)# telephony-service
R1(config-telephony)# max-ephones 4
R1(config-telephony)# max-dn 20
R1(config-telephony)#ip source-address 10.15.0.1 port 2000 R1(config-telephony)#auto assign 1 to 4
R1(config-telephony)#create cnf-files version-stamp Jan 01 2002 00:00:00 R1(config-telephony)#dialplan-pattern 1 5... extension-length 4 R1(config-telephony)#secondary-dialtone 9
R1(config-telephony)# end
3.4 Configuring the ephones and ephone-dn’s
You will need to setup the ephone-dn’s and ephones on R1 in order for the voice service to work.
From the configuration mode, create the ephone-dn’s. The ephone-dncommand is used to create the ephone-dn. number, description and name will be use to specify the phone number of this ephone-dn, set a description to this ephone-dn and a name, respectively.
R1(config)# ephone-dn 1 dual-line
R1(config-ephone-dn)# number 5011
R1(config-ephone-dn)#description Fred’s Phone
R1(config-ephone-dn)# name Fred
R1(config)# ephone-dn 2 dual-line
R1(config-ephone-dn)# number 5012
R1(config-ephone-dn)#description Barney's Phone
R1(config-ephone-dn)# name Barney
Once you have the ephone-dn’s created, you can assign them to the e-phones. Use the ephone command and sub-commands to setup the e-phones.
The mac-addresscommand is used to tell the router the mac address of your IP Phone. You can find this information on a stamp under the IP Phone. Copy the mac address of your IP Phones and replace the “x’s” on the command line by it. Use the format xxxx.xxxx.xxxx (4 strings separated by dots). Be careful! If the mac address is wrong, registeration on CME will be denied.
Use the type command to specify the model of your IP Phone. In the example bellow we are using the Cisco IP Phone 7960. Fell free to change it to your IP Phone Model.
The button command has the function of assign an ephone-dn to a button on your IP Phone. Different models of IP Phone have different numbers of buttons on its panel. In this example we are assigning the ephone-dn 1 to a 7960 phone (mac address xxxx.xxxx.xxxx) panel’s button 1 and ephone-dn 2 to the 7940 phone (mac address yyyy.yyyy.yyyy) panel’s button 1.
128 - 165 IP Telephony v1.0 Case Study 1: | Copyright ♥ 2005, Cisco Systems, Inc. |