Endpoint manager not provisioning Cisco CP-7940 phones

FreePBX 14.0.13.4

Cisco CP-7940 phone unable to register to the server:
Aug 21 21:38:52 freepbx in.tftpd[16853]: Client 192.168.168.65 File not found SEP00070E36404B.cnf.xml
Aug 21 21:38:52 freepbx in.tftpd[16854]: RRQ from 192.168.168.65 filename SIP00070E36404B.cnf
Aug 21 21:38:52 freepbx in.tftpd[16854]: Client 192.168.168.65 finished SIP00070E36404B.cnf
Aug 21 21:38:52 freepbx in.tftpd[16855]: RRQ from 192.168.168.65 filename SIPDefault.cnf
Aug 21 21:38:52 freepbx in.tftpd[16855]: Client 192.168.168.65 finished SIPDefault.cnf
Aug 21 21:39:03 freepbx in.tftpd[16904]: RRQ from 192.168.168.65 filename CTLSEP00070E36404B.tlv
Aug 21 21:39:03 freepbx in.tftpd[16904]: Client 192.168.168.65 File not found CTLSEP00070E36404B.tlv
Aug 21 21:39:04 freepbx in.tftpd[16905]: RRQ from 192.168.168.65 filename SEP00070E36404B.cnf.xml
Aug 21 21:39:04 freepbx in.tftpd[16905]: Client 192.168.168.65 File not found SEP00070E36404B.cnf.xml
Aug 21 21:39:04 freepbx in.tftpd[16906]: RRQ from 192.168.168.65 filename XMLDefault.cnf.xml
Aug 21 21:39:04 freepbx in.tftpd[16906]: Client 192.168.168.65 File not found XMLDefault.cnf.xml

Checked the /tftpboot directory…I can find these files created by the EPM:
dialplan-00070E36404B.xml
SIPDefault.cnf
SIP00070E36404B.cnf

It seem the phone is looking for different files to perform the provisioning.
Please help…

Not looking for - finding. Your debug output shows that the files are found and downloaded.

Is it not looking for that simple .cnf.xml file that has this?

Picture2

The SEP Config file is for the SCCP load. The phone’s way underpowered so making smart choices is really not in the cards.

I’ve never seen a 7940 look for a MAC Specific dialplan file, There wouldn’t be anything in it that you wouldn’t be able to put into the SIPDefault.cnf.xml, though, so that might be part of the issue. This phone is also not looking for that file, so unless it’s referenced in the config someplace, I don’t think if’s going to find it.

1 Like

Thank for your reply.
The only xml file generated by the epm is dialplan-00070E36404B.xml.
http_proxy_addr: β€œβ€
http_proxy_port: 80
remote_party_id: 0[[email protected] tftpboot]# cat dialplan-00070E36404B.xml

<?xml version="1.0" encoding="utf-8"?>

The other two files are not xml files
******* SIP00070E36404B.cnf
proxy1_address: β€œ192.168.168.73”
proxy2_address: β€œβ€
proxy3_address: β€œβ€
proxy4_address: β€œβ€
proxy5_address: β€œβ€
proxy6_address: β€œβ€
line1_name: β€œ200”
line1_shortname: β€œ200”
line1_displayname: β€œ200”
line1_authname: β€œ200”
line1_password: β€œ*******5e68237f01”
line2_name: β€œ200”
line2_shortname: β€œ200”
line2_displayname: β€œ200”
line2_authname: β€œ200”
line2_password: β€œ*******5e68237f01”
line3_name: β€œβ€
line3_shortname: β€œβ€
line3_displayname: β€œβ€
line3_authname: β€œβ€
line3_password: β€œβ€
line4_name: β€œβ€
line4_shortname: β€œβ€
line4_displayname: β€œβ€
line4_authname: β€œβ€
line4_password: β€œβ€
line5_name: β€œβ€
line5_shortname: β€œβ€
line5_displayname: β€œβ€
line5_authname: β€œβ€
line5_password: β€œβ€
line6_name: β€œβ€
line6_shortname: β€œβ€
line6_displayname: β€œβ€
line6_authname: β€œβ€
line6_password: β€œβ€
proxy_emergency: β€œ192.168.168.73”
proxy_emergency_port: β€œ5060”
proxy_backup: β€œ192.168.168.73”
proxy_backup_port: β€œ5060”
outbound_proxy: β€œ192.168.168.73”
outbound_proxy_port: β€œ5060”
nat_enable: β€œ0”
nat_address: β€œβ€
voip_control_port: β€œ5060”
start_media_port: β€œ16348”
end_media_port: β€œ20134”
nat_received_processing: β€œ0”
time_zone: β€œEST”
logo_url: β€œβ€
telnet_level: β€œ2”
phone_prompt: β€œCiscoCP7940”
phone_password: β€œ222222”
enable_vad: β€œ0”
network_media_type: β€œauto”
user_info: β€œphone”
sntp_mode: β€œdirectedbroadcast”
sntp_server: β€œ0.us.pool.ntp.org”
time_format_24hr: β€œ0”
dst_offset: β€œ1”
dst_start_month: β€œApril”
dst_start_day: β€œβ€
dst_start_day_of_week: β€œSun”
dst_start_week_of_month: β€œ1”
dst_start_time: β€œ2”
dst_stop_month: β€œNov”
dst_stop_day: β€œ1”
dst_stop_day_of_week: β€œSunday”
dst_stop_week_of_month: β€œβ€
dst_stop_time: β€œ2”
dst_auto_adjust: β€œ1”
proxy1_address: β€œ192.168.168.73”
proxy2_address: β€œβ€
proxy3_address: β€œβ€
proxy4_address: β€œβ€
proxy5_address: β€œβ€
proxy6_address: β€œβ€
proxy1_port: β€œ5060”
proxy2_port: β€œ5060”
proxy3_port: β€œ5060”
proxy4_port: β€œ5060”
proxy5_port: β€œ5060”
proxy6_port: β€œ5060”
proxy_register: β€œ1”
timer_register_expires: β€œ60”
preferred_codec: β€œnone”
cnf_join_enable: β€œ1”
semi_attended_transfer: β€œ1”
dtmf_inband: β€œ1”
dtmf_db_level: β€œ3”
timer_t1: β€œ500”
timer_t2: β€œ4000”
sip_retx: β€œ10”
sip_invite_retx: β€œ6”
timer_invite_expires: β€œ180”
messages_uri: β€œ*97”
dnd_control: β€œ0”
callerid_blocking: β€œ0”
anonymous_call_block: β€œ0”
call_waiting: β€œ1”
dtmf_avt_payload: β€œ101”
dial_template: β€œdialplan-00070E36404B”
autocomplete: β€œ1”
services_url: β€œtftp://192.168.168.73/cisco/xmlservices/index.php”
directory_url: β€œtftp://192.168.168.73/cisco/xmlservices/PhoneDirectory.php”
logo_url: β€œβ€
phone_label: β€œReception”

******* and SIPDefault.cnf.
http_proxy_addr: β€œβ€
http_proxy_port: 80

Update…
I renamed the files:
SIP00070E36404B.cnf to SEP00070E36404B.cnf.xml and
SIPDefault.cnf to XMLDefault.cnf.xml

The provisioning seems to have moved forward…
Aug 22 16:05:10 freepbx in.tftpd[13050]: RRQ from 192.168.168.65 filename SEP00070E36404B.cnf.xml
Aug 22 16:05:10 freepbx in.tftpd[13050]: Client 192.168.168.65 finished SEP00070E36404B.cnf.xml
Aug 22 16:05:17 freepbx in.tftpd[13051]: RRQ from 192.168.168.65 filename CTLSEP00070E36404B.tlv
Aug 22 16:05:17 freepbx in.tftpd[13051]: Client 192.168.168.65 File not found CTLSEP00070E36404B.tlv

If I can find the file: CTLSEP00070E36404B.tlv, I think it will work.

Dave @cynjut please correct me if I’m wrong, the SEPnnnnnnnnnB.cnf.xml file is (as he said) for SCCP load, which I believe points to the required SIP info for uploading the SIP firmware. I removed those files from the /tftpboot folder to prevent the phones reloading the SIP firmware each time they were booted.

As for the .tlv file I don’t think it is needed, thus maybe your problem is not there.

Thank for your reply…

I’m not sure what you meant. The .tlv file is missing. How do I stop the provisioning from looking for the file?

Ignore it, again I am open to correction.

Other then renaming the two files:

SIP00070E36404B.cnf to SEP00070E36404B.cnf.xml and
SIPDefault.cnf to XMLDefault.cnf.xml

nothing was changed. The phone kept looping: RRQ from 192.168.168.65 filename CTLSEP00070E36404B.tlv to the FreePBX…not provisioning.

any idea?

no Ken, sorry.

The TLV file is specifically for connection to CUCM’s License Validation service. Cisco SIP service has nothing even close. It is not required and is completely useless in a SIP context.

The SEP files are used for SCCP. If you want to use them, you should install Chan-SCCP-B as the local driver, follow the instructions I wrote at https://github.com/chan-sccp/chan-sccp/wiki/FreePBX_Installation.

I don’t like the SIP load. I don’t. I never recommend it. The phones are too underpowered to do everything they do reasonably well as an SCCP endpoint. Regardless, this phone is the hardest to get working of all of the phones on the market. The money you save on them is offset by the pain in the neck that they cause when you go to configure them.

1 Like

Totally with you there Dave. The only reason I got some a few years ago was because they were cheap and wanted to self-learn FreePBX/Asterisk. Once I was content enough to deploy a system at my business I upgraded to Sangoma S series phones and free EPM.
@kyiu the time you spend on these phones would be better spent on decent modern phones. Looks like you bought EPM so you have plenty of vendors endpoints to choose from.
Good luck!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.