TUTORIAL Updated SCCP Tutorial for Asterisk 11 and 13

Status
Not open for further replies.

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
This is what I do:

Delete the old sccp directory.
svn co https://svn.code.sf.net/p/chan-sccp-b/code/trunk chan-sccp_trunk (replace URL with the one pointing to the stable release)

change directory into the newly downloaded source.

./configure --enable-debug --enable-conference --disable-optimization

make && make install

Once installed do an amportal restart.
 

Jake

Active Member
Joined
Aug 27, 2010
Messages
418
Reaction score
81
I got it figured out. Thanks again for all your help.
 

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
A Quick update...

Version 4.1 is not really maintained anymore. The Chan-SCCP-B guys would like everyone to use the svn version...

Code:
svn co https://svn.code.sf.net/p/chan-sccp-b/code/trunk chan-sccp_trunk
cd chan-sccp_trunk
./configure
make && make install
 

tabbertmj

Member
Joined
Jul 23, 2008
Messages
176
Reaction score
0
Is there a way to get SCCP phones shown in the FreePBX Statistics? This is one thing I haven't been able to figure out.

After a suggestion from the chan_sccp group I tried changing the context line to:
context=from-internal-xfer

It still doesn't count it as a phone. Is there another setting I should look for?

freepbxstatistics.png
 

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
Is there a way to get SCCP phones shown in the FreePBX Statistics? This is one thing I haven't been able to figure out.

After a suggestion from the chan_sccp group I tried changing the context line to:
context=from-internal-xfer

It still doesn't count it as a phone. Is there another setting I should look for?

freepbxstatistics.png


There is no way to see the sccp phones in the free pbx GUI. The GUI only pulls info from the SIP and IAX channels. SCCP is not officially supported in FreePBX, do to the nature of the licensing needed to use SCCP.
 

RyC05

New Member
Joined
Jan 29, 2014
Messages
17
Reaction score
2
I've installed the version from svn, and followed all the instructions except the paging group stuff at the bottom. The Extensions page in FreePBX will not load, any ideas? I've restarted a few times
 

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
I've installed the version from svn, and followed all the instructions except the paging group stuff at the bottom. The Extensions page in FreePBX will not load, any ideas? I've restarted a few times


Did you add the custom code to add SCCP as a device type? If so, I'd start with removing that. It might not be compatible with the version of FreePBX that you are using.

Instead, when adding a SCCP extension, select other Device, and under dial options use "SCCP/(ext. number)". Ext. number being the extension that you are currently working on.
 

RyC05

New Member
Joined
Jan 29, 2014
Messages
17
Reaction score
2
That was it! I'm up and running with SCCP now! That wasn't too hard :) Certainly easier than SIP was lol. And it looks like my outstanding issues with the 7975 have been resolved!

I'm running the new PIAF 3.6.5 VM with FreePBX version 2.11.0.24. I also put "SCCP/(ext. number)" under "This device uses custom technology - dial" instead of "Asterisk Dial Options" just to be extra clear in case someone else comes across this.

Thanks so much for your help!
 

CJ Burchfield

New Member
Joined
Feb 27, 2014
Messages
1
Reaction score
2
I just want to note...After attempting to get chan_sccp working with my Cisco 7970 all day last week, THESE are the instructions that FINALLY made it work! I'm proud that I got it working, but I couldn't have done it without these instructions! Thanks a lot! I was going to pull my hair out and throw my 7970 out the window, until I happened upon your instructions. I was determined to make the phone work, because I got it at a steal! Thanks again!
 

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
My SCCP adventures continue. I upgraded my home phones to 7931g's. Paid $45 dollars each, and got free shipping! The cool thing about these phones are the 24 line keys that can be assigned. I've changed my dialplan because I now have all these buttons I can use on my phones.

I've created an inbound route in Freebpx for my home number, and used one extension as the destination. I've then assigned that extension as a line key to all my phones. I can now press "hold" on one phone and go to another phone and pickup the call. No more parking or"valet" parking... It's made a complex system more simple, and easier to use. I wish these phones were not EOL, and that they were licensed for use on asterisks.

Just waiting to get my hands on an IP communicator, so I can completely go SCCP. :)
 

ou812

Guru
Joined
Oct 18, 2007
Messages
479
Reaction score
79
Are you saying you have key system style set-up, is it because of SCCP or the 7931g phones, I ask cause if it's a feature of SCCP can we do this with other Cisco phones.

When you pickup the on hold call on another phone do you see the inbound caller id ?

gary
 

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
Hi Gary,

SCCP supports "shared lines", meaning that you can assign the same extension to multiple endpoints. So, you can emulate a key style system. However, if you try do that, you are limited on how many simultaneous calls your system can handle, like a key style system. What I did, was use the same extension for each incoming did, and assign that extension to every endpoint. This is for only incoming calls. When dialing out, the endpoint uses another extension, which is only assigned to itself. That way, you can intercom and page.

The 7931's are different from other cisco phones, in that they have a built in "side car". Each phone has 24 line keys, so it takes up less space than say a 7941+7915/16. That was the biggest reason I decided to go with these phones, besides price. Every extension in my house has a button assigned, so intercoming between rooms is much easier, and I still have 4 empty keys for expansion!

Riten
 
Joined
Mar 4, 2014
Messages
54
Reaction score
1
Hi, all! I'm at least 90% of the way home with my 7921G phone. I believe I have properly set up the modules and the files, but something is missing - the login information (extension/password)! On my SIP phones, that information is contained in SIP<mac>.cnf.xml. How do I fit this in to my SEP<mac>.cnf.xml file for my 7921G phone? Thanks!
 

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
SCCP uses mac addresses for authentication.

You need to configure your sccp.conf to add lines to your device.
 
Joined
Mar 4, 2014
Messages
54
Reaction score
1
You have my permission to smack me. Sorry.

7921g still doesn't want to register. Continuing to work on it.
 
Joined
Mar 4, 2014
Messages
54
Reaction score
1
No joy yet. Here are my config files. If any other config or log files would be helpful, please let me know. BTW This is a clean PIAF Green install. I have not added any other modules nor have I made any changes to iptables or anything else. Thanks!

SEPmac.cnf.xml
Code:
<device>
<devicePool>
<dateTimeSetting>
  <dateTemplate>M/D/YA</dateTemplate>
  <timeZone>Pacific Standard/Daylight Time</timeZone>
</dateTimeSetting>
  <callManagerGroup>
  <members>
    <member  priority="0">
    <callManager>
      <ports>
      <ethernetPhonePort>2000</ethernetPhonePort>
      </ports>
      <processNodeName>172.16.1.200</processNodeName>
    </callManager>
    </member>
  </members>
  </callManagerGroup>
</devicePool>
<versionStamp>{7921G Dec 17 2014 12:28:00}</versionStamp>
<loadInformation>CP7921G-1.4.6.3.LOADS</loadInformation>
<userLocale>
  <name>English_United_States</name>
  <langCode>en</langCode>
</userLocale>
<networkLocale>United_States</networkLocale>
<networkLocaleInfo>
  <name>United_States</name>
</networkLocaleInfo>
<networkLocale>United_States</networkLocale>
<idleTimeout>0</idleTimeout>
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<idleURL></idleURL>
<informationURL></informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL></servicesURL>
</device>
XMLDefault.cnf.xml
Code:
<device>
<devicePool>
<dateTimeSetting>
  <dateTemplate>M/D/YA</dateTemplate>
  <timeZone>Pacific Standard/Daylight Time</timeZone>
</dateTimeSetting>
  <callManagerGroup>
  <members>
    <member  priority="0">
    <callManager>
      <ports>
      <ethernetPhonePort>2000</ethernetPhonePort>
      </ports>
      <processNodeName>172.16.1.200</processNodeName>
    </callManager>
    </member>
  </members>
  </callManagerGroup>
</devicePool>
<versionStamp>{7921G Dec 17 2014 12:28:00}</versionStamp>
<loadInformation>CP7921G-1.4.6.3.LOADS</loadInformation>
<userLocale>
  <name>English_United_States</name>
  <langCode>en</langCode>
</userLocale>
<networkLocale>United_States</networkLocale>
<networkLocaleInfo>
  <name>United_States</name>
</networkLocaleInfo>
<networkLocale>United_States</networkLocale>
<idleTimeout>0</idleTimeout>
<authenticationURL></authenticationURL>
<directoryURL></directoryURL>
<idleURL></idleURL>
<informationURL></informationURL>
<messagesURL></messagesURL>
<proxyServerURL></proxyServerURL>
<servicesURL></servicesURL>
</device>
SCCP.conf
Code:
;=========================================================================================
;
; general definitions
;
;=========================================================================================
[general]
servername = FreePbxSCCP
keepalive = 60
debug = 1
context = from-internal-xfer
dateformat = M.D.YA
bindaddr = 0.0.0.0
port = 2000
disallow=all
allow=alaw
allow=ulaw
firstdigittimeout = 16
digittimeout = 2
autoanswer_ring_time = 1
autoanswer_tone = 0x32
remotehangup_tone = 0x32
transfer_tone = 0
callwaiting_tone = 0x2d
musicclass=default
language=en
deny=0.0.0.0/0.0.0.0
permit=172.16.0.0/255.255.252.0
dnd = on
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
private = on
callanswerorder=oldestfirst
hotline_enabled=yes                    ;can devices without configuration register
hotline_context=default                    ; context for hotline
hotline_extension=250                    ; extension will be dialed on offHook
 
;=========================================================================================
;
; include files
;
;=========================================================================================
#include sccp_hardware.conf
#include sccp_extensions.conf
sccp_extensions.conf
Code:
;=========================================================================================
;
; general definitions
;
;=========================================================================================
[general]
servername = FreePbxSCCP
keepalive = 60
debug = 1
context = from-internal-xfer
dateformat = M.D.YA
bindaddr = 0.0.0.0
port = 2000
disallow=all
allow=alaw
allow=ulaw
firstdigittimeout = 16
digittimeout = 2
autoanswer_ring_time = 1
autoanswer_tone = 0x32
remotehangup_tone = 0x32
transfer_tone = 0
callwaiting_tone = 0x2d
musicclass=default
language=en
deny=0.0.0.0/0.0.0.0
permit=172.16.0.0/255.255.252.0
dnd = on
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
private = on
callanswerorder=oldestfirst
hotline_enabled=yes                    ;can devices without configuration register
hotline_context=default                    ; context for hotline
hotline_extension=250                    ; extension will be dialed on offHook
 
;=========================================================================================
;
; include files
;
;=========================================================================================
#include sccp_hardware.conf
#include sccp_extensions.conf
sccp_hardware.conf
Code:
;=========================================================================================
;
; general definitions
;
;=========================================================================================
[general]
servername = FreePbxSCCP
keepalive = 60
debug = 1
context = from-internal-xfer
dateformat = M.D.YA
bindaddr = 0.0.0.0
port = 2000
disallow=all
allow=alaw
allow=ulaw
firstdigittimeout = 16
digittimeout = 2
autoanswer_ring_time = 1
autoanswer_tone = 0x32
remotehangup_tone = 0x32
transfer_tone = 0
callwaiting_tone = 0x2d
musicclass=default
language=en
deny=0.0.0.0/0.0.0.0
permit=172.16.0.0/255.255.252.0
dnd = on
sccp_tos = 0x68
sccp_cos = 4
audio_tos = 0xB8
audio_cos = 6
video_tos = 0x88
video_cos = 5
echocancel = on
silencesuppression = off
private = on
callanswerorder=oldestfirst
hotline_enabled=yes                    ;can devices without configuration register
hotline_context=default                    ; context for hotline
hotline_extension=250                    ; extension will be dialed on offHook
 
;=========================================================================================
;
; include files
;
;=========================================================================================
#include sccp_hardware.conf
#include sccp_extensions.conf
 

rjaiswal

Active Member
Joined
May 24, 2013
Messages
438
Reaction score
58
Your extensions and hardware confs are wrong. They should have extension info and device info. It looks like you just copied the sccp.conf into the extensions and hardware confs.
 
Status
Not open for further replies.

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top