How to add chan_sccp_b to the latest FreePBX distro?

Hello,

I have been running an old Trixbox system for years now with no problems, and am looking to upgrade to get new features and to support some SCCP phones.

I have a mix of some 7960 phones with a SIP load and some 7912G phones with SCCP, so the system needs to support both.

I just installed a new system with the latest FreePBX-5.211.65-3-x86_64-Full-1388073872.iso, and am looking for a way to add SCCP support. There are a few old references, but nothing current.

Is a manual install like this required, or is there something more current? http://svn.freepbx.org/contributed_modules/modules/chan_sccp/readme.txt

Any suggestions would be appreciated!

Regards,
Nick

The FreePBX module for chan_sccp is very old and doesn’t work well (if at all).

You have to manually configure the SCCP extensions. Put them in the from-internal context and they will work fine with FreePBX.

To install chan_sccp2 (a very active project) you will need to install the dev tools and all the dependencies. Download Asterisk source and recompile with the sccp2 support.

The project page for sccp2 is over at sourceforge. The mailing list is very active. I suggest you read a few months of the archives to get a flavor.

Thanks for the reply, it seems like chan_sccp2 is the same as chan_sccp-b, and this is the path I have been testing. I tried reading through the mailing list, but could not find any current version install information, though I certainly might have missed it. Looking for a complete working recipe with current builds - since I haven’t been able to find one I will start one here.

My goal is to add SCCP GUI support with the available FreePBX module. Here are the exact steps I have taken so far in case anyone else wants to try, they should be pretty reproducible.

  1. Started with a clean 64-bit install of the latest ISO, selected Asterisk 11
    FreePBX-5.211.65-3-x86_64-Full-1388073872.iso

  2. Only one dependency required
    yum install asterisk11-devel.x86_64

  3. Download and install the latest chan_sccp-b
    wget http://downloads.sourceforge.net/project/chan-sccp-b/V4/Chan_SCCP-V4.1_STABLE.tar.gz
    tar -zxvf Chan_SCCP-V4.1_STABLE.tar.gz
    cd Chan_SCCP-V4.1_STABLE
    ./configure
    make
    make install

  4. Download the SCCP Manager module and follow the README to install
    http://issues.freepbx.org/browse/FREEPBX-5916

  5. Install failed as others have reported with:
    FATAL ERROR
    Can not modify sccpline table

It seems that the chan_sccp-b make install did not add the new tables. To get the module to install and enable I had to manually apply the correct SQL file from the chan_sccp-b package:
mysql> source /root/Chan_SCCP-V4.1_STABLE/conf/mysql-v5.sql

  1. Restarted the system, initially thought it was not working because the documentation says the SCCP options should be in the “Applications” menu, finally noticed them in the “Other” menu.

  2. Followed the remainder of the sccp_manager readme.txt
    *Go to Applications -> Extensions and set up a new Custom Extension (e.g.):

    • User Extension: 7777
    • Display Name: IT Service
    • Dial: 7777/SCCP
  • Submit Changes and Apply Config.
  • Go to Applications -> SCCP Phones.
  • Add the phone with its MAC address, type and the freepbx extension.
  1. On to testing as soon as I get a chance…

Helpful references:
http://chan-sccp-b.sourceforge.net/index.shtml
http://www.voip-info.org/wiki/view/chan_sccp2
http://www.freepbx.org/forum/freepbx/general-help/should-i-use-cisco-7970-with-sccp-firmware-or-flash-sip

This is great stuff, nice to see someone that “gets” it. I had been told that module is not viable anymore (the FreePBX one). The folks I know that are using maintain DB from command line.

Anyway, you have tempted me to try. Also did not know that sccp-b now works with Asterisk 11.

Let us know is the shared line appearance and conferencing work (two of features I never could get to work).

I am also going to make a wiki page and give you access to update it tomorrow.

I did mean sccp-b. Sorry for the confusion.

Scott

How did you manually add the files to mysql. I have been working on a home project to make a Cisco 7931g work on Asterisk and wanted to try the SCCP method as described above which is fantastic but I have hit a stopping point. You say :It seems that the chan_sccp-b make install did not add the new tables. To get the module to install and enable I had to manually apply the correct SQL file from the chan_sccp-b package:
mysql> source /root/Chan_SCCP-V4.1_STABLE/conf/mysql-v5.sql

How exactly was this done I would appreciate any help you can give me on this subject Thanks in advance

Scott,

Someone rewrote the module a couple of months back and I think thats the one he is referring to.

Edit: yes it is. We should probably remove the really really old one :frowning:

How did you manually add the files to mysql. I have been working on a home project to make a Cisco 7931g work on Asterisk and wanted to try the SCCP method as described above which is fantastic but I have hit a stopping point. You say :It seems that the chan_sccp-b make install did not add the new tables. To get the module to install and enable I had to manually apply the correct SQL file from the chan_sccp-b package:
mysql> source /root/Chan_SCCP-V4.1_STABLE/conf/mysql-v5.sql

How exactly was this done I would appreciate any help you can give me on this subject Thanks in advance

please forgive the second post I realised I needed to reply to your original post

I guess I don’t understand your question. Yes, you have to create the DB and the tables then you can add records.