Pascal Barth1 Posted July 1, 2016 #1 Share Posted July 1, 2016 Hello community, i am planing to write a program that allows the working with multible clients in one windows form to test callroutings, queues and other projects for swyxware. I write this in C# and at the moment i am testing the possibility of this projekt. Now i have a question. How can i start multicalls at one time for example with 3 Clients on one PC. I activated already the Powerdialmode via the registry DWORD EnablePowerDialingMode. At the moment i can successfully register more than one client with the server but if i start more than one call with the Method "simpleDial()" it justs starts the first one. I tried already to start the ClientLinemanager object in an own thread or in an own projekt, with different lines or just one Client object for 2 clients... Nothing worked. Here is the actual testing code for a c# Console application: c# Snipped: _________________________ static void Main(string[] args) { string userName = ""; ClientLineMgrClass lineManager = new ClientLineMgrClass(); ClientLineMgrClass lineManager_ = new ClientLineMgrClass(); lineManager.RegisterUserEx("192.168.0.99", "", "testbarth", "205", 1, 0, out userName); lineManager_.RegisterUserEx("192.168.0.99", "", "test702", "702", 1, 0, out userName); lineManager_.SimpleDial("123", 0); //the first call Thread.Sleep(200); lineManager.SimpleDial("121", 1); //the second call Console.ReadLine(); } ________________________ Thanks by this way... Pascal Barth EDIT: I need to connect more than one user with the server, after i registered "test702" testbarth gets disconnected(logged off) Link to comment Share on other sites More sharing options...
Pascal Barth1 Posted July 27, 2016 Author #2 Share Posted July 27, 2016 Solved it, I just use one User and handle the multible lines for my calls. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.