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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Oct 1 06:51:54 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Friendly Automation closed ASTERISK-28077.
------------------------------------------

    Resolution: Fixed

> 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
>            Assignee: Alexei Gradinari
>            Severity: Minor
>              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