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.
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.
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
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).
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.
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?