I was curious to know if anyone has had any luck getting Cisco phones
working with Asterisk and chan_skinny? Specifically, a Cisco 7920.
If a SIP firmware was available, I’d just use that. It works fine
with chan_sccp and 1.6, but my understanding is that chan_sccp does
not work with 1.8 yet. My workaround for the moment is a 1.6 VM tied
via IAX to my 1.8 box. This will work for now, but it’s a lot uglier
than I prefer. Thanks for your help.
No one? If anyone has gotten chan_skinny to work at all with 1.8, I’d appreciate seeing your chan_skinny.conf. Even if it’s for a different phone, I would welcome the example.
I have Asterisk 1.8.2.3 sort of working with a pair of 7920’s.
I can call any extension from one of the 7920’s except the other 7920, and it works fine. This means I can call out on IAX and jabber trunks, I can call other SIP extensions in the house and services like music on hold and the echotest all work fine.
If I call one 7920 to the other, the other one rings, but when you answer it, it reports call manager down, and for extra excitement, asterisk -r kicks you out, which is something I have never seen before. Oddly enough, after some playing around, calling one to the other works every once in a while.
Here is a snap of my skinny.conf file:
[general]
bindaddr=192.168.1.201 ; Address to bind to
bindport=2000 ; Port to bind to, default tcp/2000
dateformat=M-D-Y ; M,D,Y in any order (6 chars max)
keepalive=120
[lines]
[245]
callerid=“Matthew” <22>
mailbox=1
context=sip-phones
; button on 7940’s and 7960s
[255]
callerid=“Julie” <33>
mailbox=1
context=sip-phones
[devices]
[22]
device=SEP001794ca####
line=245
context=sip-phones
[23]
device=SEP001794ca####
line=255
context=sip-phones
Here is what my extensions.con file looks like for these two:
exten => 22,1,Dial(Skinny/245,20,r); 7920 Cordless
exten => 33,1,Dial(Skinny/255,20,r); 7920 Cordless
This is what I get on a 7920 to 7920 call:
*CLI>
callreference in handle_stimulus_message is ‘0’
[Feb 20 10:26:52] WARNING[23032]: chan_skinny.c:1673 find_subchannel_by_instance_reference: Could not find subchannel with reference ‘0’ on '22’
Received Stimulus: Line(1/0)
Setting ringer mode to ‘1’.
skinny_new: tmp->nativeformats=0xc (ulaw|alaw) fmt=ulaw
Clearing Display
== Found device: 22
– Starting simple switch on '245@22’
Collected digit: [3]
– Asked to indicate ‘Stop tone’ condition on channel Skinny/245@22-1
Collected digit: [3]
– Executing [33@sip-phones:1] Dial(“Skinny/245@22-1”, “Skinny/255,20,r”) in new stack
– skinny_request(255)
skinny_new: tmp->nativeformats=0xc (ulaw|alaw) fmt=ulaw
skinny_get_rtp_peer() Channel = Skinny/255@23-2
skinny_get_rtp_peer() Channel = Skinny/245@22-1
skinny_get_rtp_peer() Using AST_RTP_GLUE_RESULT_LOCAL
– skinny_call(Skinny/255@23-2)
Displaying Prompt Status 'Ring-In’
Setting Callinfo to Matthew(22) from Julie(33) on 23(1)
Setting ringer mode to ‘2’.
– Called 255
– Asked to indicate ‘Remote end is ringing’ condition on channel Skinny/245@22-1
Displaying Prompt Status 'Ring Out’
Setting Callinfo to Matthew(22) from 33(33) on 22(1)
– Skinny/255@23-2 is ringing
– Asked to indicate ‘Remote end is ringing’ condition on channel Skinny/245@22-1
Displaying Prompt Status 'Ring Out’
Setting Callinfo to Matthew(22) from 33(33) on 22(1)
== Found device: 22
== Found device: 23
Received Open Receive Channel Ack
device ipaddr = 192.168.1.158:29102
asterisk ipaddr = 192.168.1.201:20078
Setting payloadType to ‘ulaw’ (20 ms)
Received Softkey Event: Answer(1/2)
Setting ringer mode to ‘1’.
– Skinny/255@23-2 answered Skinny/245@22-1
– Asked to indicate ‘Stop tone’ condition on channel Skinny/245@22-1
skinny_answer(Skinny/245@22-1) on 245@22-1
Setting Callinfo to (33) from 33(33) on 22(1)
Displaying Prompt Status ‘Connected’
– Asked to indicate ‘Stop tone’ condition on channel Skinny/245@22-1
– Asked to indicate ‘Media Source Update’ condition on channel Skinny/245@22-1
*CLI>
Disconnected from Asterisk server
The phones at this point in time report “Call Manager Down” and hang like they are still in the call.
I have to admit that I am not very sure of the innards of skinny.conf and the lines and device fields. It is very possible I am doing something silly here. Any thoughts would be appreciated.
–Matthew