This document was generated from CDN thread
Created by: DAWID SZYMANSKI on 07-05-2010 08:37:13 AM
Hi!
I am dealing with RisPort and SelectCmDevice.
Everything I need works fine ie. SelectBy IpAddress or Name or DirNumber or Description or....
What does not work is SelectBy LoginUserId...
Lemme give you short example:
I SelectBy DirNumber = 9999, then I get an object with all information and also with LoginUserId = 1111...
So next I SelectBy LoginUserId = 1111 and I get TotalDevicesFound = 0 ;(
What's wrong? Docs say nothing about such behaviour.
How can I achieve my goal?
Subject: RE: SelectCmDevice - SelectBy LoginUserId doesn't work
Replied by: David Staudt on 12-05-2010 02:48:19 AM
As far as I know, per the documentation the only SelectBy options are 'Name' and 'IP Address'. It's very surprising that DirNumber or Description work at all...I don't think that LoginUserId is an intended option for the search criteria.
If you are looking to find the device(s) currently logged into by a particular user, the Extension Mobility API (HTTP/XML) has provision for this - see 'DeviceQuery'
Subject: RE: SelectCmDevice - SelectBy LoginUserId doesn't work
Replied by: DAWID SZYMANSKI on 14-05-2010 07:52:40 AM
What I think after reading documentation is that Name and IP Address are just examples.... of how we can use it.
Not a defined list of SearchBy options.
However, ok thanks, I will try to deal with DeviceQuery.