cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
114
Views
0
Helpful
1
Replies

Risport70 selectCMDeviceExt does not return CTI Port status

skareem
Level 1
Level 1

I am trying to retrieve the registration status of phones and CTI ports on CUCM using Python. To do this I am first running the CUCM AXL query listPhone to get a list of all phones I'm interested in. Then I pass this list to the SelectCmDeviceExt RISPORT70 query. This AXL response to listPhone includes CTI ports but the SelectCmDeviceExt does not return any status for CTI ports even if I set the model to 72 (CTI Port).

I know there is a SelectCtiItem call but this seems  related to CTI applications/ Route Points rather than CTI ports.

Any ideas how I can get the CTI port status?

Thanks

 

        CmSelectionCriteria = {
            'MaxReturnedDevices': '1000',
            'DeviceClass': 'Any',
            'Model': '72',
            'Status': 'Any',
            'NodeName': '',
            'SelectBy': "Name",
            'SelectItems': {
                'item': CmDevice_group
            },
            'Protocol': 'Any',
            'DownloadStatus': 'Any'
        }
1 Reply 1

skareem
Level 1
Level 1

Please ignore - selectCMDevice is reporting CTI status accurately. The problem was the method was not being called in my code and not updating the registration status in my output..