[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML Error
Author Message
Hartwig Offline
Junior Member
**

Posts: 4
Joined: Aug 2017
Reputation: 0
Post: #1
XML Error
Hello,

i get an File Layout error when i execute this file and choosen the option oeffnen

When a call http://192.168.139.142/remote/?login=rem...&kovalue=1 in a browser, i get an answer

OK;18781;1;

I think, that den XML Browser need an other answer. Is there an other way to send information to an webservice


Hartwig



<?xml version="1.0" encoding="ISO-8859-1"?>
<YealinkIPPhoneTextMenu
defaultIndex="10"
style="none"
Beep="yes"
wrapList="yes"
Timeout="45"
cancelAction="http://192.168.139.142/xml/30.xml"
previous="http://192.168.139.142/xml/30.xml"
LockIn="no">

<Title wrap="yes" >MFR</Title>

<MenuItem>
<Prompt>Gardine Tuere</Prompt>
<SoftKey index="1">
<Label>oeffnen</Label>
<URI>http://192.168.139.142/remote/?login=remote&pass=rroste&koid=18781&kovalue=1</URI>
</SoftKey>

<SoftKey index="3">
<Label>EXIT</Label>
<URI>SoftKey:Exit</URI>
</SoftKey>
</MenuItem>
</YealinkIPPhoneTextMenu>
04-20-2018 03:50 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Lucia_Yealink Offline
Super Moderator
******

Posts: 467
Joined: Aug 2016
Reputation: 5
Post: #2
RE: XML Error
HI Hartwig,

If I don't misunderstand you, you mean you put the URI in the broswer directly, the phone can show OK;18781;1; can you provide a screenshot of the phone for me?
Also, can you explain what is the purpose to use this URI? What is the scenario?
Accept above information, please provide the information below, I will let our R&D do further analyse:
1. Provide the 30xml file
2. Provide the level 6 syslog, config.bin and PCAP when you reproduce the issue(Update the firmware to the latest version before test). Refer to the FAQ to collect the files:
http://support.yealink.com/faq/faqInfo?id=707

BTW, how many phones you have in total? What is the phone model and firmware?

BR
Lucia
04-23-2018 08:06 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Hartwig Offline
Junior Member
**

Posts: 4
Joined: Aug 2017
Reputation: 0
Post: #3
RE: XML Error
Hello

first i found the problem.

The purpose of the URI is a REST API of a smarthome system.

With the URI i can open or close the curtain, or start an light with the phone.

The Problem was, that the xml browser produce an file layout error, when the rest-api return an html answer instead of an xml answer.

i found a way to include a php tag in the xml file that return an answer in an xml tag.
04-23-2018 11:47 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Vpn with Watchguard error andrea.s 2 3,802 05-29-2019 05:51 PM
Last Post: Jimmy jb
  RTP Error for un-ordered SIP packet angelsoprano 0 2,283 07-18-2018 01:13 PM
Last Post: angelsoprano
  T48G v80 with 802.1X - Certificate chain error kris_k 1 3,984 10-29-2016 02:47 AM
Last Post: Yealink_Michael
  Broadsoft/T49G sip ports error davem2626 1 4,485 05-07-2016 06:21 AM
Last Post: Karl_Yealink
  upgrade error to *.95 on T42, T46, T48 blackc2004 1 4,655 02-18-2016 03:44 PM
Last Post: Karl_Yealink
  T46G Error Adding to Local Blacklist Renusa-Bryan 1 4,968 02-18-2016 02:23 PM
Last Post: Karl_Yealink
  call out: error "Request Terminated" SmogKiel 3 6,440 01-08-2016 07:08 PM
Last Post: Ben335
  T48G firmware update error mastermkw 4 13,663 01-29-2015 11:32 AM
Last Post: James_Yealink
  Unable to register phone on Zultys MX250 r8.0.3: SIP 400 Error IsaacSchneider 13 45,219 08-10-2013 12:55 AM
Last Post: IsaacSchneider

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication