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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Thu Aug 7 09:38:29 CDT 2014


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

Rusty Newton updated ASTERISK-24161:
------------------------------------

    Status: Open  (was: Triage)

> 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
>
> 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