Cisco 7962 not registering with freepbx

hi,
I am trying to configure cisco 7962 phone with freepbx server, phone is not registering with pbx. I don’t know where is the issue. I put Nat no for both device and extension side. could any one please help me trouble shoot , i loaded config file and dial plan through tftp server getting error as attached. my extension are created in CHAN_SIP technology with UDP port no 5060.

Connection received from 10.10.14.62 on port 53115 [13/02 17:07:43.377]
Read request for file <CTLSEPDC7B94F8A9C9.tlv>. Mode octet [13/02 17:07:43.380]
File <CTLSEPDC7B94F8A9C9.tlv> : error 2 in system call CreateFile The system cannot find the file specified. [13/02 17:07:43.380]
Connection received from 10.10.14.62 on port 51419 [13/02 17:07:43.453]
Read request for file <ITLSEPDC7B94F8A9C9.tlv>. Mode octet [13/02 17:07:43.458]
File <ITLSEPDC7B94F8A9C9.tlv> : error 2 in system call CreateFile The system cannot find the file specified. [13/02 17:07:43.458]
Connection received from 10.10.14.62 on port 51081 [13/02 17:07:43.541]
Read request for file <ITLFile.tlv>. Mode octet [13/02 17:07:43.542]
File <ITLFile.tlv> : error 2 in system call CreateFile The system cannot find the file specified. [13/02 17:07:43.542]
Connection received from 10.10.14.62 on port 52825 [13/02 17:07:43.800]
Read request for file <SEPDC7B94F8A9C9.cnf.xml>. Mode octet [13/02 17:07:43.803]
Using local port 54598 [13/02 17:07:43.804]
<SEPDC7B94F8A9C9.cnf.xml>: sent 14 blks, 7024 bytes in 0 s. 0 blk resent [13/02 17:07:43.840]

The first three files (that got errors) are not a problem; the required data should be in the SEP(MAC).cnf.xml file, which did get read successfully.

Well, if you specified a file in dialTemplate but it’s not being requested, then that’s a problem, but it wouldn’t affect registration or receiving calls.

Not a good idea, but if you’re close, we can try to stick with that.

That’s somewhat ambiguous. Please confirm that in Asterisk SIP Settings, chan_sip tab, you set Bind Port to 5060 (after changing pjsip Port to Listen On to something else), then restarted Asterisk.

What, if anything, appears in the Asterisk log when the phone attempts to register? What shows on the phone’s display?

hi,
That’s somewhat ambiguous. Please confirm that in Asterisk SIP Settings, chan_sip tab, you set Bind Port to 5060 (after changing pjsip Port to Listen On to something else), then restarted Asterisk.
attaching chan_sip screen shots thats already configured

What, if anything, appears in the Asterisk log when the phone attempts to register? What shows on the phone’s display?
what is the command for checking asterisk log

If your PBX is on a public IP (as you show in NAT Settings), and your phone obviously isn’t, I don’t think that you can get this to work, unless you have a very smart SIP ALG in the router/firewall at the phone end.

Is this a cloud PBX? If it’s an on-site PBX, why do you have it on a public IP?

The Asterisk log is at /var/log/asterisk/full, or you can access it in the GUI at Reports->Asterisk Logfiles.

my server is on-site PBX, what you suggesting for IP configuration ?

asterisk log

What shows on the phone’s display? phone display showing registering…

also new error is coming in dashboard

image

For the dashboard error, see

Assuming that you rebooted the 7962 during the 28 minutes shown in the log, the registration requests apparently didn’t reach the PBX at all. Post a copy of the SEP(MAC).cnf.xml file. Also a screenshot of the extension settings.

Select Static IP, and on the General Tab, set External Address and Local Networks correctly.

if you have 7962 cisco ip phone config file please share, i found xml file from google and edit server IP ,extension number and password
screen shot of extension setting
General


voicemail


Advanced


Permit: 10.10.14.0/24
I don’t know whether chan_sip will accept that format. It may need to be 10.10.14.0/255.255.255.0
However, just leave it at 0.0.0.0/0.0.0.0 for now.

At the Asterisk command prompt (not a shell prompt) type
sip set debug on
reboot the phone and post the console output, if any. Also, please post your phone config file (or a link to the one you copied).

hi,
I couldn’t find debug output from 701 extension,


config file SEPDC7B94F8A9C9.cnf.xml

SIP
cisco
cisco


M/D/Ya
Arabian Standard/Daylight Time


10.10.14.2
Unicast








2000
5060
5061

10.10.14.18













true


true
x-serviceuri-cfwdall
x-cisco-serviceuri-pickup
x-cisco-serviceuri-opickup
x-cisco-serviceuri-gpickup
x-cisco-serviceuri-meetme
x-cisco-serviceuri-abbrdial
false
2
true
true
2
2
0
true


6
10
180
3600
5
120
120
5
500
4000
70
true
None

1
false
true
false
false
g711ulaw
101
3
avt
false
false
3
false

IT Department
0
false
10
false
16384
32766


9
701
10.10.14.18
5060
701
701

2

3
701
12341234
false
1
3501
4
5
701

true
true
false
true



5060
184
0
dialplan.xml



true
1

SIP42.8-5-3S

false
false
0
1
0
0
0
0
0
1
1


1143565489-a3cbf294-7526-4c29-8791-c4fce4ce4c37
US

US
5.0(2)

1







96
0
96
2
0


3804



false

Dial plan

<



















Your config file was badly butchered by the forum. Please paste it at pastebin.freepbx.org and post the link here.

hi,
pleaes find

https://pastebin.freepbx.org/view/750a3291

Line 98:
<proxy>10.10.14.18</proxy>

I know little about these phones, but according to SEPMAC.cnf.xml
it must be
<proxy>USECALLMANAGER</proxy>
Please replace that line and retest. If it still fails to register, look to see whether anything now appears in sip debug and post that.

hi,
i updated config file and tried but still not registering, also in debug nothing is showing

this is the error in TFTP server while loading file

Connection received from 10.10.14.62 on port 49499 [14/02 09:11:48.103]
Read request for file <CTLSEPDC7B94F8A9C9.tlv>. Mode octet [14/02 09:11:48.103]
File <CTLSEPDC7B94F8A9C9.tlv> : error 2 in system call CreateFile The system cannot find the file specified. [14/02 09:11:48.104]
Connection received from 10.10.14.62 on port 52083 [14/02 09:11:48.184]
Read request for file <ITLSEPDC7B94F8A9C9.tlv>. Mode octet [14/02 09:11:48.184]
File <ITLSEPDC7B94F8A9C9.tlv> : error 2 in system call CreateFile The system cannot find the file specified. [14/02 09:11:48.185]
Connection received from 10.10.14.62 on port 50657 [14/02 09:11:48.254]
Read request for file <ITLFile.tlv>. Mode octet [14/02 09:11:48.255]
File <ITLFile.tlv> : error 2 in system call CreateFile The system cannot find the file specified. [14/02 09:11:48.255]
Connection received from 10.10.14.62 on port 51859 [14/02 09:11:48.493]
Read request for file <SEPDC7B94F8A9C9.cnf.xml>. Mode octet [14/02 09:11:48.494]
Using local port 52573 [14/02 09:11:48.494]
<SEPDC7B94F8A9C9.cnf.xml>: sent 14 blks, 7027 bytes in 0 s. 0 blk resent [14/02 09:11:48.513]
Connection received from 10.10.14.62 on port 49430 [14/02 09:11:53.723]
Read request for file <dialplan.xml>. Mode octet [14/02 09:11:53.724]
Using local port 52925 [14/02 09:11:53.724]
<dialplan.xml>: sent 3 blks, 1092 bytes in 0 s. 0 blk resent [14/02 09:11:53.730]

There is nothing wrong with the TFTP. I think that this phone may be using SIP over TCP.

In Asterisk SIP Settings, chan_sip tab, set Enable TCP to Yes and add the parameter in Other SIP Settings
tcpbindaddr = 0.0.0.0:5060
restart Asterisk and retest.

hi,
I tried but no change, i can check any settings in Ip phone . if you guide me I can check share all required settings

Run sngrep on the PBX and post whatever appears when the phone attempts to register.

If nothing, do you have a way to capture network traffic from the phone?

from sngrep i couldn’t find anything, also i tried network traffic capture using Wireshark analyzer but nothing. what you what I missed?

status message obtained from phone gui

Traditionally Cisco’s liked TCP transport with short passwords,

I don’t know how to interpret the Status Messages screen. Is the phone pulling the .cnf.xml file continuously? If so, we may be able to find an error in the contents that is responsible. Otherwise, it may just be ‘checked’ three times and is not a issue.

Does the phone show the correct date/time? If not, and assuming that you have a working NTP server at 10.10.14.2, there is likely a network issue that is also affecting communication with the PBX. The log entries show ~21:53, which seems weird, since (according to the forum) you posted it at ~15:29 AST.

How are you capturing for Wireshark? The traffic has to be ‘seen’ by the capturing machine. If both the phone and capture device are plugged into the same (reasonably smart) switch, you need to use its ‘port mirror’ or ‘port monitor’ feature so the capture device gets a copy. If it’s a dumb switch, there are other methods to see the data but that’s beyond the scope of this forum.

Just a thought: Have you confirmed that 10.10.14.18 is the correct address of your PBX?