MakeCall method works only once per session

Status
Not open for further replies.

Steffen

Joined
Aug 4, 2017
Messages
2
Reaction score
0
Hi,

I'm using this MakeCall method out of my program to call a customer via 3CX Softclient.

public void MakeCall(string pDestination)
{
Process p = new Process();
p.StartInfo = new ProcessStartInfo("C:\\ProgramData\\3CXPhone for Windows\\PhoneApp\\CallTriggerCmd.exe");
p.StartInfo.Arguments = "-c=" + pDestination;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.UseShellExecute = false;
p.Start();
}

My problem is that I can only make one phone call per session. After the first (successful) call I need to re-register the softclient otherwise the softclient reacts on the MakeCall() but drops the call after 1-2 seconds. (without a error message)


Does anyone have a solution for this? Thank you.
 
Additional remark: it seems like a bug. I can see in the log, that the first call is going from my extension to my selected destination number. The second call is going from my extension to my extension and that's the reason why the softclient is dropping the call.
 
Status
Not open for further replies.

Forum statistics

Threads
112,322
Messages
591,890
Members
165,470
Latest member
Robert Lee