hi! i had some good news regarding the cisco 7920 and the internetworking with asterisk (and possibly SIP ?). Status: chan_sccp.so not coredumping anymore :-) Phone contantly in reboot loop [see below] :-( Reboot Loop means: ------------------ Phone auth's with AP Phone gets IP from DHCP & TFTP Server Phone loads OS7920.TXT Phone loads SEP<macaddr>.CNF.XML Phone loads xmlDefault.conf.xml Phone registeres to Asterisk Phone gets registered Phone gets Info/Dial/Stuff from Asterisk Phone gets Line Info SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY SoftKeySetReqMessage SKINNY SoftKeySetResMessage SKINNY OffHookMessage SKINNY SetSpeakerModeMessage SKINNY OnHookMessage SKINNY DisplayPromptStatusMessage SKINNY DisplayPromptStatusMessage SKINNY DisplayPromptStatusMessage But if you look at the Support of the 7920 in Callmanager Express, you get a file named "cmterm_7920.3.3-01-02-021.bin" so i was investigating further. so i wrote "cmterm_7920.3.3-01-02-021" in OS7920.TXT and suddenly the Cisco 7920 shows "Upgrading Firmware" :-) Unfortunately for some reason it did not accept the firmware, but it still tries to load it. Some additional info: --------------------- The 7920 is requesting cmterm_7920.3.3-01-02-021^J.bin (so with an Ctrl-J in it), so you have to rename the file. I also got the information from documents that the 7920 is running in 7960 emulation mode, so draw your own conclusions in regards of SIP possiblity :-) I tried to use some 7960 images, but did not succeed :-( Would appreciate some help in this issue :-) --jan -- Jan Czmok, Network Engineering & Support, Global Access Telecomm, Inc. Ph.: +49 69 299896-35 - fax: +49 69 299896-40 - sip:13129*522@inoc-dba.pch.net
Brian Buhrow
2004-Jan-13 11:01 UTC
[Asterisk-Users] Re: Again: 7920 Cisco IP Phone Skinny & SIP
Hello. The Cisco 7905 and 7920 phones are basically the same phone, with the 7920 having a built-in ethernet switch. Sip and Skinny images are available for these phones on the Cisco web site if you hav a CCO account. I believe you select which image you want to run at boot time, with the OS7920.TXT file. (If you're familiar with the way this works with the Cisco 7940 and 7960 phones, you'll understand the procedure for getting these phones to boot the desired image.) Essentially, you put the version number of the image in the OS7920.TXT file, and use the S or M parameter in that file to determine whether you want an mgcp/skinny image or a Sip image. If you load a sip image into the phone, it should work quite wel with Asterisk. If you want to continue debugging and fixing the skinny code in Asterisk, then load the mgcp/skinny image into the phone. Note: the software can be found on the Cisco site under the Software Center link on the CCO registered user page. Hope that helps. -Brian Message: 5 Date: Tue, 13 Jan 2004 14:49:36 +0100 From: Jan Czmok <czmok@gatel.net> To: asterisk-users@lists.digium.com, asterisk-dev@lists.digium.com Subject: [Asterisk-Users] Again: 7920 Cisco IP Phone Skinny & SIP Reply-To: asterisk-users@lists.digium.com hi! i had some good news regarding the cisco 7920 and the internetworking with asterisk (and possibly SIP ?). Status: chan_sccp.so not coredumping anymore :-) Phone contantly in reboot loop [see below] :-( Reboot Loop means: ------------------ Phone auth's with AP Phone gets IP from DHCP & TFTP Server Phone loads OS7920.TXT Phone loads SEP<macaddr>.CNF.XML Phone loads xmlDefault.conf.xml Phone registeres to Asterisk Phone gets registered Phone gets Info/Dial/Stuff from Asterisk Phone gets Line Info SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY LineStatReqMessage SKINNY LineStatMessage SKINNY SoftKeySetReqMessage SKINNY SoftKeySetResMessage SKINNY OffHookMessage SKINNY SetSpeakerModeMessage SKINNY OnHookMessage SKINNY DisplayPromptStatusMessage SKINNY DisplayPromptStatusMessage SKINNY DisplayPromptStatusMessage But if you look at the Support of the 7920 in Callmanager Express, you get a file named "cmterm_7920.3.3-01-02-021.bin" so i was investigating further. so i wrote "cmterm_7920.3.3-01-02-021" in OS7920.TXT and suddenly the Cisco 7920 shows "Upgrading Firmware" :-) Unfortunately for some reason it did not accept the firmware, but it still tries to load it. Some additional info: --------------------- The 7920 is requesting cmterm_7920.3.3-01-02-021^J.bin (so with an Ctrl-J in it), so you have to rename the file. I also got the information from documents that the 7920 is running in 7960 emulation mode, so draw your own conclusions in regards of SIP possiblity :-) I tried to use some 7960 images, but did not succeed :-( Would appreciate some help in this issue :-) --jan -- Jan Czmok, Network Engineering & Support, Global Access Telecomm, Inc. Ph.: +49 69 299896-35 - fax: +49 69 299896-40 - sip:13129*522@inoc-dba.pch.net
Siggi Langauf
2004-Jan-13 11:51 UTC
[Asterisk-Users] Re: Again: 7920 Cisco IP Phone Skinny & SIP
Hi Jan, first of all: please don't cross-post! On Tue, 13 Jan 2004, Jan Czmok wrote: [...]> SKINNY OffHookMessage > SKINNY SetSpeakerModeMessage > SKINNY OnHookMessage > SKINNY DisplayPromptStatusMessage > SKINNY DisplayPromptStatusMessage > SKINNY DisplayPromptStatusMessageIt looks like chan_sccp is doing something at this pont that upsets the 7920 so that it tries to fall back to SRST mode, before finally re-registering. That re-registration is rejected by chan_sccp, though, as the old connection is not closed, yet. So the 7920 gives up and tries to find another CallManager. Right now, Theo as well as Martin Bene are looking at the packet traces, so I'm sure the issue will be located and fixed soon.> But if you look at the Support of the 7920 in Callmanager Express, you > get a file named "cmterm_7920.3.3-01-02-021.bin" so i was investigating > further. so i wrote "cmterm_7920.3.3-01-02-021" in OS7920.TXT and > suddenly the Cisco 7920 shows "Upgrading Firmware" :-) > Unfortunately for some reason it did not accept the firmware, but it > still tries to load it.There should also be a digitally signed version of that file (cmterm_7920.*.sbn), which the phone probably requires.> Some additional info: > --------------------- > The 7920 is requesting cmterm_7920.3.3-01-02-021^J.bin > (so with an Ctrl-J in it), so you have to rename the file.You'd better remove the trailing Ctrl-J from OS7920.TXT, then (or stop using editors that insist on adding one).> I also got the information from documents that the 7920 is running in > 7960 emulation mode, so draw your own conclusions in regards of SIP > possiblity :-)Nope, there is a statement from Cisco that SIP support for the 7920 is not planned, ATM. "7960 emulation mode" refers only to being compatible with a 7960, as long as you do _not_ try to upload any firmware. (ie. Skinny-wise) However, that compatibility is not quite 100%...> I tried to use some 7960 images, but did not succeed :-(Of course not, it's totally different hardware.> Would appreciate some help in this issue :-)Just sit back and wait! Meanwhile, you can register your 7920 with CallManager Express and connect that to asterisk via chan_oh323. (Note: chan_h323 will most likely not work, at least if you need two-way audio ;) Cheers, Siggi
Brian Buhrow
2004-Jan-13 15:58 UTC
[Asterisk-Users] Re: Again: 7920 Cisco IP Phone Skinny & SIP
Sorry for my confusion. I'm thinking of the Cisco 7912, not the 7920. You're absolutely right. For the 7920, only mgcp/skinny is available from cisco. So, I guess it's debugging and hackery for Asterisk with respect to this phone. I plan to get my hands on one in the next month or so, and see if I can make it go with Asterisk's Skinny module. -Brian On Jan 13, 11:54pm, Jan Czmok wrote: } Subject: Re: [Asterisk-Users] Re: Again: 7920 Cisco IP Phone Skinny & SIP } Brian Buhrow (buhrow@lothlorien.nfbcal.org) wrote: } > } > Hello. The Cisco 7905 and 7920 phones are basically the same phone, } } Hi Brian. 7905 is a normal desktop phone. 7920 is the WiFi Phone build } from cisco. } } } } [snip] } } > with the 7920 having a built-in ethernet switch. Sip and Skinny images } > are available for these phones on the Cisco web site if you hav a CCO } > account. I believe you select which image you want to run at boot time, } > with the OS7920.TXT file. (If you're familiar with the way this works with } > the Cisco 7940 and 7960 phones, you'll understand the procedure for getting } > these phones to boot the desired image.) Essentially, you put the version } > number of the image in the OS7920.TXT file, and use the S or M parameter in } > that file to determine whether you want an mgcp/skinny image or a Sip } > image. } > If you load a sip image into the phone, it should work quite wel with } > Asterisk. } > If you want to continue debugging and fixing the skinny code in } > Asterisk, then load the mgcp/skinny image into the phone. } } [snip] } } see in my original mail, already tried this ... } } --jan } } } -- } Jan Czmok, Network Engineering & Support, Global Access Telecomm, Inc. } Ph.: +49 69 299896-35 - fax: +49 69 299896-40 - sip:13129*522@inoc-dba.pch.net>-- End of excerpt from Jan Czmok
Martin Bene
2004-Jan-17 09:38 UTC
[Asterisk-Users] Re: Again: 7920 Cisco IP Phone Skinny & SIP
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