Authentication failed

Jan 21, 2014 at 5:37 AM
Edited Jan 21, 2014 at 5:37 AM
how to get more detailed information on the error: Authentication failed?
With the same login and password correctly connects through ozeki voip sdk.
ManagerConnection conn = new ManagerConnection("ip", 5038, "5000", "password");
try
{
    conn.Login();
}
catch (Exception ex)
{
    Console.WriteLine(ex.Message);
}
Coordinator
Jan 21, 2014 at 8:47 AM
I assume with your reference to "ozeki voip sdk" that the credentials you're using are a SIP account, and not a manager.conf account?

Edit the manager.conf and create a user in there, then you'll be able to use those credentials to connect to Asterisk AMI.
Jan 21, 2014 at 10:32 AM
Thank you.