chan_skinny

A few months ago I got asterisk to work with about 10 of my cisco VIP 30 and 12 SP phones. Now when I try it with the newest cvs version after pushing a few buttons on the phone asterisk gets a segmentation fault.

Does anyone know what to do?

Did you recompile the skinny channel driver with the new asterisk code?

Yes I did. Unless there is a special procedure to re-compile the skinny driver that I do not know about.

Do you think having the athlon 64 bit processor could have anything to do with this. I know that this has caused problems in the past with getting programs to compile but they never compiled and had strange results.

I am running 2 30VIP phones, on 2 different asterisk boxes. If you want to post your skinny.conf, I would be happy to look at it. I can put mine up if you want.

I am running Asterisk CVS-HEAD-03/11/05-12:21:38 and it is running well.

;
; Skinny Configuration for Asterisk
;
[general]
port = 2000 ; Port to bind to, default tcp/2000
bindaddr = 0.0.0.0(put you asterisk box ip here) ; Address to bind to
dateFormat = M/D/Y ; M,D,Y in any order (5 chars max)
keepAlive = 120

; allow = all
; disallow =

[vip257]
device=SEPput your mac here
version=F3.1(0.3)
context=from-vip30
line => 100
model=30VIP
; callwaiting=1
;disallow=all
;allow=ulaw
; mailbox=0929@asterisk

Then in my extensions.conf…
;this is a little context hack to add cid
; VIP phone outbound cid hack per dan //dh 3-21-05
[from-vip30]
exten => _X.,1,SetCallerID(Dan @ OSU <0257>)
exten => _X.,2,Goto(from-internal,${EXTEN},1)

; ##################
; Extension contexts
; ##################

[ext-internal]

; Skinny phone for chan_skinny - //dh 3-22-05
exten => 0257,1,NoOp
exten => 0257,2,Dial(Skinny/100@vip257,60)
exten => 0257,3,Congestion
exten => 0257,103,Busy

Hope this helps.
-Dan

Here is my skinny.conf I have just done a test with one phone to see if it would work.
I would like it if you posted your skinny.conf

;
; Skinny Configuration for Asterisk
;
[general]
port = 2000 ; Port to bind to, default tcp/2000
bindaddr = 10.0.0.3 ; Address to bind to
dateFormat = M-D-Y ; M,D,Y in any order (5 chars max)
keepAlive = 120

; allow = all
; disallow =

; Typical config for 12SP+
[florian]
device=SEP…
version=P002F202 ; Thanks critch
context=demo
line => 120 ; Dial(Skinny/120@florian)

; Typical config for a 7910
;[duba] ; Device name
;device=SEP0007EB463101 ; Offical identifier
;version=P002F202 ; Firmware version identifier
;host=192.168.1.144 ;
;permit=192.168.0/24 ; Optional, used for authentication
;nat=0
;callerid=“George W. Bush” <202-456-1414>
;mailbox=500
;callwaiting=1
;transfer=1
;threewaycalling=1
;context=default
;line => 500 ; Dial(Skinny/500@duba)

; Typical config for a 7940 / ATA
;[support]
;device=SEP0007EB463121
;nat=0
;callerid=“Customer Support” <810-234-1212>
;mailbox=100
;context=inbound
;linelabel=“Support Line” ; Displays next to the line button on 7940’s and 7960s
;line => 100
;callerid=“John Chambers” <408-526-4000>
;context=did
;linelabel=“John”
;mailbox=110
;line => 110

NOTE: I pressed other buttons as well as 0

*CLI> – Starting Skinny session from 10.0.0.146
Device XXXXXXXXXXX is attempting to register
– Device ‘florian’ successfuly registered
Requesting capabilities
Version Request
Received CapabilitiesRes
Buttontemplate requested
Sending default template to 120@florian ()
Received Time/Date Request
Checking for voicemail Skinny 120@florian
Collected digit: [0]
No owner: 120
Attempting to Clear display on Skinny 120@florian
– Starting simple switch on '120@florian’
Collected digit: [0]
Apr 26 03:43:36 WARNING[11242]: chan_skinny.c:1633 skinny_ss: Can’t match [0] from ‘’ in context demo
Skinny 120@florian went on hook
Checking for voicemail Skinny 120@florian
Collected digit: [0]
Skinny 120@florian went on hook
Checking for voicemail Skinny 120@florian
Skinny 120@florian went on hook
Checking for voicemail Skinny 120@florian
Skinny 120@florian went on hook
Checking for voicemail Skinny 120@florian
skinny_hangup(Skinny/120@florian-2) on 120@florian
Segmentation fault

You are almost there. You should look at my configs and model yours after mine. You need to make sure you have the right entries in your extensions.conf file. Take another stab at it. If that fails, you can email me your extensions.conf and skinny.conf and I can write something for you.

-Dan

Thanks for all your help.

I managed to fix the problem. The problem had to do with the shared libraries on my machine. :blush:

Hello 8)
30vip works fine with asterisk, support all the functions?

:arrow_right: is possible view the state of lines :question:

:arrow_right: is possible have a mix of phones (some 30vip, others cisco, and maybe others without problems)

thanks :bulb: