Installing chan_sccp
Hi, Am new to this and have been having problems getting chan_sccp installed.
Have installed Trixbox CE2.6 with the default options when installing.
What do I need to do to get chan_sccp installed? I have tried several solutions that have been posted around on the net but none have worked.
Getting problems like /usr/inlcude/asterisk file or directoy not found....and it is correct the asterisk folder doesn't exist......
I am just installing trixbox ce 2.6 again from scratch now...any advice would be greatful.
Thanks
Mike
I can't directly answer - this is a path I am just about to follow. But afaik you need to look at
chan-sccp-b http://sourceforge.net/projects/chan-sccp-b/
this is a useful / current link
http://southbrain.com/south/2008/02/cisco-7960-and-asterisk-1417-...
also there are several active chan-sccp threads on this forum, do a search here also for chan-sccp-b. Keep us updated on how you get on.
Mike
Since this is something I am trying to achieve, if you want to post each step that you have gone through and the output or error that you get, I will go through them and see how I get on. Have you tried running
lsmod
to see that you actually have chan_sccp.so loaded? From what you have posted so far its not clear to me where your problem lies.
1) Installed Trixbox with default settings.
2)
wget http://downloads.sourceforge.net/chan-sccp-b/chan_sccp_20071213.t...
tar vxzf chan_sccp_20071213.tar.gz
cd chan_sccp-20071213
make clean
make install - ***This errors***
sh ./create_config.sh "/usr/include"
include directoty '/usr/include/asterisk' does not exist
make: ***[.config] Error 1
If I look in the /usr/include folder there is no Asterisk folder! Why? If I create one manually it still won't work. But I get the following message.
make install
sh ./create_config.sh "/usr/include"
Creating config file
============
Checking Asterisk version...
grep: /usr/include/asterisk/version.h: No such file or directory
grep: /usr/include/asterisk/version.h: No such file or directory
* found unsupported asterisk version
make: ***[.config] Error 1
That is how far I have got.
You need to install a couple of packages on trixbox-2.6.x before you can compile chan_sccp.
The two packages are: asterisk-devel gcc
To install them you just run "yum install asterisk-devel gcc"
At that point the chan_sccp module should compile easily and you just copy the chan_sccp.so file into the correct directory, setup your sccp.conf file and restart asterisk.
What directory should the chan_sccp.so file be in?
It has sort of compiled this but when installing the chan_sccp.so get the following.
Now installing chan_sccp.so
Installing config file /etc/asterisk/sccp.conf
cp: cannot stat 'conf/sccp.conf' : no such file or directory
make: *** [install] error 1
Your chan_sccp.so file should be in /usr/lib/asterisk/modules. It looks like that part was successful.
You just need to setup a sccp.conf file in /etc/asterisk yourself. Mine looks like this:
[general]
keepalive = 30
context = from-internal
dateFormat = M.D.Y ; date format
bindaddr = 0.0.0.0 ; interface to bind to
port = 2000 ; port to bind to (2000 = skinny)
debug = 4
accountcode=SCCP ; recordname appearing in cdr
callwaiting_tone = 0x2d ; turn off callwaiting tone == 0
language=en
echocancel = on
silencesuppression = off
cfwdall = on ; turn on call forward button
cfwdbusy = on ; turn on call forward when busy button
dnd = on ; turn on "do not disturb"
mwioncall = on ; lit message waiting light when new messages are
; in voicemailbox
digittimeoutchat = # ; type hash to stop dialing timeout
disallow = all
allow = alaw
allow = ulaw ; european isdn is alaw, so i use alaw as first preference
[devices]
type = 7960 ; my phone is a 7960
description = Tom Cisco ; name appearing in the upper right
tzoffset = 0
autologin = 2107 ; we have exten *1 and *6
speeddial = 2105,Tom Desk,2905
speeddial = 2101,Karen Desk,12101
imageversion=P00308200000
device => SEP00055E377FCE ; This is the device Name (SEP+Mac)
[lines]
id = 2107 ; Extension
label = 2107 ; label on line button
description = Tom Cisco
context = from-internal ; incoming call context
callwaiting = 1
incominglimit = 3 ; max 3 incoming calls
mailbox = 2107 ; corresponding voicemail box
vmnum = *97 ; extension to dial to access VoiceMailMain()
cid_name = Tom Cross
cid_num = 2107
line => 2107

Member Since:
2008-04-29