]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_endpoint_identifier_ip.c: Allow multiple IdentifyDetail AMI events.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 4 Jan 2018 23:04:39 +0000 (17:04 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 9 Jan 2018 18:01:14 +0000 (12:01 -0600)
commita8a2f39f048c06773eb3e97703d8b8bdcd3e91bd
treef2756d9c076116feb389af35e4ada3bf7472c6d5
parent637f6216c40202c60209f4f985433a568e02c9a8
res_pjsip_endpoint_identifier_ip.c: Allow multiple IdentifyDetail AMI events.

The AMI PJSIPShowEndpoint action could only list one IdentifyDetail AMI
event per endpoint.  However, there is no reason that multiple
type=identify sections cannot identify the same endpoint.

* Reworked format_ami_endpoint_identify() to generate as many
IdentifyDetail AMI events as there are matching identifiers.

Change-Id: Ie146792aef72d78e05416ab5b27bc552a30399db
res/res_pjsip_endpoint_identifier_ip.c