![]() |
AT&T API Platform SDK for Microsoft®
2.3.3
Wrapper classes that allow developers to build robust applications using .NET
|
This cookbook shows you how to develop a Call Management Service(Beta) application using the Platform SDK for Microsoft.
The Platform SDK for Microsoft provides the following methods:
To use these methods in an application, perform the following steps:
To create a session for for an outgoing call or message, invoke the CreateSession method using the RequestFactory instance by passing the communicaiton parameters such as signal, as shown in the following code example.
NameValueCollection parameters = new NameValueCollection(); parameters.Add("signal","exit"); CreateSessionResponse response = this.requestFactory.CreateSession(parameters);
To send a signal to an active session, invoke the SendSignal method using the RequestFactory instance, by passing the session id and signal, as shown in the following code example.
// Active Session ID. string sessionId = "xxxxxxxxxxxxxxxxxxx"; SendSignalResponse response = this.requestFactory.SendSignal(sessionId, "exit");