Hi. I'm kind of new to trixbox. I've been using it since early this year. I know how to setup cisco phone using sip, but can't do it with Chan_sccp. Don't even know how to install Chan_sccp. I read a lot of forums for this site and others and still i can't do it. I have trixbox 2.8.0.3. I would like to install the newest Chan_sccp on trixbox and get my 7960, and 7970 to work with the system. Any help out there world?
Can't install newest Chan_SCCP-b v3. NEED MUCH HELP!!
If you are running '60's and '70s, why don't you just run the standard sip firmware? Its easy and supported. The only reason i see to run chan_sccp is to get some extra features which may or may not be usefull for your environment. It seems cisco is changing their line to sip anyways.
I did yum install asterisk16-devel gcc subversion.
cd /usr/src/
wget http://sourceforge.net/projects/chan-sccp-b/files/chan-sccp-b/v2-...
tar xvfz chan_sccp-b_20090602.tar.gz,
[trixbox.ghostcom.com src]# tar xvfz chan_sccp-b_20090602.tar.gz
tar: chan_sccp-b_20090602.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
This is what it get when i do tar xvfz chan_sccp-b_20090602.tar.gz.
Well for one thing you cannot use wget to download that by the link you posted..sourceforge is redirecting to a html file that is all you are downloading, you need to find a direct link tot he file or download via a browser and move it over to the box with SSh or via a USB drive... the file is only 675 KB. it fit will on one of those floppy things that they used in old days...
Frank,
You do know that you won't be able to set this up using the GUI, it's all done by hand?
I think you may be a bit out of your element. You have to download and install DAHDI Complete, Astersisk, and Asterisk Add-Ons then build chan_sccp against the Asterisk you just built.
chan_sccp is another project. Even if somehow we got you through the process of building everything from source you still would have to setup your sccp.conf.
trixbox does not install chan_sccp, chan_sccp does not have a trix built RP/M and the PBXSettings (AKA FreePBX) does not support chan_sccp.
trixbox does install DAHDI to support telephony interface cards, if you are going to rebuild Asterisk you need to build DAHDI along with it.
sccp works great and even supports SLA! It takes some effort to learn how to configure.
I am going to throw you a bone.....The concept of what you are trying to do is the same as this wiki article. You will have to substitute DAHDI for Zaptel and use a 1.6.2 branch of Asterisk.
"I use trixbox because it install everything i heard"
Yes it installs everything you need to run a SIP / IAX PBX, anything else means you need to have the skills to work within Linux / asterisk it is something someone could just tell how to do without you having linux / asterisk skills, which we see you do not.
Maybe you should pay someone (Scott maybe) to do this for you, and NOT on a production machine.
I think i know how to setup my sccp.conf. I have read a lot on how to set it up. But the old way of doing this seems to be different now. i did set up chan_sccp on trixbox 2.6. But that didn't work out to well. The phone would register. But the phone would freeze when i tried to make a transfer and what ever.
Ok. If i follow the wiki and update trixbox 2.8. Will i be able to then install chan_sccp with the newest version?
I don't know what you did before. At some points on 2.6 it may have been possible to download just the Asterisk-dev package and build against the Fonality version of Asterisk.
I sent you a link with the concepts. You have to build the whole stack:
DAHDI
Asterisk
Asterisk-Addons
and chan_sccp
No matter how many times you ask the answer remains the same.
Wow, this is like pulling teeth. Did you download the source files from Digium for DAHDI, Asterisk and Asterisk-Addons and then build?
The process is the same for chan_sccp, just unpack the tar file, go into the directory and do a make/make install (forgot if it has a configure script or not, it it does run that first). Restart Asterisk and chan_sccp will appear in the module list.
I downloaded chan_sccp-b from http://sourceforge.net/projects/chan-sccp-b.
I used core ftp to put the files in /usr/src/.
i did cd /usr/src/Chan_SCCP-3.0_RC2.
This came up [root@trixbox Chan_SCCP-3.0_RC2]#.
I did make and this came up [root@asterisk Chan_SCCP-3.0_RC2]# make
make: *** No targets specified and no makefile found. Stop.
I know if i do make install another error will come up. I follow the direction from http://chan-sccp-b.sourceforge.net/documentation.shtml. I really need help. I must not be doing something right.
Here is an A to Z try it see how you get on this is based on Trix 2.8
yum install asterisk16-devel gcc subversion
cd /usr/src/
wget http://sourceforge.net/projects/chan-sccp-b/files/chan-sccp-b/v2-...
tar xvfz chan_sccp-b_20090602.tar.gz
cd /usr/src/chan_sccp-b_20090602
Next step optional.
Edit Makefile and change "ASTERISK_SOURCE=" to point to your asterisk source dir (normally /usr/src/asterisk)
NB: Next step required, otherwise make will fail.
Edit line 587 in file /usr/src/chan_sccp-b_20090602/sccp_pbx.c
Find:
CS_AST_CONTROL_T38
Replace with:
CS_AST_CONTROL_T38_PARAMETERS
Now make and install:
# make
# make install
chan_sccp is a newer version of the skinny support for asterisk, it replaces the original chan_skinny, so we have to disable this older version:
Edit /etc/asterisk/modules.conf and disable loading of chan_skinny by adding "noload => chan_skinny.so" (if it exists).
Add "load => chan_sccp.so" to same file to load the new build of skinny support.
Restart Asterisk:
# amportal restart
Now create your extensions and config files.
In trixbox / asterisk, create extension 205 in the normal fashion.
Edit the following files to support that extension in skinny:
Files required:
/tftpboot/SEP000BBEE38912.cnf.xml (change mac acddress portion to mac of your phone)
/etc/asterisk/sccp.conf
**** Sample SEP-insert-mac-address.cnf.xml file:
* Change
* Ensure
* Ensure
* Ensure
**** Sample sccp.conf file
[general]
servername = trixbox1
keepalive = 60
debug = 10
context = from-internal
dateFormat = M/D/YA
bindaddr = 10.10.10.90
port = 2000
disallow=all
;allow=alaw
allow=ulaw
firstdigittimeout = 16
digittimeout = 8
digittimeoutchar = #
autoanswer_ring_time = 1
autoanswer_tone = 0x32
remotehangup_tone = 0x32
transfer_tone = 0
callwaiting_tone = 0x2d
musicclass=default
language=en
dnd = on
rtptos = 184
echocancel = on
silencesuppression = off
trustphoneip = no
tos = 0x68
private = on
mwilamp = on
mwioncall = on
blindtransferindication = ring
cfwdall = on
cfwdbusy = on
[devices]
type = 7960
autologin = 205
description = ASTsccp-205
keepalive = 60
transfer = on
park = on
cfwdall = on
cfwdbusy = on
dtmfmode = outband
imageversion = P00308010200
dnd = on
trustphoneip = no
private = on
mwilamp = on
mwioncall = on
device => SEP000BBEE38912
[lines]
id = 205
pin = 1234
label = ASTsccp-205
description = Sccp Line
context = from-internal
incominglimit = 3
transfer = on
cid_name = Sccp Line
cid_num = 205
trnsfvm = 1
secondary_dialtone_digits = 9
secondary_dialtone_tone = 0x22
musicclass=default
language=en
rtptos = 184
echocancel = on
silencesuppression = on
line => 205
* This one works for me with a 7960 phone. i.e. the number of the phone is 205, the line name is ASTscp-205 and description is "Sccp Line"
To jas_williams.
I did yum install asterisk16-devel gcc subversion.
I downloaded wget http://sourceforge.net/projects/chan-sccp-b/files/chan-sccp-b/v2-... to /usr/src.
Then i did (tar xvfz chan_sccp-b_20090602.tar.gz) and got an error message saying
[root@asterisk src]# tar xvfz chan_sccp-b_20090602.tar.gz
tar: chan_sccp-b_20090602.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
I read your instructions on another forum and this was the same errors i get. Is their something else i need to do?
He is correct, if you do an ls is the file you downloaded in the directory?
Getting this to work requires Linux sysadmin skills and a bit of experience.
jas_williams - Have you been able to build modules against the trix headers? I always end up rebuilding Asterisk just to be safe.
Generaly just installing headers works fine for building the modules so no need to recompile asterisk dahdi audio etc..... I can understand why you would want to rebuild asterisk but ihave not done this.. I do not run sccp on a production system the admin overhead is a pain generally my productions systems are sip only but my home/test rig is running sccp correctly without a full recompile
Jason
OK. I know the why i couldn't tar it. The wget file you posted Jas_williams is not their any more. I checked the /usr/src and couldn't find it. Is it possible that the file is no longer there or have been upgraded? If so can you provide another way of getting the file? I do know a whole lot more than i did at the beginning.
Ok. I have my 7960 registered and working. The only problem i have is that i have to wait a log time for the numbers i enter to process. i dial extension 7142 and it takes like 10 seconds to go threw. Any help with that? Another problem i have is that when i want to transfer a call it rings the other extension and i have to wait until they pick up to transfer. Is there any way i can direct transfer or blind transfer?
Also i would like to know how can i get my cisco 7970 to work with trixbox using sccp?
I've been trying to load chan_sccp for more than a week with no joy. I compiled chan_sccp and there appears to be no error. Just a quick question, do I have to create sccp.conf myself because it's not in /etc/asterisk?
There is chan_sccp.so in /usr/lib/asterisk/modules but when I try to load it using CLI it doesn't load
I've also added load => chan_sccp.so into modules.conf and restarted asterisk several times.
I must have done a clean install like 30 times.
trixbox1*CLI> module load chan_sccp.so
Unable to load module chan_sccp.so
Command 'module load chan_sccp.so ' failed.
trixbox1*CLI>
trixbox1*CLI> core show version
Asterisk 1.6.0.26-FONCORE-r78 built by root @ revisor.trixbox.com on a i686 running Linux on 2010-06-08 22:01: 27 UTC
trixbox1*CLI>
I'm currently running trixbox CE current release is 2.8.0 on Intel Pentium 4 CPU 2.80GHz and 1GB Ram
autoconf (2.6.0)
automake (1.10)
libtool (2.2.2)
m4 (1.4.5)
Just run:
./configure
And finally:
make
make install
Any help will be much appreciated
Have you looked at the sample config file included with the chan_sccp package? The settings are documented with examples on how to create a peer.
Keep in mind to integrate with the trixbox dial plan the sccp peers must be set to the from-internal context. You must also manually keep track of the extensions between trixbox and sccp as trixbox will not be aware of them.
In order to dial an sccp extension from a trixbox aware peer you create a custom extension with the dial string 'sccp/xxx' where xxxx is the scccp extension configured in sccp.conf
sccp.conf goes with all the other Asterisk config files in /etc/asterisk.

Member Since:
2010-09-01