chan_sccp on trixbox 2.4 (or 2.6?)

sirthomas
Posts: 62
Member Since:
2007-01-12

I bought myself another Cisco 7960 off of ebay (they are cool phones!) and I'm curious to play with chan_sccp with this one.

I noticed that with trixbox 2.4 the chan_sccp driver isn't available. Or at least, I wasn't able to find it. Could it be made available? Is it or will it be available for trixbox 2.6? I'd much appreciate if it could be made available!

THANKS!!

--

--
Tom -- sirthomas@gmail.com -- +1.320.310.0778 (enum enabled)



sirthomas
Posts: 62
Member Since:
2007-01-12
Got it working...

Found this website which was a lot of help: http://southbrain.com/south/2008/02/cisco-7960-and-asterisk-1417-...

To get chan_sccp_b working on my trixbox I did the following steps:

yum update
I updated from trixbox 2.4 to trixbox 2.6.0. I'm not sure I had to, but I couldn't figure out how to install asterisk-devel without updating and I wanted to try 2.6.0 anyway. After the upgrade process was finished and freepbx modules updated, things worked just fine.

yum install asterisk-devel gcc
In order to compile the chan_sccp_b driver I needed to have a compiler which is not installed by default on trixbox and the developement part of asterisk.

Then I just followed the instructions on that web page to get the driver compiled and installed. I had to make a few minor tweaks to their example config to get my phone working well with trixbox, but it wasn't hard.

A few things I like about SCCP:

I can onhook dial. With SIP I had to push a button or lift the handset before I could start dialing. Not needed with SCCP.
The DND button works and it right on the main screen!
I can monitor another extension using one of the six buttons on my 7960!
Plus, I answered "yes" to the PARK compile option which gives me a "Park Call" button that works nicely.

--

--
Tom -- sirthomas@gmail.com -- +1.320.310.0778 (enum enabled)



SkykingOH
Posts: 8081
Member Since:
2007-12-17
Hi, when you add an

Hi, when you add an extension is SCCP now available as a endpoint type or is it a custom type?

Do provision SCCP extensions in FreePBX or manually?

I am very interested in the chan_mgcp module, it integrates similar to chan_sccp.

Any information you could share would be appreciated.

--

Scott

aka "Skyking"



wtodd
Posts: 339
Member Since:
2007-04-29
its custom

Scott,

Youre going to use a custom in the dropdown extension menu to provision the sccp phone using freepbx.

There is come manual provisioning which also has to be done but you need to set it up as an extension too.

hope this is useful,
todd



sirthomas
Posts: 62
Member Since:
2007-01-12
I added my SCCP extension

I added my SCCP extension via FreePBX using the "Other (Custom) Device" and used "SCCP/2107" as the dial string. 2107 is the extension of my Cisco 7960 that is using the SCCP firmware.

There is someone who wrote a FreePBX addition/modification for SCCP, MGCP and H323. Info can be found here: http://www.trixbox.org/forums/trixbox-forums/trixbox-endpoints/h3...

I have not yet tried his FreePBX changes.

--

--
Tom -- sirthomas@gmail.com -- +1.320.310.0778 (enum enabled)



SkykingOH
Posts: 8081
Member Since:
2007-12-17
Thanks I have searched MGCP

Thanks I have searched MGCP ad nauseum and had not found that link.

If I get this pile of LG MGCP phones to provision on trix I will be one happy camper. We have had to buy back a bunch of them from a hosted Sylantro venture.

Regards....

Scott

--

Scott

aka "Skyking"



sirthomas
Posts: 62
Member Since:
2007-01-12
Where's the conf button?

I was showing off my Cisco 7960 running SCCP last night to my nephew who was interested in how it does conferencing since he doesn't like his SIP Cisco for conferencing calls.

We couldn't find a conference button!

I wonder if its an option like the DND button?

--

--
Tom -- sirthomas@gmail.com -- +1.320.310.0778 (enum enabled)



Mr. Doug
Posts: 31
Member Since:
2007-07-16
This is a lot of great info.

This is a lot of great info. I'm looking at converting some of my SIP 7960s to SCCP tomorrow...just to see. I can already tell that I'm going to like this more than SIP.

I'll be able to contribute at some point...right now, I'm having a great time learning here.



phonebuff
Posts: 445
Member Since:
2007-02-15
Thanks --

Tom,

Thanks for taking the time to document this... I may try it soon as I have a number of 7960/7970 users not happy with button placement and no way to change anythingin SIP. Although I may try the latest SIP first and then the this...

----------------------------

PS: 2.4.n to 2.6.n was just a yum update ?

----------------------------



sirthomas
Posts: 62
Member Since:
2007-01-12
2.4.x -> 2.6.x upgrade

Yes, the 2.4.x -> 2.6.x upgrade was simply just a "yum update". It worked super for me, however, my system is a simple home system with one phone line. Your mileage may vary. Make sure you do a backup before attempting.

--

--
Tom -- sirthomas@gmail.com -- +1.320.310.0778 (enum enabled)



Ricky Smith
Posts: 242
Member Since:
2007-06-05
Anyone have ideas for the

Anyone have ideas for the conference issue the manual says there should be a join button but I don't see one. You select the two calls then should press join but its not there. Maybe something needs to be added to the SCCP.conf?



ksDevGuy
Posts: 190
Member Since:
2006-06-01
Conference feature has not

Conference feature has not yet been implemented in CHAN-SCCP-B.

See my notes (at the end) on evaluating SCCP-CHAN-B currently with the 7960, 7960+7914 Sidecar & shortly 7970/71 under Asterisk v1.4

http://trixbox.org/forums/trixbox-forums/trixbox-endpoints/7971-7...

ksDevGuy



RichardRiga
Posts: 9
Member Since:
2008-02-04
How do we go about getting this feature?

I have quite a few 7971s that are outside of the LAN of the Trixbox.

I've spent days (and hair) trying to get them to work from my remote offices to the Trixbox. The only thing that works, is SCCP-B. Works well, actually, thus far. However, since we're a virtual company, not having the ability to conference/join is severely limiting.

I'd be willing to contribute (financially) to getting the conference/join features implemented in SCCP-B.

My question is: How do we go about enticing the writers/developers of such to implement?



SteveW
Posts: 33
Member Since:
2007-02-07
Conf chan-sccp-b

Hi,

If you grab the latest SVN version and then follow the setup and include the conf features you get access to the MeetMe style CCME conf option - no Barge or cBarge (as yet) but you can press conf (meetme) then dial a conf number say "10" then let other people know the conf number and they can join you there.

Works well and nearly as easy as CCME does it

Steve



RichardRiga
Posts: 9
Member Since:
2008-02-04
Thank you... however..

I'm trying to see how this applies, as I'm comparing the SIP JOIN/CONFERENCE feature to join two lines together (basic 3 party conference - phone + 2 lines).
I acquired these phones, but the majority of our phones are SIP Polycom phones with the Conf/Join options.



wauters
Posts: 61
Member Since:
2007-02-25
How do I get chan_sccp

How do I get chan_sccp installed? I downloaded a version and it errors and says can not find /usr/include

Can someone help?

Thanks



wauters
Posts: 61
Member Since:
2007-02-25
Ok, I have sccp installed, I

Ok, I have sccp installed, I think. I got my phone to a point where is is "Registering" and I can't get past that. I found a post somewhere that says to telnet to port 2000 and check but I get a message that telnet can't connect, what did I do wrong?



anchor85
Posts: 678
Member Since:
2006-06-07
chan-sccp

This is the page that helped me the most http://southbrain.com/south/2008/02/cisco-7960-and-asterisk-1417-...

You need to setup sccp.conf and setup custom extension numbers using SCCP/1234 as the DIAL setting where 1234 is the extension number. 1234 will then appear in the autologin for the phone under the device section and the id under the line section in sccp.conf.

In the asterisk CLI you can
sccp show devices
........ to see how the phones are configured
sccp show lines
........ to see how the lines are configured

module unload chan_sccp.so
module load chan_sccp.so

will unload and load i.e reload the sccp driver which you need to do everytime you edit the config file. Alternatively you can do an 'amportal restart'

If you are still stuck post your config.

--

John
Cat24.net



wauters
Posts: 61
Member Since:
2007-02-25
I followed the info on that

I followed the info on that southbrain website and still nothing. My phone just says registering. I can see the phone getting the xml file from the tftp server, and I can get to the phone via it's ip. I do not see anything when I do a sccp show devices or show lines. Thanks for the help.

Here are my configs:

sccp.conf

; (SCCP*)
;
; An implementation of Skinny Client Control Protocol (SCCP)
;
; Sergio Chersovani (mlists@c-net.it)
; http://chan-sccp.belios.de
;

[general]
keepalive = 30
context = default
dateFormat = D.M.Y ; date format
bindaddr = 192.168.3.236 ; interface to bind to
port = 2000 ; port to bind to (2000 = skinny)
debug = 4
accountcode=skinny ; 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 = 7961 ; my phone is a 7960
description = Cisco ; name appearing in the upper right
tzoffset = 0
autologin = 105 ; we have exten *1 and *6
speeddial = 600,Test
device => SEP0023049A2F95 ; This is the device Name (SEP+Mac)

[lines]
id = 105 ; Extension
label = 105 ; label on line button
description = Cisco Phone
context = default ; incoming call context
callwaiting = 1
incominglimit = 3 ; max 3 incoming calls
mailbox = 105@default ; corresponding voicemail box
vmnum = *97 ; extension to dial to access VoiceMailMain()
cid_name = John
cid_num = 105
line => 105

SepXXXXX.cfg.xml






2000
192.168.3.236




{Mar 01 2009 19:01:00}


English_United_States
en

United_States
0







SkykingOH
Posts: 8081
Member Since:
2007-12-17
Would you please edit your

Would you please edit your post and use the [code]tags[/code] so your post is legible?

--

Scott

aka "Skyking"



wauters
Posts: 61
Member Since:
2007-02-25
I am sorry, I have never

I am sorry, I have never done that in a post. I am not showing any devices when I do a sccp show devices in the asterisk cli or any lines. What did I miss here?



anchor85
Posts: 678
Member Since:
2006-06-07
SCCP config

If you look in /usr/lib/asterisk/modules can you find " chan_sccp.so " ? If you run

ls /usr/lib/asterisk/modules/chan_sccp*

this should give you an output like

/usr/lib/asterisk/modules/chan_sccp.so

If not your chan_sccp driver is not in the right place

Have you edited " /etc/asterisk/modules.conf " and inserted the lines

noload => chan_skinny.so
load => chan_sccp.so

then do an " amportal restart ". What do you get when, at the asterisk CLI you run " sccp show version "

--

John
Cat24.net



wauters
Posts: 61
Member Since:
2007-02-25
I did verify that

I did verify that chan_sccp.so is installed in the right place. I did make the changes to the modules.conf. The sccp show version shows

SCCP channel version: 785 (built by 'root' on 'Sun Mar  1 21:34:02 CST 2009')


momok
Posts: 1
Member Since:
2008-08-01
can't install chan_sccp-b_20090602

hi there. someone, please help me.

my sistem is trixbox CE release is 2.6.2.2
i can't install chan_sccp-b_20090602. i have done:

yum update
yum install asterisk-devel gcc
after i download chan_sccp-b_20090602 in /mnt/chan_sccp-b_20090602.tar.gz
gunzip chan_sccp-b_20090602.tar.gz
tar xzf chan_sccp-b_20090602.tar
cd chan_sccp-b_20090602
make

but it says "-bash: make: command not found"

any ideas?

p.s. sorry for my english



anchor85
Posts: 678
Member Since:
2006-06-07
install chan sccp

Most likely you have not installed make - so do

yum install make

--

John
Cat24.net



Mike2k
Posts: 3
Member Since:
2009-08-06
One step closer

I've been pulling my hair out on this one...
I went to sourceforge and downloaded the zip archive that sourceforge suggested.

This one doesn't work
I've tried it on several virtual machines and they all report errors. Pretty much like wauters described.

I downloaded this one: http://sourceforge.net/projects/chan-sccp-b/files/chan-sccp-b/v2-... which compiles nicely. I will be testing it tonight and keep y'all posted.

Well, no luck so far...
As soon as I copy to chan_sccp file to /usr/lib/asterisk/modules/ and I try to load it: module load chan_sccp.so, I get this error:

usr/sbin/safe_asterisk: line 148:  3112 Segmentation fault      (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >&/dev/${TTY} < /dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
Automatically restarting Asterisk.
mpg123: no process killed

And that just keeps on going....until I reboot the server...

Does anyone know what's wrong ?



SkykingOH
Posts: 8081
Member Since:
2007-12-17
Did you unload Channel

Did you unload Channel Skinny?

Do your headers match the Kernel Asterisk was built with?

It all has to match.

--

Scott

aka "Skyking"



Mike2k
Posts: 3
Member Since:
2009-08-06
Weird thing...

The weird thing is, that when I run make, it outputs the following:

make: svnversion: Command not found
Creating config file
====================
Checking Asterisk version...
 * found asterisk 1.4

While I'm sure I'm using Trix 2.8, which should be based on Asterisk 1.6.
Could that be the problem ?

Edit:
I will try my luck with Trix 2.6...

2nd edit:
Finally! I've been at this for days now...
SCCP channel Release: v2 - (built by 'root' on 'Fri Aug 7 01:05:31 CEST 2009')

So, it seems that the Channel SCCP does not work with Trix 2.8...

On to the next 'challenge'...



Mike2k
Posts: 3
Member Since:
2009-08-06
It's working...(sort of)

Well, I got it to work now...I've tested it with a Cisco 7911 phone and it's working! DND, park...loving it.
Then I took out the big gun...The Cisco 7961G phone...with the 7914 module...(unattached for now) and I got it to login and display the speeddial buttons and stuff...

However, I'm unable to receive or make calls with the phone...
I can see that it's registering fine by doing an "sccp show devices"

Will keep trying...



Vittorio88
Posts: 3
Member Since:
2009-08-08
trixbox 2.8

Hello I just jumped into the VOIP scene, and have successfully managed to deploy various Cisco 79xx's with trixbox 2.8.0.1 using SIP and a Sangoma card. I recently acquired a 7936 conference phone which is SCCP only, so I have been trying to install chan_sccp_20090110.tar and chan_sccp-b_20090602.tar.gz into trixbox 2.8, and found I couldn't. I even tried formatting it, and trying it off a fresh install to remove updates and software I installed, but it didn't work. As the matter of fact it broke my Asterisk. Asterisk gave errors regarding segmentation faults after restarting with amportal restart and I could not start it with anything. I had trouble removing chan_sccp so I simply reinstalled trixbox. I am pretty sure I am following all the steps correctly because I used several guides. Also when making the chan_sccp config file it states that it detects Asterisk 1.4 instead of 1.6. I have come to the same conclusion as Mike2k that trixbox 2.8 and chan_sccp are incompatible at least as of the versions I previously listed. Right now I am downloading trixbox 2.6 optimistic that it will make the conference phone work.

So here go a few questions:
Are there any possible workarounds to make trixbox 2.8 and chan_sccp compatible ?
If not is there any work in progress for it?
Am I really missing out on anything if I downgrade to trixbox 2.6 (security, performance, stability, xml services and/or directories for cisco phones, sangoma card)?
How do I uninstall chan_sccp?
Will chan_sccp run off any other distro of asterisk 1.6 or a pure asterisk installation?

I also wanted to thank all the people on the forums (especially this one) that ask and answer questions.

Vittorio



SkykingOH
Posts: 8081
Member Since:
2007-12-17
I assume you have been to

I assume you have been to chan_sccp.org and used the tarball that supports Asterisk 1.6

I do not know the condition of the headers in the 2.8 if they match the kernel and Asterisk, hopefully someone who has built Asterisk 1.6 can answer that. If you build chan_sccp against the wrong headers it will crash Asterisk. Reinstalling seems like a bunch of work but to each his own.

Quote:
Am I really missing out on anything if I downgrade to trixbox 2.6 (security, performance, stability, xml services and/or directories for cisco phones, sangoma card)?

I don't think you are loosing anything at all. Asterisk 1.6 has many new features however FreePBX does not support any new functionality in Asterisk 1.6 so none of the FreePBX based distributions offer a compelling reason to update. If you are trying to integrate to MS OCS you do get SIP TCP support.

Quote:
How do I uninstall chan_sccp?

Just delete the .so file from the Asterisk module directory and remove and references from modules.conf

Quote:
Will chan_sccp run off any other distro of asterisk 1.6 or a pure asterisk installation?

According to the chan_sccp site referenced above it works with 1.7 so it should work with any Asterisk 1.6.

--

Scott

aka "Skyking"



Vittorio88
Posts: 3
Member Since:
2009-08-08
thanks!

Thank you Skyking for your fast and detailed response. I have already downgraded to trixbox 2.6, and am working on getting the conference phone to talk to trixbox.

Vittorio



jquintana
Posts: 54
Member Since:
2008-12-13
I am following the

I am following the southbrain tutorial to install CHAN_SCCP drivers on my trixbox to use with one of my 7960 phones.

I have downloaded and extracted the files but when I run the
'make sh ./create_config.sh "/usr/include"' command as you suggest I get the following:

"make: svnversion: Command not found
make: *** No rule to make target 'sh'. Stop."

If I run "make" alone I get errors that look like this:

Free Image Hosting at www.ImageShack.us

QuickPost

I am new to trixbox, new to linux, new to voip, but an experienced Windows admin...

Any help is greatly appreciated!



jquintana
Posts: 54
Member Since:
2008-12-13
Well, I created a new

Well, I created a new trixbox VM last night just to see what would happen and it worked fine -- no idea why my old system doesn't work though. I may just use the new one since I only had the SIP trunks setup and 2 extensions...



theyollom
Posts: 15
Member Since:
2009-04-11
Segmentation fault (as above) - stuck

I havea few 7960 phones running fine on SIP - wanted to get call park and wanted to try chan_sccp-b (latest version). Compiled OK on Asterisk 2.8 but Asterisk failed on start up with the segmentation error mentioned durng this thread. Did the remove skinny procedure but could not get Asterisk to start with chan_sccp-b loaded. Can anyone help on this ? - Glad I did it in a VM rather than my home box - the Mrs would have killed me.

Any help appreciated



kd5uzz
Posts: 4
Member Since:
2009-09-19
I remember a post back a

I remember a post back a ways that mentioned that it was simply not compatible with that version of Asterisk. I did not see a resolution.



wauters
Posts: 61
Member Since:
2007-02-25
the sccp-b does not work on

the sccp-b does not work on the latest version of trixbox, with asterisk 1.6.0.10. When installing it see Asterisk as version 1.4 and then when loading the created sccp.so file asterisk fails to load.



hewfish
Posts: 3
Member Since:
2007-10-27
Asterisk 1.6x sccp does work

Just for the commenters above that are having issues compiling chan_sccp

rpm remove asterisk-dev it is the 1.4 headers and are incorrect. once removed run: yum install asterisk16-dev
after the correct headers are installed chan_sccp will compile and load correctly.



cdonovan
Posts: 2
Member Since:
2010-02-27
compiling with asterisk16-devel-1.6.0.22-1_trixbox

Sorry to repeat because I know I saw this mentioned somewhere, but I can't find it. I have installed 2.8 Trixbox today, downloaded chan_sccp from Sourceforge and installed asterisk16-devel and gcc-c++. Running my make, I get the following... I know that the 'svnversion' thing is not the issue, but see the end... I know that it means that something is missing but I am NOT a programmer.

make
make: svnversion: Command not found
Creating config file
====================
Checking Asterisk version...
* found asterisk 1.6
Build PARK functions (y/n)[n]?y
Build PICKUP functions (y/n)[n]?y
Build DIRTRFR functions (y/n)[n]?y
Build CONFERENCE test functions (y/n)[n]?y
Use realtime functionality (y/n)[n]?y
Build Direct RTP functions (y/n)[n]?y
Enable manager events (y/n)[n]?y
Debug SCCP indications (y/n)[n]?y
* found 'DEBUG_CHANNEL_LOCKS'
* found 'DEBUG_THREADS'
* found 'AST_SCHED_DEL'
* found 'void ast_rtp_new_source'
* no 'new frame structure'
* no 'sccp advanced features'
* found 'struct ast_channel_tech'
* found 'ast_bridged_channel'
* found 'struct ast_callerid'
* found 'AST_CONTROL_VIDUPDATE'
* found 'AST_CONTROL_T38'
* found 'AST_CONTROL_SRCUPDATE'
* found 'AST_MAX_CONTEXT'
* found 'MAX_MUSICCLASS'
* no 'AST_MAX_ACCOUNT_CODE'
* found 'AST_CONTROL_HOLD'
* found 'ast_config_load'
* found 'ast_copy_string'
* found 'AST_FLAG_MOH'
* found endian.h
* found strings.h
* found new ast_app_has_voicemail
* found new ast_get_hint
* found devicestate.h
* found AST_DEVICE_RINGING
* found AST_DEVICE_RINGINUSE
* found AST_DEVICE_ONHOLD
* found 'ast_group_t'
* found 'ast_app_separate_args'
* found AST_EXTENSION_ONHOLD
* found AST_EXTENSION_RINGING
* found ast_string_field_funcs
* found new ast_cli_generator definition
config.h complete.
[CC] chan_sccp.c -> chan_sccp.o 2165 lines
[CC] sccp_lock.c -> sccp_lock.o 183 lines
[CC] sccp_actions.c -> sccp_actions.o 2043 lines
[CC] sccp_channel.c -> sccp_channel.o 1889 lines
[CC] sccp_device.c -> sccp_device.o 1190 lines
[CC] sccp_line.c -> sccp_line.o 220 lines
[CC] sccp_utils.c -> sccp_utils.o 2217 lines
[CC] sccp_pbx.c -> sccp_pbx.o 1397 lines
sccp_pbx.c: In function âsccp_control2strâ:
sccp_pbx.c:588: error: âAST_CONTROL_T38â undeclared (first use in this function)
sccp_pbx.c:588: error: (Each undeclared identifier is reported only once
sccp_pbx.c:588: error: for each function it appears in.)
make: *** [.tmp/sccp_pbx.o] Error 1
[trixbox1.localdomain chan_sccp-b_20090602]#

Thanks...

trixme

--

trixme



cdonovan
Posts: 2
Member Since:
2010-02-27
asterisk16-devel-1.6.0.22-1_trixbox

Solved my own problem... Thought I'd share solution... Got this from an Asterisk 1.6 post...

Open 'sccp_pbx.c' with your favorite editor and change the line

#ifdef CS_AST_CONTROL_T38

to

#ifdef CS_AST_CONTROL_T38_PARAMETERS

Then recompiled no pronlem!!!

--

trixme



Vittorio88
Posts: 3
Member Since:
2009-08-08
Just checking in!

Hello cdonovan, I just wanted to know to confirm I was reading your post correctly.

You installed trixbox 2.8, followed by asterisk16-devel and gcc-c++.
Afterwards you installed chan_sccp (what version??????) and you get the svnversion error. You then changed a line in sccp_pbx.c.

This makes trixbox 2.8 work witch chan_sccp correct???

I don't remember encountering the svnversion error, if I remember correctly I simply could not get Asterisk to reinitialize after having installed chan_sccp.

I am currently running trixbox 2.6 with chan_sccp however I want to upgrade because I receive a strange error which informs me that my telephones are disconnected when I try to dial in to the trixbox through POTS (Sangoma card). I also can't dial out telling me all circuits are busy.
When this error happens ( once every other week or so) I check the server only to find it unresponsive, reboot, am prompted by a kernel panic message, and forced to reboot again until it boots properly. I would be satisfied simply by fixing the problem, but I am hoping a complete upgrade would also have it removed however I need chan_sccp functioning for the speakerphone to work properly.

Thanks in advance,
Vittorio



alexd74
Posts: 2
Member Since:
2010-06-17
one way audio when I change context

Hi all,
I am almost completely satisfied with my setup at the moment except that my remote extension (at home) is acting strange. When I dial an external number neither party can be heard. When I dial an internal extension, I can hear the other end but they cannot hear me. I changed the default context in sccp.conf in [general] and [lines] from 'sccp' to 'from-internal' and also tried 'default'. I had to do this to enable dialling out from the sccp extensions, otherwise I just got an engaged tone. With the contexts set to sccp, if I dial from a sip extension to the remote extension, audio works fine!? So I am assuming it has something to do with the contexts? Can anyone assist?
Here is part of my config:

[general]
servername = Asterisk ; show this name on the device registration
keepalive = 60 ; phone keep alive message evey 60 secs. Used to check the voicemail
debug = 1 ; console debug level. 1 => 10
context = from-internal
dateFormat = D/M/YA ; M-D-Y in any order. Use M/D/YA (for 12h format)
bindaddr = 192.168.0.153 ; replace with the ip address of the asterisk server (RTP important param)
port = 2000 ; listen on port 2000 (Skinny, default)
disallow=all ; First disallow all codecs
allow=alaw ; Allow codecs in order of preference
allow=ulaw ;
allow=g729 ;

firstdigittimeout = 16 ; dialing timeout for the 1st digit
digittimeout = 4 ; more digits
digittimeoutchar = # ; you can force the channel to dial with this char in the dialing state
autoanswer_ring_time = 1 ; ringing time in seconds for the autoanswer, the default is 0
autoanswer_tone = 0x32 ; autoanswer confirmation tone. For a complete list of tones: grep SKINNY_TONE sccp_protocol.h
; not all the tones can be played in a connected state, so you have to try.
remotehangup_tone = 0x32 ; passive hangup notification. 0 for none
transfer_tone = 0 ; confirmation tone on transfer. Works only between SCCP devices
callwaiting_tone = 0x2d ; sets to 0 to disable the callwaiting tone
musicclass=default ; Sets the default music on hold class
language=en ; Default language setting
;callevents=no ; generate manager events when phone
; performs events (e.g. hold)
;accountcode=skinny ; accountcode to ease billing
;deny=0.0.0.0/0.0.0.0 ; Deny every address except for the only one allowed.
;permit=192.168.0.0/255.255.255.0 ; Accept class C 192.168.1.0
; You may have multiple rules for masking traffic.
; Rules are processed from the first to the last.
; This General rule is valid for all incoming connections. It's the 1st filter.

;localnet = 192.168.0.0/255.255.255.0 ; All RFC 1918 addresses are local networks
externip = xxxxxxxxxxxxx ; IP Address that we're going to notify in RTP media stream
;externhost = mydomain.dyndns.org ; Hostname (if dynamic) that we're going to notify in RTP media stream
; externrefresh = 60 ; expire time in seconds for the hostname (dns resolution)
dnd = on ; turn on the dnd softkey for all devices. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent)
echocancel = on ; sets the phone echocancel for all devices
silencesuppression = off ; sets the silence suppression for all devices
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for all lines
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for all lines
;amaflags = ; Sets the default AMA flag code stored in the CDR record
trustphoneip = no ; The phone has a ip address. It could be private, so if the phone is behind NAT
; we don't have to trust the phone ip address, but the ip address of the connection
;tos = 0x68 ; call control packets tos (0x68 Assured forwarding) [ASTERISK 1.2 only]
;rtptos = 0xB8 ; call rtp packets tos (0xB8 E.F.) [ASTERISK 1.2 only]
tos_sccp = cs3 ; default signaling TOS [ASTERISK 1.4 and above]
tos_audio = ef ; default audio TOS [ASTERISK 1.4 and above]
tos_video = af41 ; default video TOS [ASTERISK 1.4 and above]
cos_sccp = 3 ; default signaling COS [ASTERISK 1.6 and above]
cos_audio = 5 ; default audio COS [ASTERISK 1.6 and above]
cos_video = 4 ; default video COS [ASTERISK 1.6 and above]

;earlyrtp = none ; valid options: none, offhook, dial, ringout. default is none.
; The audio strem will be open in the progress and connected state.
private = on ; permit the private function softkey
privacy = full ; full = disable hints notification on devices, on = hints showed depending on private key, off = hints always showed
mwilamp = on ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
mwioncall = off ; Set the MWI on call.
;blindtransferindication = ring ; moh or ring. the blind transfer should ring the caller or just play music on hold
;protocolversion = 3 ; skinny version protocol. Just for testing. 0 to 11
;cfwdall = off ; activate the callforward ALL stuff and softkeys
;cfwdbusy = off ; activate the callforward BUSY stuff and softkeys
;cfwdnoanswer = off ; activate the callforward NOANSWER stuff and softkeys
;devicetable=sccpdevice ;datebasetable for devices
;linetable=sccpline ;datebasetable for lines
;nat=on ; Global NAT support (default Off)
;directrtp=on ; This option allow devices to do direct RTP sessions (default Off)
;allowoverlap=on ; Enable overlap dialing support. (Default is off)
;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
;jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of a
; sccp channel. Defaults to "no". An enabled jitterbuffer will
; be used only if the sending side can create and the receiving
; side can not accept jitter. The sccp channel can accept
; jitter, thus a jitterbuffer on the receive sccp side will be
; used only if it is forced and enabled.

;jbforce = no ; Forces the use of a jitterbuffer on the receive side of a sccp
; channel. Defaults to "no".

;jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.

;jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
; resynchronized. Useful to improve the quality of the voice, with
; big jumps in/broken timestamps, usually sent from exotic devices
; and programs. Defaults to 1000.

;jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of a
; sccp channel. Two implementations are currently available
; - "fixed" (with size always equals to jbmaxsize)
; - "adaptive" (with variable size, actually the new jb of IAX2).
; Defaults to fixed.

;jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
;-----------------------------------------------------------------------------------

[devices]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
type = 7971 ; device type (see below)
autologin = 219 ; lines list. You can add an empty line for an empty button (7960, 7970, 7940, 7920)
description = Alex ; internal description. Not important
;keepalive = 60 ; set 0 to disable the keepalive check.
;tzoffset = +2
transfer = on ; enable or disable the transfer capability. It does remove the transfer softkey
park = on ; take a look to the compile howto. Park stuff is not compiled by default
;speeddial = ; you can add an empty speedial if you want an empty button (7960, 7970, 7920)
;speeddial = 1000,name ; speeddial number and name
speeddial = 200,Reception,200@default ; Number, Name (label), BLF Hint
speeddial = 201,Rohan,201@default ; Number, Name (label), BLF Hint
speeddial = 203,Maz,203@default ; Number, Name (label), BLF Hint
speeddial = 204,Prepress,204@default ; Number, Name (label), BLF Hint
speeddial = 208,Warehouse,209@default ; Number, Name (label), BLF Hint
speeddial = 209,Production,209@default ; Number, Name (label), BLF Hint
speeddial = 207,Digital,207@default ; Number, Name (label), BLF Hint
;serviceURL = ServiceURL1
;rtptos = 184 ; sets the default rtp packets TOS [ASTERISK 1.2 only]
tos_sccp = cs3 ; default signaling TOS [ASTERISK 1.4 and above]
tos_audio = ef ; default audio TOS [ASTERISK 1.4 and above]
tos_video = af41 ; default video TOS [ASTERISK 1.4 and above]
cos_sccp = 3 ; default signaling COS [ASTERISK 1.6 and above]
cos_audio = 5 ; default audio COS [ASTERISK 1.6 and above]
cos_video = 4 ; default video COS [ASTERISK 1.6 and above]
cfwdall = off ; activate the callforward stuff and softkeys
cfwdbusy = off
cfwdnoanswer = off
pickupexten = off ; enable Pickup function to direct pickup an extension
;pickupcontext = sccp ; context where direct pickup search for extensions. if not set it will be ignored.
pickupmodeanswer = on ; on = asterisk way, the call has been answered when picked up
; off = call manager way, the phone who picked up the call rings the call
dtmfmode = inband ; inband or outofband. outofband is the native cisco dtmf tone play.
; Some phone model does not play dtmf tones while connected (bug?), so the default is inband
imageversion = P00405000700 ; useful to upgrade old firmwares (the ones that do not load *.xml from the tftp server)
;deny=0.0.0.0/0.0.0.0 ; Same as general
;permit=192.168.1.5/255.255.255.255 ; This device can register only using this ip address
dnd = on ; turn on the dnd softkey for this device. Valid values are "off", "on" (busy signal), "reject" (busy signal), "silent" (ringer = silent) or user to toggle on phone
trustphoneip = no ; The phone has a ip address. It could be private, so if the phone is behind NAT
; we don't have to trust the phone ip address, but the ip address of the connection
;nat=on ; Device NAT support (default Off)
;directrtp=on ; This option allow devices to do direct RTP sessions (default Off)
;earlyrtp = none ; valid options: none, offhook, dial, ringout. default is none.
; The audio strem will be open in the progress and connected state.
private = on ; permit the private function softkey for this device
privacy = full ; full = disable hints notification on devices, on = hints showed depending on private key, off = hints always showed
mwilamp = on ; Set the MWI lamp style when MWI active to on, off, wink, flash or blink
mwioncall = off ; Set the MWI on call.
;setvar=testvar=value
device => xxxxxxxxxxxx ; device name SEP
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[lines]

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
id = 219 ; future use
pin = 1234 ; future use
label = Extension 219 ; button line label (7960, 7970, 7940, 7920)
description = Alex ; top diplay description
context = from-internal
incominglimit = 2 ; more than 1 incoming call = call waiting.
transfer = on ; per line transfer capability. on, off, 1, 0
mailbox = 219@default ; voicemail.conf (syntax: vmbox[@context][:folder])
vmnum = *97 ; speeddial for voicemail administration, just a number to dial
meetmenum = 700 ; this extension will receive meetme requests, SCCP_MEETME_ROOM channel variable will
; contain the room number dialed into simpleswitch.
cid_name = Alex ; caller id name
cid_num = 219
trnsfvm = 1000 ; extension to redirect the caller (e.g for voicemail)
secondary_dialtone_digits = 9 ; digits for the secondary dialtone (max 9 digits)
secondary_dialtone_tone = 0x22 ; outside dialtone
musicclass=default ; Sets the default music on hold class
language=en ; Default language setting
;accountcode=79501 ; accountcode to ease billing
echocancel = on ; sets the phone echocancel for this line
silencesuppression = off ; sets the silence suppression for this line
;callgroup=1,3-4 ; We are in caller groups 1,3,4. Valid for this line
;pickupgroup=1,3-5 ; We can do call pick-p for call group 1,3,4,5. Valid for this line
;amaflags = ; Sets the default AMA flag code stored in the CDR record for this line
;setvar=testvar2=value
line => 219
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Thanks,
Alex.



alexd74
Posts: 2
Member Since:
2010-06-17
Fixed it

Hi all,
Just letting you all know I sorted the issue by trial and error. I changed and uncommented a couple of lines (not sure which one was the culprit) in the [devices] section for my remote extension. Changed from above to:

trustphoneip = yes ; The phone has a ip address. It could be private, so if the phone is behind NAT
; we don't have to trust the phone ip address, but the ip address of the connection
nat=on ; Device NAT support (default Off)
directrtp=on ; This option allow devices to do direct RTP sessions (default Off)
earlyrtp = offhook ; valid options: none, offhook, dial, ringout. default is none

Hope it helps someone else!



mulderlr
Posts: 13
Member Since:
2007-09-19
@alexd74 how about conferencing?

does confrn softkey working with your chan_sccp setup on trixbox ce?

-Larry

MulderLR



Comment viewing options

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