Hi,
We are using AsterNet to implementing Auto Dial in our contact center for out calling.
It is a web service which get “from” and “to” and “projectCode” then it will use OriginateAsync method to make call as below:
[WebMethod]
public void ClickToDialFromTo(string from, string to, int projectCode)
{
try
{
AriClient ActionClient = new AriClient(new StasisEndpoint("voip", 8088, "root", "password"), "HelloWorld", false);
ActionClient.Connect();
ActionClient.Channels.OriginateAsync("SIP/" + from, + projectCode + to, "from-internal-additional", 1, null, null, null, to, null, null, null, null, null, null);
ActionClient.Disconnect();
ActionClient.Dispose();
}
catch (Exception ex)
{
string err = ex.Message;
}
}
Everything is good when we test it directly but while we use the web service in Share Point forms (as a click to dial button), connection to asterisk (ActionClient.Connect()) goes to be interrupted right after agents start to call simultaneously.
Is there any configuration on Asterisk for connection request limit? May it be related to Allow-Access-Origin option on ARI.conf file?
Any one has any idea please?
Thanks