This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ua = Configure.Pjsip4Net().FromConfig().Build().Start(); | |
ua.ImManager.NatDetected += OnNatDetected; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TransferCommand : ICommand | |
{ | |
private ISipUserAgent _userAgent; | |
private TransferArguments _arguments; | |
public TransferCommand(ISipUserAgent userAgent, TransferArguments transferArguments) | |
{ | |
_userAgent = userAgent; | |
_arguments = transferArguments; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Class1 | |
{ | |
public class MyConfigurator : IConfigurationProvider | |
{ | |
public void Configure(IConfigurationContext context) | |
{ | |
var registrar = "sipgate.de"; | |
var accountId = new SipUriBuilder().AppendDomain("sipgate.de").AppendExtension("me").ToString(); | |
var proxy = "proxy.live.sipgate.de"; | |
context.RegisterAccounts(new[] |
NewerOlder