Remco Barende
2004-Nov-17 12:21 UTC
[Asterisk-Users] chan-sccp problem, phone is not registering
Hi list! I'm trying to configure the Kirk IP 600 wireless (DECT) system. The wireless phones are regular DECT phones, the Kirk IP 600 is doing the voip part by registering/gatewaying the phones to a callmanager server. The phones do not work and I think the problem is that they do not register at asterisk but I'm not sure because I don't understand a thing of the sccp/skinny protocol. The manual of the IP600 describes the setup with call manager and claims compatibility with the Cisco 7940 phone: http://www.kirktelecom.com/KIRK%20System%20600%20IP%20Users%20Guide%201.2.pdf The manual states that 'the wireless system supports automatic registration' in the paragraph about registration of the users on the callmanager. Here's my setup: First I disabled skinny by putting noload=chan_skinny.so in /etc/asterisk/modules.conf I switched from using skinny to chan_sccp from: http://chan-sccp.sourceforge.net/ here's my sccp.conf file: [general] keepalive = 5 context = default dateFormat = D-M-Y bindaddr = 10.10.0.1 port = 2000 [SEP000770735049] description = Z4040 type = 7940 context = intern autologin = 105 [105] id = 105 label = Z4040 callwaiting = 0 mailbox = 199 callerid = 105 In extensions.conf: exten => 105,1,Dial(SCCP/105,30,tr) exten => 105,2,Playback(invalid) exten => 105,3,Hangup exten => 105,102,Voicemail(199) exten => 105,103,Hangup At startup asterisk shows in the log : Nov 17 20:02:13 NOTICE[16384]: SCCP channel driver up and running on 10.10.0.1:2000 Nov 17 20:02:13 NOTICE[16384]: SCCP listening on 10.10.0.1:2000 Which hopefully means that SCCP is working There are no messages in the log other than: Nov 17 20:10:20 NOTICE[229390]: Alarm Message: Severity: 2, Name=SEP000770735049 [0/1711278602] Nov 17 20:10:20 WARNING[229390]: Client sent IpPortMessage without first registering. Is this an error in my asterisk config or is there something wrong with my config on the Kirk IP600?? Any help / input greatly appreciated.
Remco Barende
2004-Nov-18 02:27 UTC
[Asterisk-Users] chan-sccp problem, phone is not registering
>> The manual states that 'the wireless system supports automatic >> registration' in the paragraph about registration of the users on the >> callmanager. > >> [105] >> id = 105 >> label = Z4040 >> callwaiting = 0 >> mailbox = 199 >> callerid = 105 > If you're using CVS asterisk & chan_sccp that's no longer a valid caller > id, see the example sccp.conf for more infoI am running Gentoo and have installed Asterisk 1.0.2 from the ebuild (not using the CVS version). I installed the chan_sccp from the latest available cvs version on the sourceforge page and the sccp.conf it installed says: ;[richard] ;id = 1002 ;pin = 1234 What would be the correct (new) syntax for id = ? I will change it just to be sure>> At startup asterisk shows in the log : >> Nov 17 20:02:13 NOTICE[16384]: SCCP channel driver up and running on >> 10.10.0.1:2000 >> Nov 17 20:02:13 NOTICE[16384]: SCCP listening on 10.10.0.1:2000 > Does the server have more then 1 IP? > Is the DECT system on the same subnet as the server?The system has 2 IP's but the IP 600 is on the local subnet (it has IP 10.10.0.102)>> There are no messages in the log other than: >> Nov 17 20:10:20 NOTICE[229390]: Alarm Message: Severity: 2, >> Name=SEP000770735049 [0/1711278602] >> Nov 17 20:10:20 WARNING[229390]: Client sent IpPortMessage without first >> registering. > >> Is this an error in my asterisk config or is there something wrong with my >> config on the Kirk IP600?? > According to what I can find on the protocol (which isn't much, cisco > are assholes about relasing info) the problem is in the IP600, what > cofig options are there on the skinny page. > > Also was asterisk fully up and rtunning when the IP600 was turned on?Yes, in fact I am using it with SIP phones for some time already, I just wanted to add the Kirk IP 600 to the system.> > Thanks, > Julien > chan_sccp deveoperWhich of sccp package are you working on? I'm a bit lost with the different versions of sccp/skinny. There's ZoZo's version : http://zozo.org.uk/content/sccp Jan Czmok's version : http://chan-sccp.sourceforge.net/ Skinny as built-in in Asterisk And I couldn't find any page that describes the differences between the various packages/forks. I tried Jan Czmok's version because his page states that 80% of the Cisco 7940 phone's features are supported and the IP 600 seems to behave as a 7940's. Thanks!! Remco
Remco Barende
2004-Dec-01 12:18 UTC
[Asterisk-Users] chan-sccp problem, phone is not registering
Hi list! I get the idea that I am missing something basic. My Cisco 7940 seems to be auto registering fine when I use built-in skinny that comes with * but when I use chan_sccp I only get errors that the phone is sending packes with registering first. Firstly about installing chan_sccp. I installed asterisk through the gentoo ebuild for it, that's working fine. To compile chan_sccp I downloaded the asterisk 1.0.2 source and unpacked it in /tmp as a result I now have a dir /tmp-asterisk-1.0.2 This is only the root of the sources, there are no binaries there since I didn't use the tarball to install asterisk and also I did not run any ./configure Make or whatever script/ Then I download chan_sccp and untar it so I have /tmp/chan_sccp now. I edited the Makefile to show: ASTERISK_SOURCE=/tmp/asterisk-1.0.2 The output of make & make install: chan_sccp # make Now compiling .... chan_sccp.c 709 lines Now compiling .... sccp_actions.c 743 lines Now compiling .... sccp_channel.c 279 lines Now compiling .... sccp_device.c 642 lines Now compiling .... sccp_line.c 61 lines Now compiling .... sccp_helper.c 70 lines Now compiling .... sccp_pbx.c 574 lines Now compiling .... sccp_cli.c 375 lines Now compiling .... sccp_softkeys.c 225 lines Now compiling .... sccp_sched.c 75 lines Now compiling .... sccp_socket.c 315 lines Linking chan_sccp.so chan_sccp # make install Now Installing chan_sccp.so Chan_sccp is now installed Remember to disable chan_skinny by adding the following line to /etc/asterisk/modules.conf: noload => chan_skinny.so Is the output of compile correct? How can I verify the compile went ok? Is there any way I could debug or log all the communication between the phone and chan_sccp (all the communication back and forth to see why the phone is not registering? I already checked my config file, I think they are correct and I did specify no load in modules for the appropriate modules (skinny/chan_sccp): this is my skinny.conf: [general] port = 2000 ; Port to bind to, default tcp/2000 bindaddr = 10.10.0.1 ; Address to bind to dateFormat = M-D-Y ; M,D,Y in any order (5 chars max) keepAlive = 120 [z4040] device=SEP000000000000 (number anonimized) nat=0 callerid="z4040" <105> callwaiting=0 mailbox=199 ;transfer=1 context=intern linelabel="Line 1" line => 105 callerid="z4040" <105> context=intern this is my sccp.conf: [general] keepalive = 5 context = default dateFormat = D-M-Y bindaddr = 10.10.0.1 port = 2000 [SEP000000000000] description = Z4040 type = 7940 context = intern autologin = remco [remco] id = 105 label = Remco callwaiting = 0 mailbox = 199 callerid = "Remco", <105> Thanks!!
Remco Barende
2005-Jan-02 11:05 UTC
[Asterisk-Users] chan-sccp problem, phone is not registering
Afraid not (yet). I contacted the maintainer of chan_sccp (Jan Czmok) and I sent him 2 tcpdump files one with the skinny and succesfull registration and the other with chan_sccp. This was just before x-mas though and I haven't received a reply yet, probably due to the holidays. The IP600 will register when using skinny that is built-in in asterisk and you can place outgoing calls. Incoming calls is a different story however. It will not work because the Kirk IP600 is waiting for a signal (STATION_CALLINFO) and it will refise to pass the call to the handset if this is missing. You can see the call coming in but it just times out on the ip600 waiting for STATION_CALLINFO. The IP600 emulate a Cisco 7940 phone and it seems that the original Cisco does ring without this STATION_CALLINFO. Kirk support replied to me that they may consider changing this behaviour if there is demand from the market from it. Please contact Kirk support too with this request from your end too. Please also contact the company you bought the IP600 from requesting the same. I now have a pile of (very expensive) useless equipment. The ip600 does seem to work in H323 mode but you cannot transfer calls. (And looking through the wiki you have to do 100,000 things to set-up H323, the worst being the gatekeeper installation it seems.) If you have any luck getting it to work with chan_sccp please let me know. Pozdrav iz Amsterdam! On Sun, 2 Jan 2005, Niksa Baldun wrote:> Hello, > > I have seen your post about using kirk IP600 with asterisk. As I am having > the exact same problems, I was wondering if you found any solution. > > Thanks, > > Niksa > >