mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
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
This commit is contained in:
@@ -2126,6 +2126,11 @@
|
||||
"type": "string",
|
||||
"description": "Unique identifier of the channel.\n\nThis is the same as the Uniqueid field in AMI."
|
||||
},
|
||||
"protocol_id": {
|
||||
"required": true,
|
||||
"type": "string",
|
||||
"description": "Protocol id from underlying channel driver (i.e. Call-ID for chan_sip/chan_pjsip; will be empty if not applicable or not implemented by driver)."
|
||||
},
|
||||
"name": {
|
||||
"required": true,
|
||||
"type": "string",
|
||||
|
Reference in New Issue
Block a user