Dear All,
I have installed Asterisk 11.7.25 and also 1.8.25 I tried it on both Servers.
I am also using the Asternet Library for coding.
I try the following
private void BlindTransfer(string channel, string sDestination)
{
try
{
RedirectAction ra = new RedirectAction();
ra.Context = "default";
ra.Channel = channel;
ra.Exten = sDestination;
ra.Priority = 1;
try
{
ManagerResponse mr = astCon.SendAction(ra, 10000);
Console.WriteLine("Transfer Call" + "\n\tResponse:" + mr.Response + "\n\tMessage:" + mr.Message);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
catch { }
}
Everything is working if I use a User/Device Extension as destination, if I use a Queue or Ringgroup, the call will be disconnected.
Also if I try to get the Queue Status with this:
private void QueueStatus(string sQueue)
{
QueueStatusAction qsa = new QueueStatusAction();
qsa.Queue = sQueue;
try
{
ManagerResponse mr = astCon.SendAction(qsa, 30000);
Console.WriteLine("Queue Status" + "\n\tResponse:" + mr.Response + "\n\tMessage:" + mr.Message);
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
the command always timed out! (I found out that it is working if no call is in the queues, if a call is in the queue a timeout will occure)
Same Result of the operations if I directly connect via Telnet to the Asterisk Server.
any idea?