public MyCallRoutingInterceptor(OpsClient client) { dndExtensions = new List<string>(); _client = client; var ext0 = _client.GetAPIExtension(); var ext1 = _client.GetAPIExtension("1000"); var ext2 = _client.GetAPIExtension("9999"); var server = _client.GetAPIExtension("server"); var pgnotebook = _client.GetAPIExtension("pgnotebook"); //server.IncomingCall += server_IncomingCall; //server.Disconnected += server_Disconnected; //pgnotebook.IncomingCall += pgnotebook_IncomingCall; //pgnotebook.Disconnected += pgnotebook_Disconnected; }
public MyCallRoutingInterceptor(OpsClient client) { dndExtensions = new List <string>(); _client = client; var ext0 = _client.GetAPIExtension(); var ext1 = _client.GetAPIExtension("1000"); var ext2 = _client.GetAPIExtension("9999"); var server = _client.GetAPIExtension("server"); var pgnotebook = _client.GetAPIExtension("pgnotebook"); //server.IncomingCall += server_IncomingCall; //server.Disconnected += server_Disconnected; //pgnotebook.IncomingCall += pgnotebook_IncomingCall; //pgnotebook.Disconnected += pgnotebook_Disconnected; }
public IAPIExtension GetAPIExtension(string extension_name) { return(ops_client.GetAPIExtension(extension_name)); }
public IAPIExtension GetAPIExtension(string extensionName) { return(_client.GetAPIExtension(extensionName)); }