[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:53:54 CDT 2018


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

Friendly Automation commented on ASTERISK-28077:
------------------------------------------------

Change 10325 merged by Joshua Colp:
res_pjsip: improve realtime performance on CLI 'pjsip show contacts'

[https://gerrit.asterisk.org/10325|https://gerrit.asterisk.org/10325]

> 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