Author Message
willisk
Joined: Jul 22, 2015
Messages: 3
Offline
I'm building a very simple click to call app in WinForms using C#. I'm following the coding example from this video: http://www.devconnectprogram.com/media/global/products_resources/avaya_agile_communication_environment/educational_resources/training_courses/ace-click-to-call-demo/index.html

However I get an error response saying Invalid input value for message part %1</text><variables>callingParty. The callingParty tel:xxxxxxxxxx is invalid

where xxxxxxxxxx is a valid phone number at my organization. I have also tried this with internal extensions, the number to other softphones, and a bunch of other combinations.

Below is my actual code with the numbers xxx'd out



public ThirdPartyCallService getAvayaService()

{
ThirdPartyCallService service = new ThirdPartyCallService();
service.Url = "https://<myserveraddress:port>/RaptorWeb/services/ThirdPartyCall";
service.Credentials = new System.Net.NetworkCredential(<username>, <password>);
service.PreAuthenticate = true;
service.Timeout = 10000;
return service;
}

private void btnConnect_Click(object sender, EventArgs e)
{
makeCall makeCallArgs = new makeCall()
{
callingParty = "tel:xxxxxxxxxx",
calledParty = "tel:xxxxxxxxxx"
};
makeCallResponse response = getAvayaService().makeCall(makeCallArgs);
}


Does anyone have any ideas or suggestions?
CraigJohnson5
Joined: Oct 24, 2013
Messages: 413
Offline
Do you have the dialing and dialed rules setup on the service provider in the ACE configuration?
willisk
Joined: Jul 22, 2015
Messages: 3
Offline
The server was setup by another group and then handed to me. Looking through the server config I do not see any service providers listed. So I'm guess that part of the problem.

Thanks for you post. I will circle back with the guys who set this up and see what service provider we should be using.
Go to:   
Mobile view