cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2658
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

You're right, and that process seems correct to me.  So in this case, I'd add a remote destination this way (TCT7007 is the iPhone):

 

<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>
         <remoteDestination>
            <name>TCT7007</name>
            <destination>7007009</destination>
            <answerTooSoonTimer>1500</answerTooSoonTimer>
            <answerTooLateTimer>19000</answerTooLateTimer>
            <delayBeforeRingingCell>4000</delayBeforeRingingCell>
            <ownerUserId>nicholas</ownerUserId>
            <enableUnifiedMobility>true</enableUnifiedMobility>
            <dualModeDeviceName>TCT7007</dualModeDeviceName>
            <isMobilePhone>true</isMobilePhone>
            <enableMobileConnect>true</enableMobileConnect>
         </remoteDestination>
      </ns:addRemoteDestination>
   </soapenv:Body>
</soapenv:Envelope>

This works fine for me. Reply:

<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>{9CC6619D-0539-D847-58E9-BBC0DBDE7BB0}</return>
      </ns:addRemoteDestinationResponse>
   </soapenv:Body>
</soapenv:Envelope>

jdrinkwater
Level 1
Level 1

Hi Nick,

I think I am going to open a new case. What do you think?

Thanks!

Jung

I thought we solved it here.  What problem are you still having? 

 

Thanks,
Nick

jdrinkwater
Level 1
Level 1

Hi Nick,

Still can't get the request to work. Trying to add the RD to TCT phone.

TCT phone has to be specified in <remoteDestinationProfileName> tag for addRemoteDestination request not <dualModePhoneName> tag. There are two remote destinations. One is Mobility Identity which uses <dualModePhoneName> and the other is Remote Destination which uses <remoteDestinationProfileName> for TCT phone.

Thanks,

Jung

How is your request different than the one I posted that works?

jdrinkwater
Level 1
Level 1

Hi Nick,

Different tags are in bold. 

Jung

 

Here is your request:

 <ns:addRemoteDestination>
<remoteDestination>
<name>TCT7007</name>
<destination>7007009</destination>
<answerTooSoonTimer>1500</answerTooSoonTimer>
<answerTooLateTimer>19000</answerTooLateTimer>
<delayBeforeRingingCell>4000</delayBeforeRingingCell>
<ownerUserId>nicholas</ownerUserId>
<enableUnifiedMobility>true</enableUnifiedMobility>
<dualModeDeviceName>TCT7007</dualModeDeviceName>
<isMobilePhone>true</isMobilePhone>
<enableMobileConnect>true</enableMobileConnect>
</remoteDestination>
</ns:addRemoteDestination>

 

Here is mine:

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

Try setting <name>1113</name> to <name>TCT11113</name>

 

 

jdrinkwater
Level 1
Level 1

No luck,

Still getting the same error response.

<?xml version='1.0' encoding='UTF-8'?><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>

I followed the exact steps you outlined, after which my SOAP request worked fine, as you can see from my post with the request and response.

 

I repeated the process just to make sure it really works. Here are the steps I followed (copied from your post on this):

 

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 TCT9007 and enter all required fields

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

 

Then I did this in AXL:

 

<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>
         <remoteDestination>
            <name>TCT9007</name>
            <destination>7009009</destination>
            <answerTooSoonTimer>1500</answerTooSoonTimer>
            <answerTooLateTimer>19000</answerTooLateTimer>
            <delayBeforeRingingCell>4000</delayBeforeRingingCell>
            <ownerUserId>nicholas</ownerUserId>
            <enableUnifiedMobility>true</enableUnifiedMobility>
            <dualModeDeviceName>TCT9007</dualModeDeviceName>
            <isMobilePhone>true</isMobilePhone>
            <enableMobileConnect>true</enableMobileConnect>
         </remoteDestination>
      </ns:addRemoteDestination>
   </soapenv:Body>
</soapenv:Envelope>

The response:

<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>{74A6FB5C-8792-A87A-19E9-0B80A11C8C9A}</return>
      </ns:addRemoteDestinationResponse>
   </soapenv:Body>
</soapenv:Envelope>

 

 

jdrinkwater
Level 1
Level 1

Hi Nick,

Did you check cucm admin page for the phone and where the RD was added after your request was done? Mobility Identity or Remote Destination of the phone.

Please let me know.

Thanks,

Jung

 

Here's what it looks like (I didn't create a mobility identity):

 

capture-20210406-160457.png

jdrinkwater
Level 1
Level 1

OK when I do it it goes to MI. I will try again....

 

jdrinkwater
Level 1
Level 1

Hi Nick,

OMG it worked! Don't know what I did wrong before. 

Sorry to waste your time....

Thanks so much!!

Jung

It's not a waste, it's my job!  My pleasure, glad you have it working now.