Trouble provisioning Cisco 7940G


I’m having some difficulty making a Cisco 7940G (with SIP firmware) communicate with my FreePBX Distro:

Distro v. 3.211.63-10-x86_64
Asterisk 11.4.0

I have enabled the Cisco/Linksys package, and clicked “Enable” for the 7940G; and assigned it extension 300.

When the phone boots it says “Configuring VLAN” for a long time, obtains an IP address, says “No load specified” (not sure if before or after tftp), hits the TFTP server for configuration with this log entry:

In /var/log/messages:

Mar 5 17:35:37 pbx in.tftpd[27967]: RRQ from filename CTLSEP001A2FA6F156.tlv
Mar 5 17:35:37 pbx in.tftpd[27968]: RRQ from filename SEP001A2FA6F156.cnf.xml

Then goes back to “Configuring VLAN” for a shorter while, obtains an IP address, and hits TFTP for:

Mar 5 17:37:15 pbx in.tftpd[28200]: RRQ from filename SIPDefault.cnf Mar 5 17:37:15 pbx in.tftpd[28201]: RRQ from filename SIP001A2FA6F156.cnf

Then the screen says “Phone Unprovisioned” and it repeatedly requests

Mar 5 17:38:48 pbx in.tftpd[28424]: RRQ from filename SIP001A2FA6F156.cnf

about once per 30 seconds. This file does not exist.

Would anybody have any tips as to what is not configured correctly?


Files/data —

Contents (subset, there are other things that probably aren’t relevant) of /tftpboot:

-rwxrwxr-x 1 asterisk asterisk 88 Mar 5 13:11 dialplan.xml
-rw-r–r-- 1 asterisk asterisk 14 Mar 5 17:14 OS79XX.TXT
-rw-r–r-- 1 asterisk asterisk 130552 Mar 5 17:14 P003-8-12-00.bin
-rw-r–r-- 1 asterisk asterisk 130956 Mar 5 17:14 P003-8-12-00.sbn
-rw-r–r-- 1 asterisk asterisk 458 Mar 5 17:14 P0S3-8-12-00.loads
-rw-r–r-- 1 asterisk asterisk 756524 Mar 5 17:14 P0S3-8-12-00.sb2
-rwxrwxr-x 1 asterisk asterisk 202 Mar 5 13:11 RINGLIST.DAT
-rwxrwxr-x 1 asterisk asterisk 0 Mar 5 13:11 ringlist.xml
-rwxrwxr-x 1 asterisk asterisk 1665 Mar 5 13:11 SEP001A2FA6F156.cnf.xml
-rwxrwxr-x 1 asterisk asterisk 403 Jun 13 2013 SIPDefault.cnf

Contents of OS79XX.TXT:


Contents of SIPDefault.cnf

image_version: “P0S3-8-12-00”

cnf_join_enable: "1"
semi_attended_transfer: "0"
call_waiting: "1"
anonymous_call_block: "0"
callerid_blocking: "0"
dnd_control: “0”

dtmf_inband: "1"
dtmf_outofband: "avt"
dtmf_db_level: "3"
dtmf_avt_payload: "101"
timer_t1: "500"
timer_t2: "4000"
sip_retx: "10"
sip_invite_retx: "6"
timer_invite_expires: “180”

http_proxy_addr: ""
http_proxy_port: 80
remote_party_id: 0

Contents of SEP001A2FA6F156.cnf.xml:

<?xml version="1.0" ?> SIP ---- ---- M/D/YA Central Standard/Daylight Time ---- Unicast 5060 true 5060 none Phone1
                    <line button="1">



This update is for the sake of search engine hits.

I found this thread after posting mine:

It states that using “7940” instead of “7940G” as the device type causes the endpoint manager to write the SIP.cnf file. As soon as I changed it, on the next request, it loaded the SIP.cnf file.

This issue may have been fixed in newer versions of FreePBX Distro; I am a few major revisions behind on my installation.