Microsoft Libraries

Below are Microsoft .NET samples to help you with your AppworX development.

Code to place a Phone Call

This code assumes the session is already established.
		private string MakeCall(string userID)
		{
		   //Retrieve the requested phone numbers
		   string origination = Request.QueryString["origination"];
		   string destination = Request.QueryString["destination"]);
		 
		   //Create an Appworx WebClient 
		   AppworxClient wc = new AppworxClient(method);
		   
		   //Create the Appworx request
		   wc.QueryString = new NameValueCollection();
		   wc.QueryString.Add("userId", userID);
		   wc.QueryString.Add("origination", "3:" + origination);
		   wc.QueryString.Add("destination", "3:" + destination);
		   wc.QueryString.Add("text", CallText);
		   
		   //Execute the request and return the result
		   return wc.ExecuteRequest(request);
		}
		


Copyright © 2010, IntelePeer, Inc. All Rights Reserved. Privacy Policy