.NET wrapper for PJSUA2 (not the first one).
There are several others on nuget:
For more information about the PJSIP project see https://www.pjsip.org/
The problem was, only pjsip-pjsua2-cs uses PJSIP version 2.10.1, that is also not the latest. There is no public repository to build that and mailing the owner has not answered.
pjsip-pjsua2-csharp is two years inactive.
So i decided to do it my own, using the help of pjsip-pjsua2-csharp's build-it-yourself documentation (thanks a lot).
pjsua2.net.dll - .NET Core (netcoreapp3.1) wrapper library
pjsua2.dll - Native Windows x64 PJSUA2 library including SWIG generated C# wrappers
The pjsua2.net.dll includes two additional static classes:
public static class PjsipInfo
{
// Get included PJSIP version
public static string GetVersionInfo();
}
public static class PjsipExt
{
// Enable the pj-media-neg extension
public static int EnableTelephoneEventNegotiationExtension();
}
Mor information for pj-media-neg...
April 2021
June 2021
October 2023
March 2024
October 2024
Set PJ_LOG_MAX_LEVEL to desired value in site_config.h
For example:
# define PJ_LOG_MAX_LEVEL 5
The code in this repository is under MIT license.
The code in PJSIP (not included here) is under General Public License (GPL) version 2.
For more information see: https://www.pjsip.org/licensing.htm