mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 19:14:34 +04:00
remove deprecated modules from 22-23 See https://docs.asterisk.org/Asterisk_23_Documentation/Upgrading/ and https://docs.asterisk.org/Asterisk_23_Documentation/WhatsNew/ starting in v23, astdb2sqlite3 is removed. Users still running on v10 Berkley DB must have upgraded DB prior to v23. Similarly, all Berkley DB functionality is removed. patch 150 refreshed to remove Berkley DB stuff. other patches refreshed. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
18 lines
785 B
Diff
18 lines
785 B
Diff
--- a/apps/app_queue.c
|
|
+++ b/apps/app_queue.c
|
|
@@ -4759,8 +4759,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;
|
|
}
|