Summary:ASTERISK-11758: Speed dials don't work on 7921G Phone
Reporter:sbisker (sbisker)Labels:
Date Opened:2008-03-31 08:14:24Date Closed:2008-05-17 09:24:13
Versions:Frequency of
Description:Speed dials, showup on the phone, but they don't function.
Comments:By: dea (dea) 2008-04-01 12:53:45

Can you provide the cli output with 'set skinny debug on' when you
try to use the speed dial?

Speed dials work on the 7921 with Trunk and I suspect the 1.6 branch.
There was a lot of clean up work to support the new phones and features
that may not have made it into 1.4, and the debug output will confirm

By: sbisker (sbisker) 2008-04-01 14:06:39

isdpbx-wireless*CLI> skinny set debug
Skinny Debugging Enabled
callreference in handle_stimulus_message is '0'
[Apr  1 15:10:29] WARNING[5612]: chan_skinny.c:1295 find_subchannel_by_instance_reference:  Could not find subchannel with refer
nce '0' on '5285'
Received Stimulus: SpeedDial(1/0)
isdpbx-wireless*CLI> skinny set debug off

By: dea (dea) 2008-04-01 14:16:16

OK, that was easy.  According to SVN the speeddial code is commented
out in the 1.4 branch.

A quick look at the code only shows one issue, which is that the
SpeedDial handling code also looks for the existance of a previously
dialed number (bogus check), but otherwise looks good.

You can try to remove the '#if 0 / #endif' pair under case STIMULUS_SPEEDDIAL

Even if it works, the feature may remain disabled in 1.4 (it is considered
a new feature and only applies to 1.6 and later)

*** I just referred to the code in Trunk/1.6 and I suspect that you might
not have much luck on 1.4.  One of the areas cleaned up in later versions was the handling of sub-channels (call instances) for each line.

The 1.4 code might work if the phone is offhook (not possible on a 7921) before
pressing the SpeedDial, but not if it is onhook or vice versa.  Even if it
works once, it may not work a second time due to issues with how sub-channels
are tracked and handled in 1.4. ***

By: sbisker (sbisker) 2008-04-02 14:37:59

Nope.  Doesn't work.  It makes the call, but doesn't indicate ringing and you can't hang it up.

I guess I'll try 1.6.

By: Michiel van Baak (mvanbaak) 2008-05-17 09:24:02

Because it's a new feature, it's not going into 1.4.
Feel free to reopen this bug if it's not working for you in 1.6 and/or trunk