John Genthner | Hello,
I am also working with Erick and checked with some contacts about the WebWx Meeting status. It is my understanding that the WebEx Meeting status may use the custom status format, which is not fully implemented within the APIs at this point. It was suggested to use a coded work around like below. Could you please confirm this is the recommended approach for handling the WebEx Meeting status?
// assuming {prs} is a jabberwerx.Presence
// status == human-readable status value
// show == coarse-grain icon state
show = prs ? (prs.getShow() || prs.getType() || "unavailable") :
"unknown";
status = (prs && prs.getStatus()) || show;
// Webex-specific status indicators
if (show == "available") {
var cs;
cs = $(prs.getNode()).find("x[xmlns='http://webex.com/connect/customstatus']").attr("var");
cs = parseInt(cs || 0) & 0x3f;
if (cs !== 0) {
// some form of outlook/webex/phone
show = "xa";
}
} Thank you, John Genthner |
| Please sign in to flag this as inappropriate. |