[Asterisk-Users] Cisco 7960s and skinny

asterisk_on_oelf asterisk at oelf.net
Thu Apr 14 07:15:21 MST 2005


Quoting Julien Goodwin <asterisk-lists at studio442.com.au>:

> My biggest task is getting in some of the big bugfixes and bad behavior
> fixes that have been major issues. In testing at the moment is a fix to
> allow speeddials to work at any time (meaning you could in theory create
> a speeddial that auto-navigated a remote IVR), instead of crashing if
> the handset was up.

At the moment my speeddials on 7914 don't crash if the handset is up, but it
opens a second line and I'm unable to hangup the first line. The only way is a
soft hangup for this channel on the CLI.

But I changed this:
--- sccp_actions.c.orig Wed Mar 23 11:05:10 2005
+++ sccp_actions.c      Tue Apr  5 19:35:22 2005
@@ -326,7 +326,8 @@

                         if (NULL != k) {
                                 ast_verbose(VERBOSE_PREFIX_3 "Speeddial Button
(%d) pressed, configured number is (%s)\n", stimulusInstance, k->ext);
-                               l = sccp_line_find_byid(s->device,
stimulusInstance);
+                               l = sccp_line_find_byid(s->device, 1);

Thats because stimulusInstance in this case is the number of the speeddial
button, but should be the line number. So I use as workaround always line 1.
Correct way should be to check for an unused line (if handset is up) or 
use line
1.


I have an other question: How can I handle a second incomming call?


regards
Jens




More information about the asterisk-users mailing list