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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Sep 19 16:04:46 CDT 2014


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

Matt Jordan updated ASTERISK-24161:
-----------------------------------

    Target Release Version/s: 13.0.0-beta2

> 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, 13.0.0-beta2
>
>
> 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