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

Got blank value when using getRegistrationDynamic()

jialinli
Level 1
Level 1

XFkType deviceName = factory.createXFkType();

deviceName.setValue(phoneName);

GetRegistrationDynamicReq registerStatus = new GetRegistrationDynamicReq();

registerStatus.setDevice(deviceName);

GetRegistrationDynamicRes registerStatusResponse = axlPort.getRegistrationDynamic(registerStatus);

Demo2.informUser("Registration Status : " + registerStatusResponse.getReturn().getRegistrationDynamic().getLastKnownIpAddress()

        + "%n" + registerStatusResponse.getReturn().getRegistrationDynamic().getLastKnownUcm()

        + "%n" + registerStatusResponse.getReturn().getRegistrationDynamic().getLastKnownConfigVersion()

        + "%n" + registerStatusResponse.getReturn().getRegistrationDynamic().getLocationDetails()

        + "%n" + registerStatusResponse.getReturn().getRegistrationDynamic().getEndpointConnection()

        + "%n" + registerStatusResponse.getReturn().getRegistrationDynamic().getLastSeen()

        + "%n" + registerStatusResponse.getReturn().getRegistrationDynamic().getUuid());

Hi,

When I ran the above script, I could only get Uuid & getLastSeen value while other values are all blank, does anyone know the reason? I'm sure the device is registered to CUCM 11.5 and the getLastSeen returns "0". Am I using the wrong method to get phone registration status?

Thanks,

Jialing

0 Replies 0