[asterisk-users] HELP! I can't get my Cisco CP-7960G IP hardphone to register on my Asterisk VoIP IP PBX SIP Server with FreePBX GUI
Duncan Turnbull
duncan at e-simple.co.nz
Sun Dec 20 19:58:52 CST 2020
Hi there
I would normally highlight the part but the email is so long I thought I
would just note what I can see
It appears the Cisco is downloading files.
None of the SIP traces show the IP of the phone of the extension
Your proxy is at 192.168.1.9
Your phone is at 192.168.1.130
These are the details you want the phone to pickup
line1_name: "1600"
line1_shortname: "TEO EN MING"
line1_displayname: "TURRITOPSIS DOHRNII TEO EN MING"
line1_authname: "1600"
line1_password: "IP Phone Extension Password"
I don't see any registration attempts from your phone.
The first thing is to use the phone screen display to check if it
actually has picked up the settings.
To unlock the Cisco SIP IP phone, press **#
You can also telnet to the phone usually cisco as password, and look at
logs. Its quite possible some of your config files are not quite right.
If they were all wrong the Cisco would keep trying to TFTP the files.
This is an old SIPDefault.cnf I used to use in NZ
================================================
; sip default configuration file
#Image Version
image_version:P0S3-08-6-00 ;
#Proxy server address
proxy1_address: 10.12.41.1 ;
proxy_register: 1;
logo_url: "http://10.12.41.1/Logo.bmp" ; URL for
branding logo to be used on phone display
time_format: 0 ;
preferred_codec: g711alaw ;
sntp_mode: unicast ;
dial_template: dialplan
sntp_server: 10.12.41.1 ;
messages_uri: "*97"
time_zone : NZST
dst_auto_adjust : 1
dst_offset : 01
dst_start_month : September
dst_start_day : 29
dst_start_time : 02:00
dst_stop_month : April
dst_stop_day : 6
dst_stop_time : 02:00
=================================================
This is a SIP Phone template - you can compare settings and notes on the
settings
# SIP Configuration Generic File (start)
=================================================
# Proxy Server
proxy1_address: "10.12.41.1"
# Line 1 Settings
line1_name: "EXTN" ; Line 1 Extension\User ID
line1_shortname: "0NXXXXXXX" ; Line 1 Short Name
line1_displayname: "0NXXXXXXX" ; Line 1 Display Name
line1_authname: "EXTN" ; Line 1 Registration Authentication
line1_password: "6gs72ha9" ; Line 1 Registration Password
phone_label: "Company Limited" ; no effect on SIP messaging
# Line 2 Settings
line2_name: "" ; Line 2 Extension\User ID
line2_displayname: "" ; Line 2 Display Name
line2_authname: "UNPROVISIONED" ; Line 2 Registration
Authentication
line2_password: "UNPROVISIONED" ; Line 2 Registration Password
# Line 3 Settings
line3_name: "" ; Line 3 Extension\User ID
line3_displayname: "" ; Line 3 Display Name
line3_authname: "UNPROVISIONED" ; Line 3 Registration
Authentication
line3_password: "UNPROVISIONED" ; Line 3 Registration Password
# Line 4 Settings
line4_name: "" ; Line 4 Extension\User ID
line4_displayname: "" ; Line 4 Display Name
line4_authname: "UNPROVISIONED" ; Line 4 Registration
Authentication
line4_password: "UNPROVISIONED" ; Line 4 Registration Password
# Line 5 Settings
line5_name: "" ; Line 5 Extension\User ID
line5_displayname: "" ; Line 5 Display Name
line5_authname: "UNPROVISIONED" ; Line 5 Registration
Authentication
line5_password: "UNPROVISIONED" ; Line 5 Registration Password
# Line 6 Settings
line6_name: "" ; Line 6 Extension\User ID
line6_displayname: "" ; Line 6 Display Name
line6_authname: "UNPROVISIONE" ; Line 6 Registration
Authentication
line6_password: "UNPROVISIONE" ; Line 6 Registration Password
# Emergency Proxy info
proxy_emergency: ""
proxy_emergency_port: "5060"
# Backup Proxy info
proxy_backup: ""
proxy_backup_port: "5060"
# Outbound Proxy info
outbound_proxy: ""
outbound_proxy_port: "5060"
# NAT/Firewall Traversal
nat_enable: "0"
nat_address: ""
voip_control_port: "5060"
start_media_port: "10000"
end_media_port: "20000"
nat_received_processing: "0"
# Phone Label (Text desired to be displayed in upper right corner)
phone_label: "Name's phone" ; Has no effect on SIP messaging
# Time Zone phone will reside in
time_zone: NZST
time_format: "D/M/Ya"
# Telnet Level (enable or disable the ability to telnet into this phone
telnet_level: "2" ; 0-Disabled (default), 1-Enabled, 2-Privileged
# Phone prompt/password for telnet/console session
phone_prompt: "" ; Telnet/Console Prompt
phone_password: "cisco" ; Telnet/Console
Password
# Enable_VAD (1-enabled, 0-disabled)
enable_vad: "0"
# Network Media Type (auto, full100, full10, half100, half10)
network_media_type: "auto"
user_info: none
# URL for external Directory location
directory_url: "http://10.12.41.1/directory.html"
=================================================
I would then recommend tcpdump to monitor traffic coming from
192.168.1.130 Tcpdump is an important tool to learn to use and you can
look at all traffic coming from the phone, perhaps its using TCP instead
of UDP?
Have you got a copy of the Cisco SIP IP Phone 7960 Administrator Guide -
it should be on the web somewhere
Good luck, it will take a little time to get familiar with your
environment but its important to put the time in to work out what means
what
Cheers Duncan
More information about the asterisk-users
mailing list