11-25-2014 03:29 AM - edited 03-21-2019 08:27 AM
Hello Guys,
I made a XML application which runs just fine on a SPA 525 but not on the SPA 502 (have not tested on other 50X phones).
The issue is that the URL I return in a MenuItem for the tag <url> gets cut by the phone when it request it.
The Flow is
Phone Requests
and gets in return
<?xml version="1.0" encoding="UTF-8"?> | |
<CiscoIPPhoneMenu><Title>Bla BLa</Title> | |
<Prompt>Bla Bla Bla</Prompt><MenuItem> | |
<Name>Name1</Name> | |
<URL>http://192.168.9.207:80/ | |
</MenuItem> | |
<MenuItem> | |
<Name>Name1</Name> | |
<URL>http://192.168.9.207:80/ | |
</MenuItem> | |
<MenuItem> | |
<Name>Name3</Name> | |
<URL>http://192.168.9.207:80/ | |
</MenuItem> | |
<SoftKeyItem><Name>Select</ |
Which ever entry i select now, i only see the request from the phone for http://192.168.9.207:80/
All Arguments are cut. The this play then writes
XML format error or invalid application
Solved! Go to Solution.
11-25-2014 11:26 AM
Note that there is XML Phone Applications space dedicated to XML Phone Applications questions.
But it seems to be rather obvious issue. '&' is not allowed char in URL (it is generic rule, nothing special for SPA502). Such special char needs to be escaped accordingly. So replace all occurrences of '&' by '&'. It should help.
By the way, it is mentioned in documentation.
Rate useful advices. It will help others to search solutions.
11-25-2014 11:26 AM
Note that there is XML Phone Applications space dedicated to XML Phone Applications questions.
But it seems to be rather obvious issue. '&' is not allowed char in URL (it is generic rule, nothing special for SPA502). Such special char needs to be escaped accordingly. So replace all occurrences of '&' by '&'. It should help.
By the way, it is mentioned in documentation.
Rate useful advices. It will help others to search solutions.
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