- Joined
- Nov 21, 2023
- Messages
- 9
- Reaction score
- 0
Hello everyone
We are attempting to initiate a call flow from a custom C# application (WebAPI .NET 6.0).
Through our initial testing method:
[HttpPost]
public ActionResult Post()
{
try
{
// "arg1", "Source of the call"
// "arg2", "Destination of the call"
string arg1 = "100";
string arg2 = "XXXXXXXXXX"; // replaced with the destination number
PhoneSystem.Root.MakeCall(arg1, arg2);
return Ok("Test app success");
}
catch (Exception ex)
{
_logger.LogError($"Error during the call: {ex.Message}");
Console.WriteLine(_logger);
return StatusCode(500, "An error occurred during the call.");
}
}
We don't have any errors in the script, and the dll (3cxpscomcpp2.dll) has been successfully integrated.
The goal is to initiate a call using a C# script. However, we are encountering an error related to the dll (cxpscom_native.dll) that we are unable to integrate into the project when we attempt to add the reference.
Where could the issue with integrating the dll originate from? (Please note that the "sll.dll" also refuses to integrate, and we receive an "unsupported or invalid reference" error.)

Could someone provide us with assistance on this matter or point us in the right direction?
Thank you for the community's help.
Best regards.
We are attempting to initiate a call flow from a custom C# application (WebAPI .NET 6.0).
Through our initial testing method:
[HttpPost]
public ActionResult Post()
{
try
{
// "arg1", "Source of the call"
// "arg2", "Destination of the call"
string arg1 = "100";
string arg2 = "XXXXXXXXXX"; // replaced with the destination number
PhoneSystem.Root.MakeCall(arg1, arg2);
return Ok("Test app success");
}
catch (Exception ex)
{
_logger.LogError($"Error during the call: {ex.Message}");
Console.WriteLine(_logger);
return StatusCode(500, "An error occurred during the call.");
}
}
We don't have any errors in the script, and the dll (3cxpscomcpp2.dll) has been successfully integrated.
The goal is to initiate a call using a C# script. However, we are encountering an error related to the dll (cxpscom_native.dll) that we are unable to integrate into the project when we attempt to add the reference.
Where could the issue with integrating the dll originate from? (Please note that the "sll.dll" also refuses to integrate, and we receive an "unsupported or invalid reference" error.)

Could someone provide us with assistance on this matter or point us in the right direction?
Thank you for the community's help.
Best regards.
Last edited: