Getting Started
In order to start provisioning the phones you will need the following
- A TFTP Server (such as Pumpkin for Windows, or atftpd for Linux)
- A copy of the Cisco SIP Firmware (this document was written using version P003-08-09-00)
The SIP firmware should be extracted into the tftpboot directory (/tftpboot under Linux), together with any additional files such as ringtones and custom XML files.
Basic Configuration
Ensure that the file OS79XX.TXT points to the correct firmware that the phones need to download during bootup, this file should simply contain one line P003-08-9-00.
Next, create a file called SIPDefault.cnf this file contains the global variables that you wish to use for provisioning - Daylight Savings Time, URI's for Services/Directories/Messages etc.
image_version: "P0S3-08-9-00"
# proxy1_address: "xxx.xxx.xxx.xxx"
# proxy2_address: "xxx.xxx.xxx.xxx"
# proxy3_address: "xxx.xxx.xxx.xxx"
# proxy4_address: "xxx.xxx.xxx.xxx"
# Proxy Server Port
# proxy1_port:"5060"
# proxy2_port:"5060"
# proxy3_port:"5060"
# proxy4_port:"5060"
proxy_emergency: ""
proxy_emergency_port: "5060"
proxy_backup: ""
proxy_backup_port: "5060"
outbound_proxy: ""
outbound_proxy_port: "5060"
nat_enable: "0"
nat_address: ""
voip_control_port: "5060"
start_media_port: "16348"
end_media_port: "20134"
nat_received_processing: "1"
dyn_dns_addr_1: ""
dyn_dns_addr_2: ""
dyn_tftp_addr: "xxx.xxx.xxx.xxx"
tftp_cfg_dir: "./"
proxy_register: "1"
timer_register_expires: "120"
preferred_codec: "none"
tos_media: "5"
enable_vad: "0"
dial_template: "dialplan"
network_media_type: "auto"
autocomplete: "1"
telnet_level: "2"
cnf_join_enable: "1"
semi_attended_transfer: "0"
call_waiting: "1"
anonymous_call_block: "0"
callerid_blocking: "0"
dnd_control: "0"
dtmf_inband: "1"
dtmf_outofband: "avt"
dtmf_db_level: "3"
dtmf_avt_payload: "101"
timer_t1: "500"
timer_t2: "4000"
sip_retx: "10"
sip_invite_retx: "6"
timer_invite_expires: "180"
sntp_mode: "directedbroadcast"
sntp_server: "uk.pool.ntp.org"
time_zone: "GMT"
time_format_24hr: "1"
dst_offset: "1"
dst_start_month: "March"
dst_start_day: ""
dst_start_day_of_week: "Sunday"
dst_start_week_of_month: "8"
dst_start_time: "2"
dst_stop_month: "October"
dst_stop_day: ""
dst_stop_day_of_week: "Sunday"
dst_stop_week_of_month: "8"
dst_stop_time: "2"
dst_auto_adjust: "1"
messages_uri: "*1"
#services_url: "http://example.domain.ext/services/menu.xml"
#directory_url: "http://example.domain.ext/services/directory.php"
#logo_url: "http://example.domain.ext/services/displayimage.bmp"
http_proxy_addr: ""
http_proxy_port: 80
remote_party_id: 0
In the above file, the services_url , directory_url and logo_url are disabled , these can be enabled simply by removing the # mark and changing the URL to a valid address.
Next, create a file called SIPmacaddress.cnf (replace macaddress with the units MAC)
proxy1_address: "newsip.gradwell.net"
#proxy2_address: "xxx.xxx.xxx.xxx"
#proxy3_address: "xxx.xxx.xxx.xxx"
#proxy4_address: "xxx.xxx.xxx.xxx"
line1_name: "7_DIGIT_EXTENSION_NUMBER"
line1_shortname: "YOUR_NAME_HERE"
line1_displayname: "YOUR_NAME_HERE"
line1_authname: "7_DIGIT_EXTENSION_NUMBER"
line1_password: "EXTENSION_PASSWORD"
#line2_name: ""
#line2_shortname: ""
#line2_displayname: ""
#line2_authname: "UNPROVISIONED"
#line2_password: "UNPROVISIONED"
#line3_name: ""
#line3_shortname: ""
#line3_displayname: "" Name
#line3_authname: "UNPROVISIONED"
#line3_password: "UNPROVISIONED"
#line4_name: ""
#line4_shortname:
#line4_displayname: ""
#line4_authname: "UNPROVISIONED"
#line4_password: "UNPROVISIONED"
#line5_name: ""
#line5_shortname: ""
#line5_displayname: ""
#line5_authname: "UNPROVISIONED"
#line5_password: "UNPROVISIONED"
#line6_name: ""
#line6_shortname: ""
#line6_displayname: ""
#line6_authname: "UNPROVISIONED"
#line6_password: "UNPROVISIONED"
#proxy_emergency: ""
#proxy_emergency_port: "5060"
#proxy_backup: ""
#proxy_backup_port: "5060"
outbound_proxy: "nat.gradwell.net"
outbound_proxy_port: "5082"
nat_enable: "1"
nat_address: ""
voip_control_port: "5060"
start_media_port: "16348"
end_media_port: "20134"
nat_received_processing: "0"
phone_label: "IP Phone 7940"
telnet_level: "2"
phone_prompt: "Cisco7940"
phone_password: "password"
enable_vad: "0"
network_media_type: "auto"
user_info: phone
The file above has been created to provide 1 Registration to our PBX , you can register more than 1 Identity simply by uncommenting the relevant sections.
Once the files have been created, power up the Cisco IP Phone, and press the Settings key.
You need to change the Network settings so the TFTP server setting is pointing at your servers IP on the local network, you can also use the DHCP Option 66 parameter to configure this.
Once the configuration has been saved, the phone should restart and configure itself by requesting information from the TFTP server.
|