Anyone got any ideas if you can get / change the status of the MWI on phones via AXL? I know heading to the phones web page will give you this status, but my preference would be to be able to check the status with a straight call to the CCM servers if possible.
Thinking about it, it's probably not possible, but I thought I'd check anyway.
Taking a look at the GroupMWI example code, it looks like it's doing a getLine request for the DN in the specified Partition, and then using the mwiStatus element to work out if the lamp is lit.
I'm not using jsp myself, but rather php and nusoap, but whenever I do a getLine, I don't see a mwiStatus element. I've dumped the retrieved xml to the screen and can see of the standard items, just not the mwiStatus.
Am I missing something here? Does the getLine method that the jsp page is using somehow different?
Still getting a copy of Tomcat up and running to try out the sample script, but taking a quick look in the DB, it seems that if the script ends up pulling details from the NumPlan table, the isMessageWaitingOn value may not be entirely correct. Taken a look at my DN which has the MWI lit, and the value in the table is 0.
It may actually be retreieved from memory on the CCM Server, so this may be irrelevant.
Hmm.. I can't say I've seen the mwi Element in a getLine either.. it's also not in the documentation I'm working on (for CCM 4.1.3).. I guess it must've been removed in the meantime.
An alternative that's supposed to work is JTAPI.. probably not quite what you're looking for but unlike AXL, the latest JTAPI doc still contains the functionality so you won't go looking for something that does not exist yet.
I must say I'm a bit surprised if mwi status isn't kept in the DB.. shouldn't that survive a ccm reboot? After all, other rather dynamic info like who's logged into which phone is also kept in the DB (so instead of using the EM Webservice you can actually run an SQL query via AXL and get the same info)
Are you getting this error “Installer User Interface Mode Not Supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command-line option, followed by the UI mode identifier. The value UI mode identifiers...
The below trick might come handy when you have to add a new node to a cluster but you don't have or is unsure of the security password for the publisher. This procedure has been around for ages.
1) Login into the CLI of the Publisher.