[asterisk-bugs] [JIRA] (ASTERISK-24161) PJSIPShowEndpoint gives inaccurate count of list items

George Joseph (JIRA) noreply at issues.asterisk.org
Thu Sep 18 11:34:29 CDT 2014


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

George Joseph closed ASTERISK-24161.
------------------------------------

                  Resolution: Fixed
    Target Release Version/s: 12.6.0
                              SVN

Fixed in commit 423284


> PJSIPShowEndpoint gives inaccurate count of list items
> ------------------------------------------------------
>
>                 Key: ASTERISK-24161
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24161
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: SVN
>            Reporter: Mark Michelson
>            Assignee: George Joseph
>      Target Release: SVN, 12.6.0
>
>
> When issuing the PJSIPShowEndpoint command, the final event sent is an EndpointDetailComplete, with a ListItems header stating the number of events that were sent.
> Currently, this has the possibility to underreport the number of events. If multiple contacts are bound to an AoR associated with an endpoint, then multiple ContactStatusDetail events will be sent out. However, no matter how many ContactStatusDetail events are emitted, only one contributes towards the ListItems count. This is because there is an assumption made by AMI endpoint formatters that each formatter emits only one event when called into. This assumption needs to be removed so that endpoint formatters may update the event count themselves if they are emitting multiple events.



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



More information about the asterisk-bugs mailing list