Category Archives: Code – Sonus

Code – Sonus in C# – Part 01 of 05

This post is part 1 of a series of 5 on writing C# applications using Sonus API.

I used Microsoft Visual Studio Community 2015 running Windows 10 and targeted Windows Desktop Application to .NET Framework 4.6.1.

The REST APIs are provided for developers who want to programmatically integrate the Sonus SBC 1000/2000 into their application, and for administrators who want to script interactions with the Sonus SBC 1000/2000 gateway.

Sonus SBC 1000/2000’s REST APIs provide access to resources via URI paths. To use a REST API, your application makes HTTPs requests and parses the responses. Currently, the only supported response format is XML. Methods used by developers are standard HTTP methods such as GET, PUT, POST, and DELETE to communication resources.

In the App.config nothing special, just reference to .NET Framework 4.6.1.

App.config

Continue reading