Can't install newest Chan_SCCP-b v3. NEED MUCH HELP!!

frankinc
Posts: 27
Member Since:
2010-09-01

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?



solstice
Posts: 137
Member Since:
2006-06-02
If you are running '60's and

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.



frankinc
Posts: 27
Member Since:
2010-09-01
I had the 7970 running sip.

I had the 7970 running sip. But i didn't have all the features i liked on callmanager. I know the voice quality is better and it's more reliable.



frankinc
Posts: 27
Member Since:
2010-09-01
Is their a certain way to

Is their a certain way to install Chan_SCCP and compile it? I do remember doing it on trixbox 2.6. But it seems it's not the same way on 2.8. Any help?



frankinc
Posts: 27
Member Since:
2010-09-01
I did yum install

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.



bubbapcguy
Posts: 3774
Member Since:
2006-06-02
download

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...



frankinc
Posts: 27
Member Since:
2010-09-01
OK, i go to sourceforge and

OK, i go to sourceforge and download chan_sccp. After downloading, where do i put it on trixbox and how do i compile it? Just moving a file i download won't mean i installed it right?



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Frank, You do know that you

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.

--

Scott

aka "Skyking"



obeliks
Posts: 877
Member Since:
2010-03-14
this is the part where you

this is the part where you quote the story about converting a small island to VoIP ;-)



frankinc
Posts: 27
Member Since:
2010-09-01
But i have trixbox. I use

But i have trixbox. I use trixbox because it install everything i heard. But what is DAHDI and how do you install it. I really want to use sccp. I did sip once and i hated it.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
chan_sccp is another

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.

--

Scott

aka "Skyking"



bubbapcguy
Posts: 3774
Member Since:
2006-06-02
OMG

"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.



frankinc
Posts: 27
Member Since:
2010-09-01
I think i know how to setup

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?



SkykingOH
Posts: 9541
Member Since:
2007-12-17
I don't know what you did

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.

--

Scott

aka "Skyking"



frankinc
Posts: 27
Member Since:
2010-09-01
I sent you a link with the

I sent you a link with the concepts. You have to build the whole stack:

DAHDI
Asterisk
Asterisk-Addons

Ok, I install DAHDI, Asterisk, and Asterisk-Addons version 1.6.

Now how do i install and compile chan_sccp?



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Wow, this is like pulling

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.

--

Scott

aka "Skyking"



frankinc
Posts: 27
Member Since:
2010-09-01
It didn't run. Can you help

It didn't run. Can you help me please? I do make and it gives me errors.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
I can't read minds, what

I can't read minds, what errors?

I am sure they are extensive so please post them on pastebin.ca and provide a link.

--

Scott

aka "Skyking"



frankinc
Posts: 27
Member Since:
2010-09-01
I downloaded chan_sccp-b

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.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Still not sure what you are

Still not sure what you are doing. You have to untar the package in usr/src then CD to the source directory. Then you can run the build scripts.

--

Scott

aka "Skyking"



frankinc
Posts: 27
Member Since:
2010-09-01
Ok, since i didn't do it

Ok, since i didn't do it right and i don't know how to do it. Can you give me the steps from A to Z?
I thought you just download it and upload to trixbox.



jas_williams
Posts: 205
Member Since:
2007-05-13
A to Z

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:





2000
10.10.10.90




{May 06 2010 00:00:00}
P00308010200

English_United_States
en


0





* Change
to the IP of your trixbox server.
* Ensure is 2000 - this is the tcp port that skinny runs on.
* Ensure matches the version you have in your tftpboot directory - get it from cisco.com
* Ensure is something very recent, but not in the future!
**** 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"



frankinc
Posts: 27
Member Since:
2010-09-01
To jas_williams. I did yum

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?



jas_williams
Posts: 205
Member Since:
2007-05-13
Cannot open: No such file or directory

Then your tar file is not in the correct place this is basic stuff Pay somebody to sort it for you !!!!

We are going to need to hold your hand forever.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
He is correct, if you do an

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.

--

Scott

aka "Skyking"



jas_williams
Posts: 205
Member Since:
2007-05-13
Generaly just installing

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



frankinc
Posts: 27
Member Since:
2010-09-01
OK. I know the why i

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.



frankinc
Posts: 27
Member Since:
2010-09-01
Ok. I downloaded the file. I

Ok. I downloaded the file. I tar it and did a make and make install. All went fine. I used your sccp.conf. But do i have to have an SEP.CNF.XML for each phone? Oh yah, you have to click you link you posted and search for that file. You can do a wget and get it.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
We don't support

We don't support channel_sccp. Glad you got it working. I suggest you use that projects forums for support on the module,

--

Scott

aka "Skyking"



frankinc
Posts: 27
Member Since:
2010-09-01
My fault. I miss read your

My fault. I miss read your response. I got your SEP-insert-mac-address.cnf.xml file. I feel so stupid.



frankinc
Posts: 27
Member Since:
2010-09-01
Ok. I used your

Ok. I used your SEP-insert-mac-address.cnf.xml file for my 7960 phone. But the phone is not registering. I loads up the it gets stuck on configuring cm list, then go right to configuring ip and so on. Any help?



jas_williams
Posts: 205
Member Since:
2007-05-13
The sep XML file was messed

The sep XML file was messed up by the forumn look on the sccp site for a working version



frankinc
Posts: 27
Member Since:
2010-09-01
Ok. I have my 7960

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?



mathelize
Posts: 7
Member Since:
2010-11-25
chan_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



SkykingOH
Posts: 9541
Member Since:
2007-12-17
It won't start without the

It won't start without the config file. Use the sample one and tailor to your needs.

--

Scott

aka "Skyking"



mathelize
Posts: 7
Member Since:
2010-11-25
Sorry to bother you again.

Sorry to bother you again. Can you please explain how to do the config file? What do I have to do and where do I put the config file.
Thanks



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Have you looked at the

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.

--

Scott

aka "Skyking"



mathelize
Posts: 7
Member Since:
2010-11-25
I've done the sccp.conf

I've done the sccp.conf copied from /usr/src/Chan_SCCP-3.0_RC3/conf/sccp.conf It still won't start.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
You are going to have to

You are going to have to give us more than that. Turn up verbosity and debug, try and load chan_sccp and see what log entries you get.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.