Cisco 7960 Setup Guide

From Trixbox Pro Help

Jump to: navigation, search

To configure the Cisco 7960 phones (which are currently 'unsupported' in tribox Pro) you can follow these instructions to get your phones working.

In the /tftpboot folder you need to have a few configuration files. The first is SIPdefault.cnf, this will be the global configuration file for all phones. The following is an example of a properly configured file.

SIPDefault.cnf


# Image Version - Set to your current firmware version
image_version: "P0S3-08-8-00"

# Proxy Server - Set to your trixbox Pro IP address
proxy1_address: "192.168.0.10"

# Proxy Server Port (default - 5060)
proxy1_port:"5060"

# Emergency Proxy info - Set to your trixbox Pro IP address
proxy_emergency: "192.168.0.10"
proxy_emergency_port: "5060"

# Backup Proxy info - Set to your trixbox Pro IP address
proxy_backup: "192.168.0.10"
proxy_backup_port: "5060"
 
# Outbound Proxy info
outbound_proxy: ""
outbound_proxy_port: "5060"

# NAT/Firewall Traversal - VERY IMPORTANT - Make sure nat_enable = 1
nat_enable: "1"
nat_address: ""
voip_control_port: "5061"
start_media_port: "16384"
end_media_port:  "32766"
nat_received_processing: "0"

# Proxy Registration (0-disable (default), 1-enable)
proxy_register: "1"

# Phone Registration Expiration [1-3932100 sec] (Default - 3600)
timer_register_expires: "3600"

# Codec for media stream (g711ulaw (default), g711alaw, g729)
preferred_codec: "g711u"

# TOS bits in media stream [0-5] (Default - 5)
tos_media: "5"

# Enable VAD (0-disable (default), 1-enable)
enable_vad: "0"

# Allow for the bridge on a 3way call to join remaining parties upon hangup
cnf_join_enable: "1"     ; 0-Disabled, 1-Enabled (default)

# Allow Transfer to be completed while target phone is still ringing
semi_attended_transfer: "1"   ; 0-Disabled, 1-Enabled (default)

# Telnet Level (enable or disable the ability to telnet into this phone
telnet_level: "2"      ; 0-Disabled (default), 1-Enabled, 2-Privileged

# Inband DTMF Settings (0-disable, 1-enable (default))
dtmf_inband: "1"

# Out of band DTMF Settings (none-disable, avt-avt enable (default), avt_always$
dtmf_outofband: "avt"

# DTMF dB Level Settings (1-6dB down, 2-3db down, 3-nominal (default), 4-3db up$
dtmf_db_level: "3"

# SIP Timers
timer_t1: "500"                   ; Default 500 msec
timer_t2: "4000"                  ; Default 4 sec
sip_retx: "10"                     ; Default 11
sip_invite_retx: "6"               ; Default 7
timer_invite_expires: "180"        ; Default 180 sec

# Setting for Message speeddial to your box
messages_uri: "*97"

# TFTP Phone Specific Configuration File Directory
tftp_cfg_dir: "./"

# Time Server - Set to the IP address of your trixbox system
sntp_mode: "unicast"
sntp_server: "192.168.0.10"
time_zone: "PST"
dst_offset: "1"
dst_start_month: "Mar"
dst_start_day: ""
dst_start_day_of_week: "Sun"
dst_start_week_of_month: "2"
dst_start_time: "02"
dst_stop_month: "Nov"
dst_stop_day: ""
dst_stop_day_of_week: "Sunday"
dst_stop_week_of_month: "1"
dst_stop_time: "2"
dst_auto_adjust: "1"

# Do Not Disturb Control (0-off, 1-on, 2-off with no user control, 3-on with no$
dnd_control: "0"                  ; Default 0 (Do Not Disturb feature is off)

# Caller ID Blocking (0-disabled, 1-enabled, 2-disabled no user control, 3-enab$
callerid_blocking: "0"            ; Default 0 (Disable sending all calls as ano$

# Anonymous Call Blocking (0-disbaled, 1-enabled, 2-disabled no user control, 3$
anonymous_call_block: "0"         ; Default 0 (Disable blocking of anonymous ca$

# Call Waiting (0-disabled, 1-enabled, 2-disabled with no user control, 3-enabl$
call_waiting: "1"                 ; Default 1 (Call Waiting enabled)

# DTMF AVT Payload (Dynamic payload range for AVT tones - 96-127)
dtmf_avt_payload: "101"           ; Default 100

# XML file that specifies the dialplan desired
dial_template: "dialplan"

# Network Media Type (auto, full100, full10, half100, half10)
network_media_type: "auto"

#Autocompletion During Dial (0-off, 1-on [default])
autocomplete: "1"

#Time Format (0-12hr, 1-24hr [default])
time_format_24hr: "0"

# Remote Party ID
remote_party_id: 1              ; 0-Disabled (default), 1-Enabled

# ---- end of SIPDefault.cnf ----

Next you will see a configuration file for each phone, this is named SIP<macaddress>.cnf (e.g. SIP0018090E2825.cnf) and should look like the following example:

SIP<mac address>.cnf


# Cisco SIP Configuration
# replace 0018190E0000 with mac address of your phone
# replace 201 with the extension for this phone

phone_label: "trixbox Pro "
line1_name: "0018190E0000"
line1_shortname: "201"
line1_displayname: "201"
line1_password: "0018190E0000"
line2_name: "0018190E0000"
line2_shortname: "201"
line2_displayname: "201"
line2_password: "0018190E0000"
line3_name: "0018190E0000"
line3_shortname: "201"
line3_displayname: "201"
line3_password: "0018190E0000"
line4_name: "UNPROVISIONED"
line4_shortname: "UNPROVISIONED"
line4_displayname: "UNPROVISIONED"
line4_password: "UNPROVISIONED"
line5_name: "UNPROVISIONED"
line5_shortname: "UNPROVISIONED"
line5_displayname: "UNPROVISIONED"
line5_password: "UNPROVISIONED"
line6_name: "UNPROVISIONED"
line6_shortname: "UNPROVISIONED"
line6_displayname: "UNPROVISIONED"
line6_password: "UNPROVISIONED"
line1_authname: "0018190E0000"
line2_authname: "0018190E0000"
line3_authname: "0018190E0000"
line4_authname: "UNPROVISIONED"
line5_authname: "UNPROVISIONED"
line6_authname: "UNPROVISIONED"

# --- end SEP<macaddress>.cnf ---

You will also need to have a DHCP server that can push out option 66 (tftp boot server) and point that to your trixbox Pro system. If your trixbox Pro system is your DHCP server than this is already done for you. Reboot the phone and it should register properly.

Personal tools