I think you are looking at the instructions to install pre-compiled binaries.
So I followed the usecallmanager guide and now FreePBX is saying “cannot connect to asterisk”.
I am looking in the right place http://download.opensuse.org/repositories/home:/chan-sccp-b:/other/CentOS7/
“Resource not available”
Again, you should look on how to install from source, not the pre-compiled binary.
You can see how to install from source on this link:
So I followed the usecallmanager guide and now FreePBX is saying “cannot connect to asterisk”. I really don’t know what to do here. I was told that compiling Asterisk 16 and installing it would not effect FreePBX. Unfortunately it has and now my FreePBX is not working.
[root@freepbx ~]# fwconsole restart
Running FreePBX shutdown…
Core FastAGI Server is not running
RestApps Server is not running
UCP Node Server is not running
Chat Server is not running
Zulu Server is not running
In php-asmanager.php line 489:
fclose() expects parameter 1 to be resource, boolean given
restart [-i|–immediate] [–] …
More information… I don’t get it because at the very top it says Asterisk is running but at the bottom it’s asking if Asterisk is running.
[root@freepbx ~]# fwconsole start
Asterisk already running
Running FreePBX startup…
Taking too long? Customize the chown command, See http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf
Setting base permissions…Done
Setting specific permissions…
Finished setting permissions
Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 1800 and has been running for 3 hours, 39 minutes, 5 seconds
Running Asterisk post from Core module
Running Asterisk post from Dahdiconfig module
Running Asterisk post from Endpoint module
Running Asterisk post from Pagingpro module
Running Asterisk post from Restapps module
Starting RestApps Server…
[>---------------------------] 1 sec
Started RestApps Server. PID is 32747
Running Asterisk post from Ucp module
Starting UCP Node Server…
[>---------------------------] 1 sec
Started UCP Node Server. PID is 412
Running Asterisk post from Vqplus module
Queues Pro is not licensed.
Running Asterisk post from Xmpp module
Resetting PBX Users Failed: The command “node /var/www/html/admin/modules/xmpp/node/resetpbxusers.js” failed.
Exit Code: 1(General error)
Working directory: /root
Unable to connect to asterisk!
throw “There was an error with Asterisk Manager Connection, is Asterisk running?”;
There was an error with Asterisk Manager Connection, is Asterisk running?
Running Asterisk post from Zulu module
This product is not licensed
I wrote the instructions for using Chan-SCCP-B in FreePBX when I ran into this same rabbit hole of mismatched RPMs and phones that, once converted to SIP, still didn’t work right.
While I understand your desire to get this working after the investment you’ve made in the process, I’d really like to recommend you start over and use the instructions I reference here:
The solution laid out here walks you through the steps @arielgrin used to install his SCCP phones, as well as the updates I’ve made over time (something like 13 years worth). The patched Asterisk solution is really clumsy and makes your installation less secure over time.
The primary advantage of this approach is that it doesn’t actually change any of the FreePBX stuff - every resource you use (with the exception of a couple of downloads) are managed straight out of FreePBX. If you go full bore and include the SCCP-Manager (which has seen some serious improvements since Dietrich is now helping with development), you end up with a pure SCCP implementation in pure FreePBX.
I’ll look into this I appreciate the new information.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.