FSCORE-387

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13946 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-06-25 13:24:00 +00:00
parent e7c9b34b8d
commit 9903d328f1

View File

@ -2784,7 +2784,7 @@ SWITCH_STANDARD_API(show_function)
sprintf(sql, "select name, description, syntax, key from interfaces where type = '%s' and description != '' order by type,name", command);
}
} else if (!strcasecmp(command, "calls")) {
sprintf(sql, "select * from calls order by created_epoch");
sprintf(sql, "select * from calls order by call_created_epoch");
if (argv[1] && !strcasecmp(argv[1],"count")) {
holder.justcount = 1;
if (argv[3] && !strcasecmp(argv[2], "as")) {