[asterisk-bugs] [JIRA] (ASTERISK-24161) PJSIPShowEndpoint gives inaccurate count of list items
Mark Michelson (JIRA)
noreply at issues.asterisk.org
Tue Aug 5 11:59:56 CDT 2014
Mark Michelson created ASTERISK-24161:
-----------------------------------------
Summary: 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
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