mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-15 19:40:06 +00:00
missed a spot
This commit is contained in:
parent
e36972bc7a
commit
536ea60d60
@ -3350,7 +3350,7 @@ SWITCH_STANDARD_API(show_function)
|
|||||||
}
|
}
|
||||||
} else if (!strcasecmp(command, "distinct_channels")) {
|
} else if (!strcasecmp(command, "distinct_channels")) {
|
||||||
sprintf(sql, "select * from channels left join calls on "
|
sprintf(sql, "select * from channels left join calls on "
|
||||||
"channels.uuid=calls.caller_uuid where channels.hostname='%s' channels.uuid not in (select callee_uuid from calls where hostname='%s') order by created_epoch", hostname, hostname);
|
"channels.uuid=calls.caller_uuid where channels.hostname='%s' and channels.uuid not in (select callee_uuid from calls where hostname='%s') order by created_epoch", hostname, hostname);
|
||||||
if (argv[2] && !strcasecmp(argv[1], "as")) {
|
if (argv[2] && !strcasecmp(argv[1], "as")) {
|
||||||
as = argv[2];
|
as = argv[2];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user