mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-03 11:58:36 +00:00
skypopen: Fixed bogus values in 'sk list' report ?
This commit is contained in:
parent
43eeeb82a8
commit
60416b2298
@ -2473,10 +2473,10 @@ SWITCH_STANDARD_API(sk_function)
|
|||||||
|
|
||||||
if (!strcasecmp(argv[0], "list")) {
|
if (!strcasecmp(argv[0], "list")) {
|
||||||
int i;
|
int i;
|
||||||
int ib = 0;
|
unsigned int ib = 0;
|
||||||
int ib_failed = 0;
|
unsigned int ib_failed = 0;
|
||||||
int ob = 0;
|
unsigned int ob = 0;
|
||||||
int ob_failed = 0;
|
unsigned int ob_failed = 0;
|
||||||
char next_flag_char = ' ';
|
char next_flag_char = ' ';
|
||||||
|
|
||||||
stream->write_function(stream, "F ID\t Name \tIB (F/T) OB (F/T)\tState\tCallFlw\t\tUUID\n");
|
stream->write_function(stream, "F ID\t Name \tIB (F/T) OB (F/T)\tState\tCallFlw\t\tUUID\n");
|
||||||
@ -2505,7 +2505,7 @@ SWITCH_STANDARD_API(sk_function)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
stream->write_function(stream, "\nTotal Interfaces: %d IB Calls(Failed/Total): %ld/%ld OB Calls(Failed/Total): %ld/%ld\n",
|
stream->write_function(stream, "\nTotal Interfaces: %d IB Calls(Failed/Total): %u/%u OB Calls(Failed/Total): %u/%u\n",
|
||||||
globals.real_interfaces > 0 ? globals.real_interfaces - 1 : 0, ib_failed, ib, ob_failed, ob);
|
globals.real_interfaces > 0 ? globals.real_interfaces - 1 : 0, ib_failed, ib, ob_failed, ob);
|
||||||
|
|
||||||
} else if (!strcasecmp(argv[0], "console")) {
|
} else if (!strcasecmp(argv[0], "console")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user