[asterisk-bugs] [JIRA] (ASTERISK-28077) res_pjsip: improve realtime performance on CLI 'pjsip show contacts'

Alexei Gradinari (JIRA) noreply at issues.asterisk.org
Tue Sep 25 17:32:54 CDT 2018


Alexei Gradinari created ASTERISK-28077:
-------------------------------------------

             Summary: res_pjsip: improve realtime performance on CLI 'pjsip show contacts'
                 Key: ASTERISK-28077
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28077
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 13.23.1
            Reporter: Alexei Gradinari


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 filtered them by itself.

Better to request dynamic contacts directly and request only aors with permanent contacts.




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list