public SoftphoneEngine() { _sync = new object(); // set license here PhoneLines = new ObservableList<IPhoneLine>(); PhoneCalls = new ObservableList<IPhoneCall>(); LogEntries = new ObservableList<LogEntry>(); InstantMessages = new ObservableList<string>(); CallHistory = new CallHistory(); CallTypes = new List<CallType> { CallType.Audio, CallType.AudioVideo }; // enable file logging InitLogger(); // create softphone MinPort = 20000; MaxPort = 20500; //LocalIP = SoftPhoneFactory.GetLocalIP(); InitSoftphone(false); // create media MediaHandlers = new MediaHandlers(); MediaHandlers.Init(); }
public SoftphoneEngine() { _sync = new object(); // set license here PhoneLines = new ObservableList <IPhoneLine>(); PhoneCalls = new ObservableList <IPhoneCall>(); LogEntries = new ObservableList <LogEntry>(); InstantMessages = new ObservableList <string>(); CallHistory = new CallHistory(); CallTypes = new List <CallType> { CallType.Audio, CallType.AudioVideo }; _subs = new ConcurrentDictionary <IPhoneLine, ISIPSubscription>(); // enable file logging InitLogger(); // create softphone MinPort = 20000; MaxPort = 20500; //LocalIP = SoftPhoneFactory.GetLocalIP(); InitSoftphone(false); // create media MediaHandlers = new MediaHandlers(); MediaHandlers.Init(); }
public SoftphoneEngine() { // set license here PhoneLines = new ObservableList <IPhoneLine>(); PhoneCalls = new ObservableList <IPhoneCall>(); InstantMessages = new ObservableList <string>(); CallHistory = new CallHistory(); CallTypes = new List <CallType> { CallType.Audio, CallType.AudioVideo }; // create softphone MinPort = 20000; MaxPort = 20500; //LocalIP = SoftPhoneFactory.GetLocalIP(); InitSoftphone(false); // create media MediaHandlers = new MediaHandlers(); MediaHandlers.Init(); }