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

I am getting error from addRemoteDestination request "Remote Destination must reference a Remote Destionation Profile, a Dual Mode device or a MobileSmartClient.

jdrinkwater
Level 1
Level 1

I am getting error from addRemoteDestination request "Remote Destination must reference a Remote Destionation Profile, a Dual Mode device or a MobileSmartClient.

Anyone have any idea?

 

<axl:addRemoteDestination xmlns:axl="http://www.cisco.com/AXL/API/12.0">
<remoteDestination>
<name>1113</name>
<destination>1113</destination>
<answerTooSoonTimer>1500</answerTooSoonTimer>
<answerTooLateTimer>19000</answerTooLateTimer>
<delayBeforeRingingCell>4000</delayBeforeRingingCell>
<ownerUserId>testuser5</ownerUserId>
<remoteDestinationProfileName>TCT11113</remoteDestinationProfileName>
<isMobilePhone>false</isMobilePhone>
<enableMobileConnect>true</enableMobileConnect>
<timeZone>Africa/Banjul</timeZone>
<singleNumberReachVoicemail>Use System Default</singleNumberReachVoicemail>

</remoteDestination>
</axl:addRemoteDestination>

 

<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>Remote Destination must reference a Remote Destionation Profile, a Dual Mode device or a MobileSmartClient</faultstring>
<detail>
<axlError>
<axlcode>10131</axlcode>
<axlmessage>Remote Destination must reference a Remote Destionation Profile, a Dual Mode device or a MobileSmartClient</axlmessage>
<request>addRemoteDestination</request></axlError></detail></soapenv:Fault></soapenv:Body>
</soapenv:Envelope>

 

 

28 Replies 28

dstaudt
Cisco Employee
Cisco Employee

Seems to be working for me on my 12.5 system, i.e. using this sample: https://github.com/CiscoDevNet/axl-python-zeep-samples/blob/master/axl_add_Remote_Destination.py

Your AXL namespace suggests this is a 12.0, which I unfortunately can't readily try.  Especially if you can try the sample above and get the same error, this is likely to be a defect, in which case I would suggest opening a ticket with Devnet Developer Support: DevNet Support 

npetrele
Cisco Employee
Cisco Employee

Hi Jung,

 

You may recall you filed a ticket on this and it boiled down to the documentation not being quite up to date. Here's a post in that ticket thread:

 

You do need to specify either a dual mode phone or remote destination profile in the AXL request. This is a recent requirement, as CUCM 12 and up have gone through many remote destination changes.

 

So this works fine:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/12.5">
<soapenv:Header/>
<soapenv:Body>
<ns:updateRemoteDestination>
<destination>8821</destination>
<enableUnifiedMobility>true</enableUnifiedMobility>
<enableMobileConnect>true</enableMobileConnect>
<remoteDestinationProfileName>testRemoteDestinationProfile2</remoteDestinationProfileName>
</ns:updateRemoteDestination>
</soapenv:Body>
</soapenv:Envelope>

 

Please note that the tag is <remoteDestinationProfileName> not <remoteDestinationProfile>

 

When you update a remote destination with a dual mode phone, the error still says you need a remote destination profile. This is actually correct now (CUCM handling of remote destinations has changed quite a bit starting with 12). Even if you use the web GUI and set up a dual-mode phone like an Android phone, it requires either a remote destination profile or a CTI controlled phone. The Android phone can't be CTI controlled, so the only valid choice is to associate a remote destination profile.

 

Thanks for the replies!

 

I remember that with Phone Mobility Identity feature for dual mode phone. I am starting to work on Phone Remote Destination feature for dual mode phone.

I tried multiple ways to make it work but couldn't. This is problem with adding Remote Destination (RD) to Dual mode phone (iphone) using addRemoteDestination request. No problem with adding RD to Remote Destination Profile (RDP). As you can see my <remoteDestinationProfileName> tag from the request contains TCT phone name. This is where I am having problem.  It works when I use RDP not dual mode phone. It works when I use <dualModeDeviceName> tag to add Phone Mobility Identity to TCT phone. 

What am I missing?

 

I did see the previous forum about this problem and found bug number but couldn't figure out the workaround or the if they are same problem. (CSCvj13354)

 

 

Hi Jung,

 

I'll check with the engineers on this, but could it be something as simple as a typo?  I notice your name and destination have three 1s and then a 3.  The profile has four 1s and then a 3.

 

<axl:addRemoteDestination xmlns:axl="http://www.cisco.com/AXL/API/12.0">
<remoteDestination>
<name>1113</name>
<destination>1113</destination>
<answerTooSoonTimer>1500</answerTooSoonTimer>
<answerTooLateTimer>19000</answerTooLateTimer>
<delayBeforeRingingCell>4000</delayBeforeRingingCell>
<ownerUserId>testuser5</ownerUserId>
<remoteDestinationProfileName>TCT11113</remoteDestinationProfileName>
<isMobilePhone>false</isMobilePhone>
<enableMobileConnect>true</enableMobileConnect>
<timeZone>Africa/Banjul</timeZone>
<singleNumberReachVoicemail>Use System Default</singleNumberReachVoicemail>

</remoteDestination>
</axl:addRemoteDestination>

Hi Nick,

 

Any status from the engineer?

Thanks!

 

Jung

Hi Jung,

 

Engineers say it's working as intended, and it works fine for me. Did you check the possible typo?

 

<name>1113</name> <--- 3 ones
<destination>1113</destination>  <--- 3 ones
<remoteDestinationProfileName>TCT11113</remoteDestinationProfileName> <--- 4 ones

Hi Nick,

 

That was just a test data. Here is the another request with different data.

Can you send the request that you used to make it work? I have not had a luck to make it work.

 

  <axl:addRemoteDestination xmlns:axl="http://www.cisco.com/AXL/API/12.0">

   <remoteDestination>

    <name>iphonename</name>

    <destination>6125553456</destination>

    <answerTooSoonTimer>1500</answerTooSoonTimer>

    <answerTooLateTimer>19000</answerTooLateTimer>

    <delayBeforeRingingCell>4000</delayBeforeRingingCell>

    <remoteDestinationProfileName>TCT111111111115</remoteDestinationProfileName>

    <ownerUserId>testuser4</ownerUserId>

    <isMobilePhone>true</isMobilePhone>

    <enableMobileConnect>true</enableMobileConnect>

    <timeZone>Africa/Bangui</timeZone>

    <singleNumberReachVoicemail>Use System Default</singleNumberReachVoicemail>

   </remoteDestination>

  </axl:addRemoteDestination>

 

Thanks!

 

Jung

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/12.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:addRemoteDestination sequence="?">
         <remoteDestination>
            <!--Optional:-->
            <name>InnerSpace</name>
            <destination>7007008</destination>
            <answerTooSoonTimer>1500</answerTooSoonTimer>
            <answerTooLateTimer>19000</answerTooLateTimer>
            <delayBeforeRingingCell>4000</delayBeforeRingingCell>
            <ownerUserId>nicholas</ownerUserId>
            <remoteDestinationProfileName>TCT700RDP</remoteDestinationProfileName>
            <isMobilePhone>true</isMobilePhone>
         </remoteDestination>
      </ns:addRemoteDestination>
   </soapenv:Body>
</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <ns:addRemoteDestinationResponse xmlns:ns="http://www.cisco.com/AXL/API/12.5">
         <return>{3CA42C79-0AE3-909F-AADF-BA8C06D2FA7A}</return>
      </ns:addRemoteDestinationResponse>
   </soapenv:Body>
</soapenv:Envelope>

Like yours, this is an iPhone.

Hi Nick,

 

It does not work in 12.5 release either.

Can you tell me "TCT700RDP" is either "Cisco Dual Mode for iPhone" phone type or Remote Destination Profile?

Thanks,

Jung

Hi Jung,

 

TCT700RDP is the remote destination profile.

Here's what it looks like in the GUI:

capture-20210311-111437.png

Hi Jung,

 

I just noticed, your request is using AXL API 12.0, whereas mine is using 12.5.  I don't know if there's a difference that would cause your problem, but I thought I'd mention it.

 

Thanks,
Nick

Hi Nick,


addRemoteDestination with RDP works fine. I am having problem creating with "Cisco Dual Mode for iPhone" Phone.
You can add the RD from Phone web GUI. I am trying to do the same thing from AXL.

Here is the web GUI.

I attached the 4 images. 

Phone, Mobility user ID, RD from Phone and RD.


Thanks

Jung

Hi Jung,

 

I'm having trouble following your problem, since the images you posted don't match the XML you posted. In my case, InnerSpace is the remote destination and TCT700RDP is the remote destination profile.  The phone is a dual mode iPhone TCT7007.

I see that your XML has this: "<name>iphonename</name>"

If "iphonename" is the name of the device, then that's why it's not working. It should be the name of the remote destination.

 

 

Thanks,
Nick

Hi Nick,

 

Maybe I am totally confused how to add Remote Destination (RD) to dual mode iphone.

Here is the steps to add the RD to dual mode iphone from CUCM admin web gui.

- Device >> Phone

- Select New to add the new phone

- Select Phone Type to Cisco Dual Mode for iPhone

- Enter Device Name as TCT100000000000 and enter all required fields

- Make sure assigned the Mobility User ID to the phone and save

- Click on Add a New Remote Destination from the Phone page

- It will bring up the Remote Destination Configuration page

- Enter the Name and the Destination number and save

 

I captured the phone and RD using getPhone and getRemoteDestination AXL requests. Here are the responses. You can see from getRemoteDestinationResponse, <remoteDestinationProfileName uuid="{3A7D56EE-9F11-6EF8-A942-F665B9874EE8}">TCT100000000032</remoteDestinationProfileName> which contains phone name. From this I assume when I assign the RD, I need to specify the phone name not Remote Destination Profile name. If that is the case, I get the error when I used phone name in addRemoteDestination request.

 

Please let me know if I am on the wrong track.

Thanks,

Jung

 

<ns:getPhoneResponse xmlns:ns="http://www.cisco.com/AXL/API/12.0">
<return>
<phone ctiid="559" uuid="{9D0B20DD-344B-6DCF-634C-F83096029E25}">
<name>TCT100000000000</name>
<description/>
<product>Cisco Dual Mode for iPhone</product>
<model>Cisco Dual Mode for iPhone</model>
<class>Phone</class>
<protocol>SIP</protocol>
<protocolSide>User</protocolSide>
<callingSearchSpaceName/>
<devicePoolName uuid="{1B1B9EB6-7803-11D3-BDF0-00108302EAD1}">Default</devicePoolName>
<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>
<paramEditability>0</paramEditability>
<cuetLevel>1</cuetLevel>
<cucmUseSipDigest>0</cucmUseSipDigest>
<dialViaOffice>0</dialViaOffice>
<cucmUseVoiceDialing>1</cucmUseVoiceDialing>
<cucmAddVoiceDialingNumberToFavorites>1</cucmAddVoiceDialingNumberToFavorites>
<emEnabled>0</emEnabled>
<cucmGSMHandoffPreference>1</cucmGSMHandoffPreference>
<ldapUseLDAPUserAuthentication>0</ldapUseLDAPUserAuthentication>
<ldapUseSSL>0</ldapUseSSL>
<dialerEmergencyNumbers>999,911,112</dialerEmergencyNumbers>
<Ringtone>0</Ringtone>
<videoCapability>1</videoCapability>
</vendorConfig>
<versionStamp>{1615491854-4F96DAC5-679A-4DD3-B314-63FE3E3D8735}</versionStamp>
<traceFlag>false</traceFlag>
<mlppDomainId />
<mlppIndicationStatus>Off</mlppIndicationStatus>
<preemption>Disabled</preemption>
<useTrustedRelayPoint>Default</useTrustedRelayPoint>
<retryVideoCallAsAudio>true</retryVideoCallAsAudio>
<securityProfileName uuid="{5CD3A1A0-98B9-4A97-ACB0-B7A50E5C5076}">Cisco Dual Mode for iPhone - 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="{CFD9C6FB-B9FA-4A2B-935C-FC5E8A859F5D}">Standard Dual Mode for iPhone</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="{CFD9C6FB-B9FA-4A2B-935C-FC5E8A859F5D}">Standard Dual Mode for iPhone</phoneTemplateName>
<mlppDomainId />
<mlppIndicationStatus>Off</mlppIndicationStatus>
<preemption>Disabled</preemption>
<softkeyTemplateName/>
<ignorePresentationIndicators>false</ignorePresentationIndicators>
<singleButtonBarge>Off</singleButtonBarge>
<joinAcrossLines>Off</joinAcrossLines>
<callInfoPrivacyStatus>Default</callInfoPrivacyStatus>
<dndStatus />
<dndRingSetting>Disable</dndRingSetting>
<dndOption>Call Reject</dndOption>
<alwaysUsePrimeLine>Default</alwaysUsePrimeLine>
<alwaysUsePrimeLineForVoiceMessage>Default</alwaysUsePrimeLineForVoiceMessage>
<emccCallingSearchSpaceName xsi:nil="true" uuid="" 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>Default</builtInBridgeStatus>
<callInfoPrivacyStatus>Default</callInfoPrivacyStatus>
<hlogStatus>On</hlogStatus>
<ownerUserName/>
<ignorePresentationIndicators>false</ignorePresentationIndicators>
<packetCaptureMode>None</packetCaptureMode>
<packetCaptureDuration>0</packetCaptureDuration>
<subscribeCallingSearchSpaceName/>
<rerouteCallingSearchSpaceName/>
<allowCtiControlFlag>false</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>
<remoteDevice>false</remoteDevice>
<dndOption>Call Reject</dndOption>
<dndRingSetting>Disable</dndRingSetting>
<dndStatus>false</dndStatus>
<isActive>true</isActive>
<isDualMode>true</isDualMode>
<mobilityUserIdName uuid="{AA06052B-1A52-CDF2-5D00-08442A3081E4}">testuser2</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>
<AllowPresentationSharingUsingBfcp>false</AllowPresentationSharingUsingBfcp>
<confidentialAccess>
<confidentialAccessMode />
<confidentialAccessLevel>-1</confidentialAccessLevel>
</confidentialAccess>
<allowiXApplicableMedia>false</allowiXApplicableMedia>
<cgpnIngressDN/>
<useDevicePoolCgpnIngressDN>true</useDevicePoolCgpnIngressDN>
<msisdn />
<enableCallRoutingToRdWhenNoneIsActive>false</enableCallRoutingToRdWhenNoneIsActive>
<wifiHotspotProfile/>
<wirelessLanProfileGroup/>
<elinGroup/>
</phone>
</return>
</ns:getPhoneResponse>


<ns:getRemoteDestinationResponse xmlns:ns="http://www.cisco.com/AXL/API/12.0">
<return>
<remoteDestination uuid="{A961306D-E9E0-104E-DDD2-29ADA9131B82}">
<name>testrdforTCT</name>
<destination>2345678</destination>
<answerTooSoonTimer>1500</answerTooSoonTimer>
<answerTooLateTimer>19000</answerTooLateTimer>
<delayBeforeRingingCell>4000</delayBeforeRingingCell>
<ownerUserId uuid="{AA06052B-1A52-CDF2-5D00-08442A3081E4}">testuser2</ownerUserId>
<remoteDestinationProfileName uuid="{3A7D56EE-9F11-6EF8-A942-F665B9874EE8}">TCT100000000032</remoteDestinationProfileName>
<ctiRemoteDeviceName/>
<dualModeDeviceName/>
<isMobilePhone>true</isMobilePhone>
<enableMobileConnect>true</enableMobileConnect>
<lineAssociations/>
<ctiRemoteDeviceLineAssociations/>
<timeZone>Etc/GMT</timeZone>
<todAccessName uuid="{C174D87E-C68C-2E89-3347-8BA3296E457D}">TOD-RD-a961306d-e9e0-104e-ddd2-29ada9131b82</todAccessName>
<mobileSmartClientName/>
<mobilityProfileName/>
<singleNumberReachVoicemail>Use System Default</singleNumberReachVoicemail>
<dialViaOfficeReverseVoicemail>Use System Default</dialViaOfficeReverseVoicemail>
<ringSchedule/>
<accessListName/>
</remoteDestination>
</return>
</ns:getRemoteDestinationResponse>