]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ari: expose channel driver's unique id to ARI channel resource
authorMoritz Fain <moritz@fain.io>
Mon, 25 Apr 2022 22:40:49 +0000 (00:40 +0200)
committerJoshua Colp <jcolp@sangoma.com>
Sun, 22 May 2022 20:40:43 +0000 (15:40 -0500)
commit4f2bd069a4deb23dae7c128587b7a08c86560eb4
tree00a0a75f2c22e4f568271ab6afcba39a2014f15b
parent95daff54ca4cc63dea55d72f44b50213478ae1bd
ari: expose channel driver's unique id to ARI channel resource

This change exposes the channel driver's unique id (i.e. the Call-ID
for chan_sip/chan_pjsip based channels) to ARI channel resources
as `protocol_id`.

ASTERISK-30027
Reported by: Moritz Fain
Tested by: Moritz Fain

Change-Id: I7cc6e7a9d29efe74bc27811d788dac20fe559b87
channels/chan_pjsip.c
doc/CHANGES-staging/ari_add_pvt_id_to_channel_resource.txt [new file with mode: 0644]
include/asterisk/stasis_channels.h
main/stasis_channels.c
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
rest-api/api-docs/channels.json
tests/test_stasis_channels.c