Discussion Thread View

IceLib - Managed IP Phones and Stations

  • 1.  IceLib - Managed IP Phones and Stations

    Posted 14 days ago
    Edited by James Dunn 14 days ago
    I've been cautiously trying IceLib API this week and so far I've been able to muddle through most things. However, I've hit two problems that I can't seem to get by.

    I'm trying to build a way to retrieve & export data from Administrator. There are ConfigurationLists in the Configuration namespace for Users, Workgroups, Roles, Skills etc, so I'm using these - but there doesn't seem to be one for Managed IP Phones. I wanted to be able to extract (and display) Managed IP Phone information. But, this doesn't seem to exist in the API. Am I crazy and overlooking something obvious?

    Secondly, with stations, my app doesn't seem to actually put any data. I'm not sure why as using essentially the same code for users, workgroups, roles all works fine. Is there something special about stations in the API that I'm missing?

    I.e. This data is meant to populate a ComboBox with a list of station IDs, but it returns nothing. If I change it to a UserConfigurationList it can pull user Ids with no problem... The session is working as I'm able to retrieve other data with it. I have rights to view (and edit) stations in Administrator.

    Any help you can offer would be greatly appreciated.

            private void StationComboBoxGetItems(Session session)
                var _configurationManager = ConfigurationManager.GetInstance(session);
                var configurationStationList = new StationConfigurationList(_configurationManager);
                var newQuerySettings = configurationStationList.CreateQuerySettings();
                List<String> genesysStations = new List<string>();
                foreach (var configurationObject in configurationStationList.GetConfigurationList())
                StationComboBox.ItemsSource = genesysStations;


    James Dunn