mirror of
https://github.com/openwrt/telephony.git
synced 2025-05-01 08:20:01 +08:00

Update to most recent LTS release addressing multiple security and stability issues. Complete changelog: https://github.com/asterisk/asterisk/compare/20.5.2...20.8.1 Note that res-stir-shaken switched to use libjwt instead of providing a built-in JWT implementation. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
18 lines
785 B
Diff
18 lines
785 B
Diff
--- a/apps/app_queue.c
|
|
+++ b/apps/app_queue.c
|
|
@@ -4625,8 +4625,12 @@ static int is_longest_waiting_caller(str
|
|
* will be unused until the first caller is picked up.
|
|
*/
|
|
if (ch->start < caller->start && !ch->pending) {
|
|
- ast_debug(1, "Queue %s has a call at position %i that's been waiting longer (%li vs %li)\n",
|
|
- q->name, ch->pos, ch->start, caller->start);
|
|
+ char time1[AST_TIME_T_LEN];
|
|
+ char time2[AST_TIME_T_LEN];
|
|
+ ast_time_t_to_string(ch->start, time1, sizeof(time1));
|
|
+ ast_time_t_to_string(caller->start, time2, sizeof(time2));
|
|
+ ast_debug(1, "Queue %s has a call at position %i that's been waiting longer (%s vs %s)\n",
|
|
+ q->name, ch->pos, time1, time2);
|
|
is_longest_waiting = 0;
|
|
break;
|
|
}
|