Alexei Gradinari
8bb031abc7
res_pjsip: improve realtime performance on CLI 'pjsip show contacts'
...
CLI command 'pjsip show contacts' inefficiently make a lot of DB requests.
For example if there are 10k aors then asterisk requests these 10k records
of aor and then does 10k requests of contact - one request per aor.
Even if use 'like <pattern>' the asterisk requests all aor's and contact's
records and then filters them by itself.
This patch gathers contact's container by
- retrieving all dynamic contacts by regex (filtered by reg_server)
- retrieving all aors with permanent contacts
- finally filters container by regex
ASTERISK-28077 #close
Change-Id: Id0ad65d14952a02fb213273a90f3f680a8149618
2018-09-28 17:09:33 -05:00
..
2017-12-22 09:23:22 -05:00
2018-09-12 12:34:54 -05:00
2018-07-10 11:03:01 -05:00
2018-09-28 17:09:33 -05:00
2017-12-22 09:23:22 -05:00
2018-06-21 16:10:52 -06:00
2018-03-01 13:13:55 -06:00
2018-05-11 09:48:58 -04:00
2018-07-18 18:15:53 +00:00
2017-12-22 09:23:22 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-29 12:39:34 -06:00
2018-01-29 12:39:34 -06:00
2018-01-29 12:39:34 -06:00
2018-01-24 13:37:29 -05:00
2018-01-29 12:39:34 -06:00
2018-01-29 12:39:34 -06:00
2018-01-29 12:39:34 -06:00
2018-01-29 12:39:34 -06:00
2018-01-24 13:37:29 -05:00
2018-05-03 05:37:01 -06:00
2018-02-16 13:52:37 +01:00
2018-02-16 13:52:37 +01:00
2018-02-16 13:52:37 +01:00
2018-02-16 13:52:37 +01:00
2017-12-22 09:23:22 -05:00
2018-01-15 13:25:51 -05:00
2017-12-22 09:23:22 -05:00
2018-03-14 05:20:12 -04:00
2018-05-11 09:48:58 -04:00
2018-09-26 09:25:10 -05:00
2018-03-14 05:20:12 -04:00
2018-03-14 05:20:12 -04:00
2018-03-14 05:20:12 -04:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2018-06-08 11:03:35 +02:00
2018-01-24 13:37:29 -05:00
2018-01-15 13:25:51 -05:00
2018-01-15 13:25:51 -05:00
2018-08-29 05:20:33 -05:00
2017-12-20 12:40:01 -05:00
2017-12-22 09:23:22 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-05-21 11:03:10 -05:00
2018-04-30 16:30:44 -04:00
2018-06-21 10:18:36 -06:00
2018-09-20 11:19:03 -05:00
2017-12-22 09:23:22 -05:00
2018-03-08 13:53:09 -06:00
2018-09-07 07:58:46 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-09-26 09:25:10 -05:00
2018-03-14 05:20:12 -04:00
2018-09-12 07:26:33 -05:00
2018-09-06 13:30:12 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-08-14 08:55:38 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-02-02 18:03:06 -06:00
2018-07-27 10:58:38 -05:00
2018-02-02 18:03:06 -06:00
2018-01-24 13:37:29 -05:00
2018-04-12 17:34:16 -05:00
2018-06-21 16:10:52 -06:00
2018-09-14 14:59:23 -05:00
2018-07-24 07:20:25 -05:00
2018-01-24 13:37:29 -05:00
2018-02-01 15:33:23 -06:00
2018-01-24 13:37:29 -05:00
2018-04-11 10:31:44 -06:00
2018-01-24 13:37:29 -05:00
2018-09-14 14:59:23 -05:00
2018-04-12 17:34:16 -05:00
2018-04-18 17:32:33 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-01-24 13:37:29 -05:00
2018-07-28 08:01:27 -05:00
2018-04-12 17:34:16 -05:00
2018-08-03 04:09:15 -05:00
2018-07-06 07:03:45 -06:00
2018-09-18 11:32:18 -05:00
2018-01-24 13:37:29 -05:00
2018-09-18 06:11:23 -05:00
2018-01-24 13:37:29 -05:00
2018-08-17 18:56:24 -05:00
2018-09-14 14:59:23 -05:00
2018-01-24 13:37:29 -05:00
2018-09-14 14:59:23 -05:00
2018-01-24 13:37:29 -05:00
2017-12-22 09:23:22 -05:00
2018-09-20 04:55:32 -05:00
2018-08-15 15:32:25 -05:00
2018-09-28 07:27:24 -05:00
2017-12-22 09:23:22 -05:00
2018-01-24 13:37:29 -05:00
2017-12-22 09:23:22 -05:00
2018-07-18 13:20:49 -05:00
2018-08-17 16:33:24 -05:00
2018-09-17 10:48:03 -05:00
2018-01-15 13:25:51 -05:00
2018-01-15 13:25:51 -05:00
2018-01-24 13:37:29 -05:00
2018-09-24 15:47:37 -04:00
2018-09-24 15:47:37 -04:00
2018-01-15 13:25:51 -05:00
2018-09-12 12:34:54 -05:00
2018-09-24 15:47:37 -04:00
2018-01-29 12:39:34 -06:00
2017-12-22 09:23:22 -05:00
2017-12-22 09:23:22 -05:00
2018-08-27 13:22:31 -04:00