Question
When using special characters in the note field for the setPresence method, the server return SUCCESS with no change in the user presence status. Sending other standard characters set the presence status successfully.
setPresence message:
<rp:activities><busy/><note>æøå</note></rp:activities>
Response:
<cup:setPresenceResponse><cup:status>SUCCESS</cup:status></cup:setPresenceResponse>
Found a bug CSCul31693 "cannot choose status contains special characters" In the bug it is mentioned that
Cannot select the user-defined available status that contains special chars but it works for the user-defined away/DND status that contains same chars and the issue seems to be fixed in version 9.1(1) & 10.0(1).
I have upgraded the cucm-im server to version 10.5.1.11900-5, but I’m still not able to use special characters.
setPresence message:
POST http://<fqdn>:8081/presence-service/soap HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:cisco:cup:presence:soap/setPresence"
Host: <fqdn>:8081
Content-Length: 1550
Expect: 100-continue
<?xml version="1.0" encoding="UTF-8"?>
<-- SNIP -->
<rp:activities><busy/><note>æøå</note></rp:activities>
Response:
HTTP/1.1 200 OK
Date: Thu, 18 Sep 2014 06:13:36 GMT
Server: Apache/2.2.4 (Unix) DBL2/2.00 IMDB/1.00
Last-Modified: Thu, 18 Sep 2014 06:13:36 GMT
Content-Length: 484
Connection: close
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cup="urn:cisco:cup:presence:soap"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><cup:setPresenceResponse><cup:status>SUCCESS</cup:status></cup:setPresenceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Answer
You can use this option.
æ = æ
ø = ø
å = å
Comments
0 comments
Please sign in to leave a comment.