Hi,
Community and Experts.
I am new to the API and SDK. i want to get help and guideline from the experts where to start and which way to follow.
I have downloaded the SDK from the website RCdotNetXDK, i found this is the place where i can start. i am just making a sample application using this SDK. I found that there is functions given in the SDk to send the SMS but there is no option to make an outgoing call . so i added the class in the same way as in SMS
public class RingOutServices {
private const string API_RESOURCE = "/ringout";
private const string API_RESOURCE_DELETE = "/ringout/44";
private ApiClient ApiClient { get; set; }
internal RingOutServices(ApiClient apiClient)
{
this.ApiClient = apiClient;
}
public void MakeCall(RingOutCall call)
{
ApiClient.PostFromExtension(API_RESOURCE, call.ToString());
}
public void CancelCall()
{
ApiClient.DeleteFromExtension(API_RESOURCE_DELETE, "");
}
public void MakeCall(string from, string to, string text,string country)
{
MakeCall (new RingOutCall { Called = new PhoneNumber(to), Calling = new PhoneNumber(from), PlayPromt = text,Country=country });
}
}
and
public class RingOutCall {
public PhoneNumber Called { get; set; }
public PhoneNumber Calling { get; set; }
public string PlayPromt { get; set; }
public string Country { get; set; }
public override string ToString()
{
var obj = JObject.FromObject(new
{
to = from r in new List<string> { this.Called.GetE164() }
select new
{
phoneNumber = r
},
from = new { phoneNumber = Calling.GetE164() },
text = PlayPromt,
country = Country
});
return obj.ToString();
}
}
so i have some questions regarding this :
- How to put call on hold?
- how to make a conference call while there is call in progress?
- How to get notification of an incoming call with the caller id prompt on screen?
- how to cancel an outgoing or incoming call?
- how to enable disable call recording?
these are some basics questions that i need help so i can start the application. Any help regarding this .. is i am going to the right way? is this the SDK with which i can start?
Waiting for the positive help..