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?