03-05-2008 05:19 AM - edited 03-13-2019 05:02 PM
Hello,
we have a Problem with Softkeys on a 7960G Phone.
The following example works on a 7941G without Problems, but on a 7940G or 7960G I only receive XML Parse Error
=========================
<CiscoIPPhoneMenu>
<Title>Titel</Title>
<Prompt>Prompt</Prompt>
<MenuItem>
<Name>this is a menu item</Name>
<URL>url1</URL>
</MenuItem>
<SoftKeyItem>
<Name>exit</Name>
<Position>1</Position>
<URL>SoftKey:Exit</URL>
</SoftKeyItem>
<SoftKeyItem>
<Name>select</Name>
<Position>3</Position>
<URL>SoftKey:Select</URL>
</SoftKeyItem>
</CiscoIPPhoneMenu>
=========================
What can be the Problem?
Firmware:
7960G: SIP P0S3-08-8-00
7941G: SIP41.8-3-3SR2S
03-05-2008 03:33 PM
Hi,
Try to change XML tags order for SoftKeyItem. I have sth like this and it works for 7960 and 7940:
--
regards,
PK
03-06-2008 12:12 AM
Hello,
I have changed the order to:
=======================
======================
but no sucess, any other ideas?
03-06-2008 02:13 AM
Hi, maybe you send Unicode (good for new java phones 7961, 7941) and 7960 needs ISO encoding and not a single char before
--
regards,
pk
03-21-2008 04:50 AM
hello i have lookd over my files again and again, but I could not see anny problem. we are doing normaly more programming with the 79x0 phones (phonebooks, forwards, etc.) but the softkey feature seems verry tricky.
I will load up my file in this post, and if someone hase these softkey thing running, it would be nice if he can share these....
thanks for help
andreas koch
03-21-2008 05:40 AM
Remove this line:
--
regards,
PK
03-23-2008 02:33 AM
Hi, If I remove this line, then I have the same code as we was starting in these thread...
The thing is if I remove the line relatetd to the softkey, the the code will work also on the 79x0 phones after inserting the SoftKeyItem again it will only work on 79x1 Phones.
Again...Please, hase someone a working example, that I may see if this will work on my side?
03-24-2008 07:51 PM
I have been struggling with getting the SoftKey to work on the 7960 running SIP as well, from what I can read on other mailing lists and such is that the SoftKeyItem is not supported on these phones.
If you telnet to the phone and do a debug http you'll see the following:
[21:50:35:39017] ERROR: Could not find token SoftKeyItem in current element table.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide