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

Developper (API AXL SOAP) - GETPHONE issue with Spectralink Model Only

hbabajee17
Level 1
Level 1

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

9 Replies 9

npetrele
Cisco Employee
Cisco Employee

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.

The same cop was used in a CUCM lab with another version. But no issue with it. How you explain that?

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."

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.

Below the XML file  output:

 

  1. getPhone_Spectralink_manual.xml  -> Created manually in CUCM under Device > Phone > Add New  -> This is successful when we query the getPhone
<?xml version="1.0" encoding="ISO-8859-1"?>

<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.

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<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>

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.

 

bhough
Level 5
Level 5

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:

echo("Extension/DN: ".$phoneName->return->phone->lines->line->dirn->pattern)."<br>";
 

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

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...

Hello,
I believe it’s because the phone has multiple lines.
When I changed my 7965 to two lines on the phone, it failed as well.
Will change to check “lines” quantity and then query index 1.
Thanks for looking into it.
b