FreePBX Distro
FreePBX 13.0.54
EndPoint Manager 13.0.20 (commercial license)
Phone: Cisco 7940 (phone works on another older freePBX)
Two network interfaces - one for our lan; one dedicated for the phones
I can ping the phone:
ping -c 3 192.168.160.105
PING 192.168.160.105 (192.168.160.105) 56(84) bytes of data.
64 bytes from 192.168.160.105: icmp_seq=1 ttl=64 time=0.888 ms
...
nmap from the freepbx finds the phone:
Nmap scan report for 192.168.160.105
Host is up (0.0030s latency).
All 1000 scanned ports on 192.168.160.105 are filtered
MAC Address: 00:1F:9E:24:4F:8D (Cisco Systems)
I configured a template for the phone. Brand “cisco”, available phones CP7940.
Under “Network Scan”, “Scan this Subnet” set to 192.168.160.0/24 and click “Scan This Subnet”:
No Devices Found
I suspect something with the template but not sure how to debug. Thanks for any help. – Bud
Tried to add the phone manually under extension mapping and that isn’t working either. A file for the phone (spa001f9e244f8d.xml) was created in /tftpboot. I did a packet capture on the phone network side and I can see the phone register with the dhcp server running on the freepbx (dbsmasq) and then request the files it needs from the tftp server. It requests in order:
You kind of answered your own question. The config files for the phone aren’t in the tftpboot directory. It’s been a long time since I used EPM, but isn’t there a step where you tell it to put all of the config files someplace?
That’s possible. When I tried to do a network scan for the phone, it isn’t found either. That said, the phone is a cisco 7940 and I added Cisco as the brand, created a template and added CP7940 as an “Available Phone”. Not sure what else I can do. – Bud
If you’re still wrestling with this, you could always try the ‘chan-sccp-b’ extension. It sits along side Asterisk (like DAHDI). I wrote a guide to installing and configuring it with Asterisk a couple of years ago and I still use it today (in fact, I just installed a new system with 10 SCCP phones a couple of weeks ago).
The nice thing is that all of the features of the phone (even the ones that are nerfed by the SIP load) work in the native mode. It’s an option - it might be a good choice for your environment.
Well I sort of put my migration to the side for a little bit. All my phones are already converted to sip so not sure I want to go back to SCCP… I had the Cisco 7940 phone working OK with the SIP driver. Then I saw that the recommended sip driver is PJSIP. I tried switching to the that but then I found that the PJSIM doesn’t play nice with the Cisco 7940’s (registration problems). Evidently, there are workarounds but so far they haven’t worked for me. Ideally I’d get the phones working with PJSIP but I may need to switch back to SIP. – Bud
Thanks @cynjut! Password length was the issue with registration. Was using a 12 character password. Changed to 8 and now it registers. Now on to my trunks with voip.ms … – Bud
@cynjut Are you willing to share your chan-sccp-b guide? I am just starting the process of migrating Cisco 7942/7946 handsets to Asterisk (FreePBX) from a CUCM and would be very interested in keeping them SCCP to minimize the end users impact.
Please let me know if I can obtain a copy of your guide.
The Chan-SCCP-B driver wiki HERE has the links to everything you need to use and setup Chan-SCCP-B. The 8th or 9th item down the list on the main page is about using the system with FreePBX.