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

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


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244974#comment-244974 ] 

Asterisk Team commented on ASTERISK-28077:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> 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
>              Labels: pjsip
>
> 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