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?