Chan_skinny issue


#1

Hi.

It’s my first post there.
I’ve a problem with Asterisk version 1.8.5.0.
When i try to launch the cmd: skinny show devices, there’s no result on the list (why not, maybe a config issue !
Result:

CLI> skinny show devices Name DeviceId IP Type R NL -------------------- ---------------- --------------- --------------- - --
Ok

But if i try again, i can put any command on the console.

[quote]CLI> reload
CLI> that’s all [/quote]
Every commands launched are not executed.

The problem is this:

[code]top - 19:57:46 up 40 min, 2 users, load average: 0.20, 0.13, 0.10
Tasks: 149 total, 1 running, 148 sleeping, 0 stopped, 0 zombie
Cpu(s): 6.1%us, 0.4%sy, 0.0%ni, 92.2%id, 1.2%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1024236k total, 371756k used, 652480k free, 17788k buffers
Swap: 2064376k total, 0k used, 2064376k free, 215432k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3994 asterisk 18 0 35520 16m 7428 S 98.4 1.6 0:07.89 asterisk[/code]

%CPU going up to 98% or 100.1% !!!
I tried to update Asterisk on 1.8.6.0.RC3, but same problem.
Today, chan_skinny is the only one channel to running every Cisco phone on 1.8.x, but i can’t use it.

I think at a bug.
What do you think about that?

Regards

Franck


#2

Run under the debugger and get backtraces. Make sure you have an unoptimised build, as you will need that to submit a bug report. You may have a normal deadlock as well as the loop, so you should actually follow the deadlock debugging procedures, as well.

Details can be found by googling for “asterisk wiki backtrace”.

Note that relatively few people use Skinny. Most people with Cisco phone load SIP firmware. As a result Skinny is always likely to lack features and be buggy compared with SIP.


#3

Sorry already find the problem.
I putted nat=not instead of nat=no
Just a fingers issue on my keyboard. Oups! :smiley:

However, this error should not affect Asterisk.

Sorry and regards

Franck


#4

Hi david55 and thanks for your reply. :smile:

Indeed. Lots of guys uses the SIP firmware, however it’s not able to use the blf function and others functions.


#5

A bit offtopic / not regarding the OP issue, but still worth mentioning: check out chan_sccp-b. It doesn’t support Asterisk 1.8 (at least yet), but is more feature rich than chan_skinny.


#6

Hi.

Yes, i know about chan_sccp-b. It seems that 3.1 will compatible with Asterisk 1.8, but not ready today.
Up to Asterisk 1.6.x, i used this channel, but since the 1.8, i must use chan_skinny.


#7

After several attempts i remember to open port 2000 on firewall from webmin and everything working fine

remeber to add custom extensions, eg.

EXTENSION:500

this device use custom technology

dial Skinny/500

my skinny.conf

general]
bindaddr=192.168.1.10 ; Address to bind to
bindport=2000 ; Port to bind to, default tcp/2000
dateformat=D-M-Y ; M,D,Y in any order (6 chars max)
; “A” may also be used, but it must be at the end.
; Use M for month, D for day, Y for year, A for 12-hour time.
keepalive=120

[lines]
[500]
callerid="Portatile 500"
mailbox=500
regexten=500
context=from-internal
linelabel=“500” ; Displays next to the line button

[509]
callerid="Softphone 509"
mailbox=509
regexten=509
context=from-internal
linelabel=“509” ; Displays next to the line button

[devices]

[portatile]
device=SEP00136072E400
line=500

[softphone]
device=SEP021A927C4488
line=509