« Back to Administration XML Questions

C# Add remote destination

Combination View Flat View Tree View
Threads [ Previous | Next ]
 
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?

Nobody who can help me?
is there maybe another way I can try?

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.

I think I have found the post but no SQL commands are in ther emoticon
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.