cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
268
Views
0
Helpful
1
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Jan Aarts on 03-09-2012 09:12:10 AM
 
with this code
AddRemoteDestinationReq MyDestination = new AddRemoteDestinationReq();
        StandardResponse _Response = new StandardResponse();
        XRemoteDestination _Destination = new XRemoteDestination();
        _Destination.name = this.TxtUserID.Text + "-RDI" ;
        _Destination.destination = this.Lbl_E164.Text;
        _Destination.answerTooSoonTimer = "500";
        _Destination.answerTooLateTimer = "16000";
        _Destination.delayBeforeRingingCell = "0";
        _Destination.Item = this.Txt_RDP.Text;
        _Destination.enableMobileConnect = true;
        _Destination.timeZone = "Etc/GMT";
        _Destination.isMobilePhone = false;
       
        MyDestination.newRemoteDestination = _Destination;
        _Response= MyAxlServer.addRemoteDestination(MyDestination);
I get:
  InnerException {"Value of ItemElementName mismatches the type of XDevice; you need to set it to ItemChoiceType13.@dualModeDevice."} System.Exception {System.InvalidOperationException}
is there someone that can tell me what I'm doing wrong?

Subject: RE: C# Add remote destination
Replied by: Jan Aarts on 11-09-2012 05:24:53 AM
Nobody who can help me?
is there maybe another way I can try?

Subject: Re: New Message from Jan Aarts in Administration XML (AXL) - Administration
Replied by: Erick Wellnitz on 11-09-2012 09:38:11 AM
I think I had to use SQL to add a remote destination and there was another odd place I had to access for all functionality.  This was for version 8.0 at the time.

It should be in a post here in the dev community. 

Sent from my iPad

On Sep 11, 2012, at 4:26 AM, "Cisco Developer Community Forums" <cdicuser@developer.cisco.com> wrote:

> Jan Aarts has created a new message in the forum "Administration XML Questions":
>
> --------------------------------------------------------------
> Nobody who can help me?
> is there maybe another way I can try?
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/axl/forums/-/message_boards/view_message/6473319>
>
> or simply reply to this email.

Subject: RE: Re: New Message from Jan Aarts in Administration XML (AXL) - Administra
Replied by: Jan Aarts on 19-09-2012 10:10:58 AM
I think I have found the post but no SQL commands are in ther
can you please share the sql Queries?
Thanks,
I think I had to use SQL to add a remote destination and there was another odd place I had to access for all functionality. This was for version 8.0 at the time.

It should be in a post here in the dev community.

Sent from my iPad

On Sep 11, 2012, at 4:26 AM, "Cisco Developer Community Forums" <cdicuser@developer.cisco.com> wrote:

> Jan Aarts has created a new message in the forum "Administration XML Questions":
>
> --------------------------------------------------------------
> Nobody who can help me?
> is there maybe another way I can try?
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/axl/forums/-/message_boards/view_message/6473319>
>
> or simply reply to this email.

Comments
brian.yule
Community Member

I'm working on the same thing in c#.

This isn't tested, but try this:

var userUpdate = new AddRemoteDestinationReq

            {

                remoteDestination = new XRemoteDestination

                {

                    destination = phoneNumber,

                    enableMobileConnect = "true",

                    ItemElementName = ItemChoiceType16.remoteDestinationProfileName,

                    Item = new XFkType(){

                        Value=  remoteDestinationProfileName

                    },

                    name = phoneNumber

                }

            };

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links