Features of OZEKI VoIP SIP SDK 1.9.2
OZEKI VoIP SIP SDK 1.9.2 provides a rich set of features for developing VoIP and video applications, such as:
Easy to use API: You can use the simple and intuitive methods and events of the SDK to implement the desired functionality in your application.
High compatibility: You can connect to any SIP server or PBX, such as Asterisk, Cisco, 3CX, etc. You can also use any SIP compatible hardware or software device, such as IP phones, softphones, webphones, etc.
Audio and video codecs: You can choose from a wide range of audio and video codecs, such as G.711, G.729, Speex, Opus, H.264, VP8, etc. You can also implement your own custom codecs if needed.
Media handling: You can access and manipulate the audio and video streams of the calls, such as recording, playing, mixing, transcoding, etc. You can also use various media sources and sinks, such as microphones, speakers, cameras, files, etc.
NAT traversal: You can overcome the network address translation (NAT) issues by using various techniques, such as STUN, TURN, ICE, etc.
Security: You can encrypt and authenticate your SIP signaling and media streams by using various methods, such as TLS, SRTP, SIPS, etc.
Advanced features: You can implement advanced features in your application, such as call transfer, call forwarding, call hold, call park, call pickup, conference call, DTMF signaling, presence information, instant messaging, etc.
How to use OZEKI VoIP SIP SDK 1.9.2
To use OZEKI VoIP SIP SDK 1.9.2 in your C#.Net application, you need to follow these steps:
Download and install OZEKI VoIP SIP SDK from [here].
Create a new C#.Net project in Visual Studio.
Add a reference to the Ozeki.VoIP.SDK.dll file in your project.
Write your code using the classes and methods of the SDK.
Build and run your application.
For example, to create a simple softphone that can make and receive calls, you can use the following code snippet:
```csharp using System; using Ozeki.VoIP; namespace SimpleSoftphone class Program static ISoftPhone softPhone; static IPhoneLine phoneLine; static IPhoneCall call; static void Main(string[] args) //Create a softphone object with a local IP address and port range softPhone = SoftPhoneFactory.CreateSoftPhone(SoftPhoneFactory.GetLocalIP(), 5000, 10000); //Create a SIP account with the necessary parameters var sipAccount = new SIPAccount(true,"1000","1000","1000","1000","192.168.0.100",5060); //Create a phone line with the SIP account phoneLine = softPhone.CreatePhoneLine(sipAccount); //Subscribe to the phone line events phoneLine.RegistrationStateChanged += phoneLine_RegistrationStateChanged; phoneLine.IncomingCall += phoneLine_IncomingCall; //Register the phone line to the SIP server softPhone.RegisterPhoneLine(phoneLine); //Wait for a keypress to exit Console.ReadLine(); static void phoneLine_RegistrationStateChanged(object sender,VoIPEventArgs e) //Print the registration state to the console Console.WriteLine("Registration state: 0",e.Item); //If the registration is successful, start the media devices if (e.Item == RegistrationState.RegistrationSucceeded) softPhone.StartDevices(); static void phoneLine_IncomingCall(object sender,VoIPEventArgs e) //Print the incoming call details to the console Console.WriteLine("Incoming call from 0",e.Item.DialInfo); //Accept the incoming call call = e.Item; call.CallStateChanged += call_CallStateChanged; call.Answer(); static void call_CallStateChanged(object sender,VoIPEventArgs e) //Print the call state to the console Console.WriteLine("Call state: 0",e.Item); //If the call is completed, stop the media devices and exit if (e.Item.IsCallEnded()) softPhone.StopDevices(); Environment.Exit(0); ``` For more examples and tutorials, you can visit the [official website] of OZEKI VoIP SIP SDK.
Conclusion
OZEKI VoIP SIP SDK 1.9.2 is a powerful and versatile .Net library that enables you to create VoIP and video applications in C#.Net. It supports a wide range of features and protocols, and it is compatible with any SIP server or device. It also provides a simple and easy to use API that allows you to implement your desired functionality with minimal coding. If you are looking for a reliable and high-quality solution for your VoIP and video projects, you should definitely try OZEKI VoIP SIP SDK 1.9.2.
0493d141df