[Home]

Summary:ASTERISK-24161: PJSIPShowEndpoint gives inaccurate count of list items
Reporter:Mark Michelson (mmichelson)Labels:
Date Opened:2014-08-05 11:58:09Date Closed:2014-09-18 11:34:09
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Resources/res_pjsip
Versions:SVN Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description: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.
Comments:By: George Joseph (gjoseph) 2014-09-18 11:34:09.140-0500

Fixed in commit 423284