Pavel Jezek
2006-Aug-18 12:55 UTC
[asterisk-users] chan_skinny - in trunk r40360 - error "unsupported format '0'"
I'm currently trying recent asterisk trunk with original chan_skinny
(chan_sccp isn't working with trunk) and phone ci$co 7920,
dialout direction from phone is OK,
but can't receive calls (dial command: Dial(Skinny/${EXTEN}@PJ) or
Dial(Skinny/${EXTEN})
phone ci$co 7920 (wifi), firmware 3.0
with asterisk 1.2.9 + chan_sccp it working fine, i.e not problem with
nat (I'm using nat 1:1, without access filtering)
DIALOUT debug (OK):
*CLI> unknown1 in handle_stimulus_message is '0'
Received Stimulus: Line(1)
Setting ringer mode to '1'.
skinny_new: tmp->nativeformats=8 fmt=8
Attempting to Clear display on Skinny 961@PJ
Clearing Display
-- Starting simple switch on '961@PJ'
Setting ringer mode to '1'.
Collected digit: [6]
-- Asked to indicate 'Stop tone' condition on channel
Skinny/961@PJ-2
Collected digit: [0]
-- Asked to indicate 'Stop tone' condition on channel
Skinny/961@PJ-2
Collected digit: [0]
-- Executing [600@default:1] NoOp("Skinny/961@PJ-2",
"CALLING") in
new stack
-- Executing [600@default:2] LookupCIDName("Skinny/961@PJ-2",
"") in
new stack
-- Executing [600@default:3] Playback("Skinny/961@PJ-2",
"demo-echotest") in new stack
skinny_answer(Skinny/961@PJ-2) on 961@PJ-2
Displaying Prompt Status 'Connected'
-- Playing 'demo-echotest' (language 'en')
Received Open Receive Channel Ack
ipaddr = 10.0.0.100:29106
ourip = 193.179.38.20:18072
Received Softkey Event: End Call(1)
Skinny 961@PJ went on hook
Clearing Display
== Spawn extension (default, 600, 3) exited non-zero on
'Skinny/961@PJ-2'
skinny_hangup(Skinny/961@PJ-2) on 961@PJ
Setting ringer mode to '1'.
Clearing Display
DIALIN (incoming call to phone 7920) FAIL:
-- Executing [s@macro-call_with_notify:2] Dial("IAX2/bill-43",
"Skinny/961@PJ|30") in new stack
[Aug 18 21:42:39] NOTICE[12264]: chan_skinny.c:4045 skinny_request:
Asked to get a channel of unsupported format '0'
[Aug 18 21:42:39] WARNING[12264]: app_dial.c:1077 dial_exec_full: Unable
to create channel of type 'Skinny' (cause 0 - Unknown)
== Everyone is busy/congested at this time (3:0/0/3)
skinny.conf
[PJ]
;model=7920
device=SEP000D288E6669
linelabel="testline"
nat=yes
line => 961
is phone successfully registered?
why is ip 0.0.0.0?
phone is also incorectly detected (7532?),
model=7920 in config not solve this issue
*CLI> skinny show devices
Name DeviceId IP TypeId R NL
-------------------- ---------------- --------------- ------ - --
PJ SEP000D288E6669 0.0.0.0 7532 Y 1
*CLI> skinny show lines
Device Name Instance Name Label
-------------------- -------- -------------------- --------------------
PJ 1 961 "testline"
Jason Parker
2006-Aug-18 13:18 UTC
[asterisk-users] chan_skinny - in trunk r40360 - error "unsupported format '0'"
----- Pavel Jezek <pavel.jezek@i.cz> wrote:> I'm currently trying recent asterisk trunk with original chan_skinny > (chan_sccp isn't working with trunk) and phone ci$co 7920, > > dialout direction from phone is OK, > but can't receive calls (dial command: Dial(Skinny/${EXTEN}@PJ) or > Dial(Skinny/${EXTEN}) > phone ci$co 7920 (wifi), firmware 3.0 > > with asterisk 1.2.9 + chan_sccp it working fine, i.e not problem with > > nat (I'm using nat 1:1, without access filtering) > > > DIALOUT debug (OK): > > *CLI> unknown1 in handle_stimulus_message is '0' > Received Stimulus: Line(1) > Setting ringer mode to '1'. > skinny_new: tmp->nativeformats=8 fmt=8 > Attempting to Clear display on Skinny 961@PJ > Clearing Display > -- Starting simple switch on '961@PJ' > Setting ringer mode to '1'. > Collected digit: [6] > -- Asked to indicate 'Stop tone' condition on channel > Skinny/961@PJ-2 > Collected digit: [0] > -- Asked to indicate 'Stop tone' condition on channel > Skinny/961@PJ-2 > Collected digit: [0] > -- Executing [600@default:1] NoOp("Skinny/961@PJ-2", "CALLING") in > > new stack > -- Executing [600@default:2] LookupCIDName("Skinny/961@PJ-2", "") > in > new stack > -- Executing [600@default:3] Playback("Skinny/961@PJ-2", > "demo-echotest") in new stack > skinny_answer(Skinny/961@PJ-2) on 961@PJ-2 > Displaying Prompt Status 'Connected' > -- Playing 'demo-echotest' (language 'en') > Received Open Receive Channel Ack > ipaddr = 10.0.0.100:29106 > ourip = 193.179.38.20:18072 > Received Softkey Event: End Call(1) > Skinny 961@PJ went on hook > Clearing Display > == Spawn extension (default, 600, 3) exited non-zero on > 'Skinny/961@PJ-2' > skinny_hangup(Skinny/961@PJ-2) on 961@PJ > Setting ringer mode to '1'. > Clearing Display > > > > DIALIN (incoming call to phone 7920) FAIL: > > -- Executing [s@macro-call_with_notify:2] Dial("IAX2/bill-43", > "Skinny/961@PJ|30") in new stack > [Aug 18 21:42:39] NOTICE[12264]: chan_skinny.c:4045 skinny_request: > Asked to get a channel of unsupported format '0' > [Aug 18 21:42:39] WARNING[12264]: app_dial.c:1077 dial_exec_full: > Unable > to create channel of type 'Skinny' (cause 0 - Unknown) > == Everyone is busy/congested at this time (3:0/0/3) > > > > skinny.conf > [PJ] > ;model=7920 > device=SEP000D288E6669 > linelabel="testline" > nat=yes > line => 961 > > > is phone successfully registered? > why is ip 0.0.0.0? > phone is also incorectly detected (7532?), > model=7920 in config not solve this issue > > > *CLI> skinny show devices > Name DeviceId IP TypeId R NL > -------------------- ---------------- --------------- ------ - -- > PJ SEP000D288E6669 0.0.0.0 7532 Y 1 > > > > *CLI> skinny show lines > Device Name Instance Name Label > -------------------- -------- -------------------- > -------------------- > PJ 1 961 "testline" > >That is a little strange that it's getting the wrong TypeID. Can you show me what it says when it registers, preferably with skinng debug enabled? model= was removed in trunk, as we can get it from one of the skinny packets and do a simple lookup. As for the format 0, I don't know how it's getting that far with no codecs (though it may in some strange way be related to the typeid). Skinny only supports ulaw currently (yeah, I know, I'll fix that eventually). -- Jason Parker Digium