NuGet makes incorporating third party libraries into .NET applications quick and easy. It also simplifies keeping your references current as new versions of the libraries are released. With the Voice Elements client now in NuGet, you can now start writing your own phone system in Visual Studio with just a few clicks!

Manage NuGet Packages

Select ‘Manage NuGet Packages…’ on your project.

Manage NuGet Packages Screenshot

Browse for Voice Elements

Browse Voice Elements Screenshot

Install the Voice Elements Package

Install Package Screenshot

Start coding!

You are now ready to start writing your VoIP phone application using either C# or VB.NET. Simply add a reference to VoiceElements.Client, create an instance of the TelephonyServer class and run your MainCode on a new thread:

using VoiceElements.Common;
…
public class IvrApplication
{
       public static TelephonyServer m_server = null;
       public static MainCode()
       { 
                   m_server = new TelephonyServer(“server", “userName", "password");
                   m_server.NewCall += new NewCall(Server_NewCall);
                  while(true)
                  {
                        // Run until need to stop
                  }
       }
       static void Server_NewCall(object sender, NewCallEventArgs e)
       {
           e.ChannelResource.Answer();
           e.ChannelResource.VoiceResource.PlayTTS("Thank you for calling!"); 
           …          
       }

To help get you started, we have a library of free Visual Studio sample projects to show you the power of Voice Elements: Inbound & Outbound calling, IVR with Transfer, Dialer, Speech Recognition, Faxing (send & receive) and more.

Best of all you can start writing and testing your phone system using our demo server today for free. When you are ready to deploy your new PBX, you can either continue using our cloud services or you can install Voice Elements on your own Windows Server and run your application as a Windows Service.

Start your free trial today and start writing your own VoIP phone system!

Learn More Try Our Demos!