Asked By Scrumpy
20-Nov-09 08:13 AM

Hello ,
We are developing an callcenter application.
And we have build an class called"TapiManager" upon the julmar
atapi.net for communication with our Samsung office serv 100. And we
are using the Samsung openTSP driver 2007.1.24.1 on our windows2000
server.
The problem that we are having is that if there are 8 users using the
application for outbound calls the application works fine but if there
are 9 or more users tapi we are getting a "ATapi.status.CanMakeCall is
False" and it looks like the tsp is not responding to our requests.
We are also finding that the SafeHandle is closed error on one or two
computers
Details:
System.ObjectDisposedException: SafeHandle is closed
bij JulMar.Atapi.Interop.NativeMethods.lineGetLineDevStatus(HTLINE
htLine, IntPtr lpLineStatus)
bij JulMar.Atapi.TapiLine.GatherStatus()
bij JulMar.Atapi.TapiLine.Close()
bij ######.Tapi.TapiManager.Shutdown()
bij ##############################################_FormClosed
(Object sender, FormClosedEventArgs e)
bij System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
bij System.Windows.Forms.Form.WmClose(Message& m)
bij System.Windows.Forms.Form.WndProc(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage
(Message& m)
bij System.Windows.Forms.Control.ControlNativeWindow.WndProc
(Message& m)
bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
here is some one of the tapi log files that we create during calls.
19-11-2009 18:00:06 initialisation failed, status.CanMakeCall is False
19-11-2009 18:04:28 === = Start call =====
19-11-2009 18:04:28 TAPI Error: lineMakeCall failed [0x80000048] The
operation failed for unknown reason.
19-11-2009 18:04:33 Atapicallstate : Ringback -
19-11-2009 18:11:03 initialisation failed, status.CanMakeCall is
False
19-11-2009 18:11:27 === = Start call =====
19-11-2009 18:11:27 Atapicallstate : Dialtone -
19-11-2009 18:11:27 Atapicallstate : Connected -
19-11-2009 18:11:29 Atapicallstate : Ringback -
19-11-2009 18:11:29 Atapicallstate : Busy -
19-11-2009 18:11:29 Atapicallstate : Disconnected -
19-11-2009 18:11:40 Atapicallstate : Idle -
i translated it from dutch to english for you, so i hope i did it
right ?
Can anyone help me where this problem is located in the "tsp" or in
our code or even better what the problem is?
Thanks,
Scrumpy