Sunday, 18 August 2013

Plain Text Authentication using Asterisk.NET Library

Plain Text Authentication using Asterisk.NET Library

I am developing a windows application using Asterisk.NET Library to
connect Asterisk PBX Server. The connection to the AMI interface is
successful. But, When I use AstManProxy, It gives me a Timeout Exception
though Connecting AstManProxy using Telnet via plane text authentication,
and Issuing commands work well. I searched in the Asterisk.NET Library
sourcecode and found, Its using MD5 challenge for connecting the server...
I hope that gives me the error. Is there any way for Asterisk.NET library
to connect via plain text authentication ? Manager object doesnt have such
property... This is the code now I am establishing a connection using
Asterisk.NET manager
Asterisk.NET.Manager.ManagerConnection manager = new
Asterisk.NET.Manager.ManagerConnection(ast_host, ast_port, ast_user,
ast_pass);
manager.FireAllEvents = false;
manager.PingInterval = 0;
manager.DefaultResponseTimeout = 0;
manager.Login();
Thanks

No comments:

Post a Comment