mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
Fix win32 Build
Update win32 Setup add show calls and show channels git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1884 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -207,10 +207,16 @@ static switch_status_t show_function(char *cmd, switch_stream_handle_t *stream)
|
||||
) {
|
||||
sprintf (sql, "select * from interfaces where type = '%s'", cmd);
|
||||
}
|
||||
else if ( !strcmp(cmd,"calls")) {
|
||||
sprintf (sql, "select * from calls", cmd);
|
||||
}
|
||||
else if ( !strcmp(cmd,"channels")) {
|
||||
sprintf (sql, "select * from channels", cmd);
|
||||
}
|
||||
else {
|
||||
stream->write_function(stream, "Invalid interfaces type!\n");
|
||||
stream->write_function(stream, "Example:\n");
|
||||
stream->write_function(stream, "show <blank>|codec|application|api|dialplan|file|timer\n");
|
||||
stream->write_function(stream, "show <blank>|codec|application|api|dialplan|file|timer|calls|channels\n");
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user