Sign in to follow this  
Pascal Barth1

How to start multible calls at one time via ClientLineManager

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)

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this