]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-387
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 25 Jun 2009 13:24:00 +0000 (13:24 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 25 Jun 2009 13:24:00 +0000 (13:24 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13946 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index a1af9b4a1434098914231a009efbc54f20500f62..6b41831a8859097f249c2f70e12dfb9814e585de 100644 (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")) {