mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
add support for user level auth to esl and fs_cli
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16161 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -14,7 +14,15 @@ ESLconnection::ESLconnection(const char *host, const char *port, const char *pas
|
||||
connection_construct_common();
|
||||
int x_port = atoi(port);
|
||||
|
||||
esl_connect(&handle, host, x_port, password);
|
||||
esl_connect(&handle, host, x_port, NULL, password);
|
||||
}
|
||||
|
||||
ESLconnection::ESLconnection(const char *host, const char *port, const char *user, const char *password)
|
||||
{
|
||||
connection_construct_common();
|
||||
int x_port = atoi(port);
|
||||
|
||||
esl_connect(&handle, host, x_port, user, password);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user