08-03-2021 02:06 AM
Hello,
We have an issue with getting successful result with a simple GetPhone query through an API AXL SOAP.
When we use the Phone template spectralink which we have created on Bulk administration > Phone > Phone template, we get an axl error.
However same getphone query is generated from a phone that was created manually, ie: from device > phone, we have successful results.
We are suspecting an issue/bug somewhere or the AXL has a different behavior on the current CUCM version 12.5.1.13900-152 with this API. As we have tested with an CUCM version 12.5.1.12900-115 and no issue is found.
Its works perfectly. Could you please try to escalate this with your dev team and try to reproduce it at your side please and help us if its an known bug on this version or not and this can be corrected?
Note the issue is only with Spectralink Phone model and other Cisco model works fine. No business impact and we are not sure if it was working before.
Thanks in advance.
Regards,
Hans
08-03-2021 06:38 AM
If the problem is only with the Spectralink Phone, then I recommend you contact them for support. There may be a problem with their COP file, but that's not something we can explore or fix.
08-03-2021 07:15 AM
The same cop was used in a CUCM lab with another version. But no issue with it. How you explain that?
08-03-2021 07:29 AM - edited 08-03-2021 07:38 AM
What other version of CUCM was it when that COP worked? And your original post says, "we are not sure if it was working before."
08-03-2021 08:28 AM
On cucm version 12.5.1.12900-115 with COP cmterm-spectra_IPDECT_11.0v10-sip.k3.cop, its working.
Same COP is used on both cucm version.
Yes i am not sure, because its only now that the end customer had told us. For them its was working before but i cannot confirm that.
The spectralink model is on production on the end customer infra since 2year approx.
08-03-2021 08:32 AM
Below the XML file output:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns:getPhoneResponse xmlns:ns="http://www.cisco.com/AXL/API/10.0"><return><phone uuid="{33913647-7F11-B990-8478-01F6C234DA6D}" ctiid="37109"><name>SEP112233445566</name><description>TEST ACTIVEO</description><product>Spectralink IPDECT</product><model>Spectralink IPDECT</model><class>Phone</class><protocol>SIP</protocol><protocolSide>User</protocolSide><callingSearchSpaceName uuid="{3CBFEAA1-4961-009B-E1A2-73D8C061C5C0}">CSS_AE-AUH-GAL-1_Emergency</callingSearchSpaceName><devicePoolName uuid="{D034A54F-6E6C-FEC7-8486-76DE9ED72298}">FR-NLY-A-1</devicePoolName><commonDeviceConfigName uuid="{2AC574B8-07C2-BDE0-C50B-680DAB15A9E9}">CDC-MO-MCO-ES</commonDeviceConfigName><commonPhoneConfigName uuid="{AC243D17-98B4-4118-8FEB-5FF2E1B781AC}">Standard Common Phone Profile</commonPhoneConfigName><networkLocation>Use System Default</networkLocation><locationName uuid="{29C5C1C4-8871-4D1E-8394-0B9181E8C54D}">Hub_None</locationName><mediaResourceListName/><networkHoldMohAudioSourceId/><userHoldMohAudioSourceId/><automatedAlternateRoutingCssName/><aarNeighborhoodName/><loadInformation special="false"/><vendorConfig/><versionStamp>{1627894543-6914B895-4756-45CA-BA8E-C9F8CD36C190}</versionStamp><traceFlag>false</traceFlag><mlppDomainId/><mlppIndicationStatus>Off</mlppIndicationStatus><preemption>Disabled</preemption><useTrustedRelayPoint>Default</useTrustedRelayPoint><retryVideoCallAsAudio>true</retryVideoCallAsAudio><securityProfileName uuid="{76D43B6D-BC61-4990-91A0-AC200BE4579F}">Spectralink IPDECT - Standard SIP Non-Secure Profile</securityProfileName><sipProfileName uuid="{FCBC7581-4D8D-48F3-917E-00B09FB39213}">Standard SIP Profile</sipProfileName><cgpnTransformationCssName/><useDevicePoolCgpnTransformCss>true</useDevicePoolCgpnTransformCss><geoLocationName/><geoLocationFilterName/><sendGeoLocation>false</sendGeoLocation><lines/><numberOfButtons>1</numberOfButtons><phoneTemplateName uuid="{A7788379-1F22-4F5E-A1B8-71500D39AE20}">Spectralink IPDECT default</phoneTemplateName><speeddials/><busyLampFields/><primaryPhoneName/><ringSettingIdleBlfAudibleAlert>Default</ringSettingIdleBlfAudibleAlert><ringSettingBusyBlfAudibleAlert>Default</ringSettingBusyBlfAudibleAlert><blfDirectedCallParks/><addOnModules/><userLocale/><networkLocale/><idleTimeout/><authenticationUrl/><directoryUrl/><idleUrl/><informationUrl/><messagesUrl/><proxyServerUrl/><servicesUrl/><services/><softkeyTemplateName/><loginUserId/><defaultProfileName/><enableExtensionMobility>false</enableExtensionMobility><currentProfileName/><loginTime/><loginDuration/><currentConfig><userHoldMohAudioSourceId/><phoneTemplateName uuid="{A7788379-1F22-4F5E-A1B8-71500D39AE20}">Spectralink IPDECT default</phoneTemplateName><mlppDomainId/><mlppIndicationStatus>Off</mlppIndicationStatus><preemption>Disabled</preemption><softkeyTemplateName/><ignorePresentationIndicators>false</ignorePresentationIndicators><singleButtonBarge>Off</singleButtonBarge><joinAcrossLines>Off</joinAcrossLines><callInfoPrivacyStatus>Default</callInfoPrivacyStatus><dndStatus/><dndRingSetting/><dndOption>Ringer Off</dndOption><alwaysUsePrimeLine>Default</alwaysUsePrimeLine><alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage><emccCallingSearchSpaceName uuid="" xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/><deviceName/><model/><product/><deviceProtocol/><class/><addressMode/><allowAutoConfig/><remoteSrstOption/><remoteSrstIp/><remoteSrstPort/><remoteSipSrstIp/><remoteSipSrstPort/><geolocationInfo/><remoteLocationName/></currentConfig><singleButtonBarge>Off</singleButtonBarge><joinAcrossLines>Off</joinAcrossLines><builtInBridgeStatus>Off</builtInBridgeStatus><callInfoPrivacyStatus>Default</callInfoPrivacyStatus><hlogStatus>On</hlogStatus><ownerUserName/><ignorePresentationIndicators>false</ignorePresentationIndicators><packetCaptureMode>None</packetCaptureMode><packetCaptureDuration>0</packetCaptureDuration><subscribeCallingSearchSpaceName/><rerouteCallingSearchSpaceName/><allowCtiControlFlag>true</allowCtiControlFlag><presenceGroupName uuid="{AD243D17-98B4-4118-8FEB-5FF2E1B781AC}">Standard Presence group</presenceGroupName><unattendedPort>false</unattendedPort><requireDtmfReception>false</requireDtmfReception><rfc2833Disabled>false</rfc2833Disabled><certificateOperation>No Pending Operation</certificateOperation><authenticationMode/><keySize/><keyOrder/><ecKeySize/><authenticationString/><certificateStatus>None</certificateStatus><upgradeFinishTime/><deviceMobilityMode>Default</deviceMobilityMode><roamingDevicePoolName/><remoteDevice>false</remoteDevice><dndOption>Ringer Off</dndOption><dndRingSetting/><dndStatus>false</dndStatus><isActive>true</isActive><isDualMode>false</isDualMode><mobilityUserIdName/><phoneSuite>Default</phoneSuite><phoneServiceDisplay>Default</phoneServiceDisplay><isProtected>false</isProtected><mtpRequired>false</mtpRequired><mtpPreferedCodec>711ulaw</mtpPreferedCodec><dialRulesName/><sshUserId/><digestUser/><outboundCallRollover>No Rollover</outboundCallRollover><hotlineDevice>false</hotlineDevice><secureInformationUrl/><secureDirectoryUrl/><secureMessageUrl/><secureServicesUrl/><secureAuthenticationUrl/><secureIdleUrl/><alwaysUsePrimeLine>Default</alwaysUsePrimeLine><alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage><featureControlPolicy/><deviceTrustMode>Not Trusted</deviceTrustMode><earlyOfferSupportForVoiceCall>false</earlyOfferSupportForVoiceCall><confidentialAccess><confidentialAccessMode/><confidentialAccessLevel>-1</confidentialAccessLevel></confidentialAccess><cgpnIngressDN/><useDevicePoolCgpnIngressDN>true</useDevicePoolCgpnIngressDN><msisdn/><enableCallRoutingToRdWhenNoneIsActive>false</enableCallRoutingToRdWhenNoneIsActive><wifiHotspotProfile/><wirelessLanProfileGroup/><enableActivationID>false</enableActivationID></phone></return></ns:getPhoneResponse></soapenv:Body></soapenv:Envelope>
2. 2. getPhone_Spectralink_bulk.xml --> Created in CUCM using the Phone template model under Bulk Administration --> This return an server error.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring/><detail><axlError><axlcode>-1</axlcode><axlmessage/><request>getPhone</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
08-03-2021 08:48 AM
You're showing me the responses, but not the requests. Please post the two requests.
Regardless, compatibility with Cisco CUCM is the responsibility of Spectralink, so I suggest you contact them. It is not unusual for a third party phone provider to have to change its COP file to compensate for a change in UCM version.
12-16-2021 10:14 AM
Hello,
My issue seems to be related...
Trying to use getPhone with the dirn pattern, but all phones show up with DN EXCEPT the 8861 phones.
I can see the DN on 7965, CIPC, and 8821 phones. but the 8861 fails with...
my query:
my returned response...
Device Name: SEP2834A2826870
Notice: Trying to get property 'dirn' of non-object in C:\Apache\htdocs\Wireless Handsets\WirelessHandsetList.php on line 77
Notice: Trying to get property 'pattern' of non-object in C:\Apache\htdocs\Wireless Handsets\WirelessHandsetList.php on line 77
Extension/DN:
SEP2834A2826870
Cisco 8861
12-16-2021 11:27 AM
Can you show the (raw) XML of the AXL response you're trying to parse? It _is_ possible (though probably rare in practice) for the device to be configured with no lines present, which might explain what you're seeing...
12-16-2021 12:54 PM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide