Ejemplo n.º 1
0
        public ArkeCallFlowService()

        {
            _logger.Info("ArkeCallFlowService Created");
            ConnectedLines           = new Dictionary <string, ICall>();
            _cancellationTokenSource = new CancellationTokenSource();
            _ariClient = ObjectContainer.GetInstance().GetObjectInstance <IAriClient>();
            _sipApi    = ObjectContainer.GetInstance().GetObjectInstance <ArkeSipApiClient>();
        }
Ejemplo n.º 2
0
 public static ArkeSipApiClient GetInstance(IAriClient ariClient, ILogger logger)
 {
     return(_instance ?? (_instance = new ArkeSipApiClient(ariClient, logger)));
 }