[Asterisk-Users] Re: Again: 7920 Cisco IP Phone Skinny & SIP

Martin Bene martin.bene at icomedias.com
Sat Jan 17 09:38:25 MST 2004


Hi Jan,

>in the sccp_registration i would then handle the registration for the
>7920 how the callmanager is behaving.

I've just gotten one step further with my 7920: 
Got it successfully registered to asterisk. Still doesn't actually work, but
definitely a step in the right direction.

The problem is that the 7920 expects SelectSoftKeys Messages to finish its
setup - probably it sends the offhook/onhook sequence to trigger these.

Asterisk however doesn't send these until it's finished registering the
device on reception of a message of type 2d - which the 7920 never sends.

Hack/workaround, against current cvs:

diff -urN chan_sccp/sccp_actions.c chan_sccp.mbe/sccp_actions.c
--- chan_sccp/sccp_actions.c    2004-01-17 11:18:36.000000000 +0100
+++ chan_sccp.mbe/sccp_actions.c        2004-01-17 17:14:15.000000000 +0100
@@ -94,7 +94,7 @@
     }
   }

-  sccp_dev_set_registered(d, RsProgress);
+  sccp_dev_set_registered(d, RsOK);
   d->currentLine = d->lines;

   REQ(r1, RegisterAckMessage);

This probably breaks all kind of other things, but it does let the 7920
register with asterisk.

Next Problem: Softkeys need special attention, currently the onhook/offhook
keys aren't mapped correctly, so you can't actually accept a call or hang up
:-) Dialing works bzw.

Bye, Martin



More information about the asterisk-users mailing list