Jump to content

How to start multible calls at one time via ClientLineManager


Pascal Barth1

Recommended Posts

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


  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.