feat: ARI "ChannelToneDetected" event

A stasis event is now produced when using the TONE_DETECT dialplan
function. This event is published over ARI using the ChannelToneDetected
event. This change does not make it available over AMI.

Fixes: #811

UserNote: Setting the TONE_DETECT dialplan function on a channel
in ARI will now cause a ChannelToneDetected ARI event to be raised
when the specified tone is detected.
This commit is contained in:
gibbz00
2024-07-18 12:13:25 +02:00
committed by asterisk-org-access-app[bot]
parent 0f67c2696f
commit 99a5064a07
8 changed files with 169 additions and 0 deletions

View File

@@ -178,6 +178,7 @@
"ChannelUserevent",
"ChannelHangupRequest",
"ChannelVarset",
"ChannelToneDetected",
"ChannelTalkingStarted",
"ChannelTalkingFinished",
"ChannelHold",
@@ -759,6 +760,17 @@
}
}
},
"ChannelToneDetected": {
"id": "ChannelToneDetected",
"description": "Tone was detected on the channel.",
"properties": {
"channel": {
"required": true,
"type": "Channel",
"description": "The channel the tone was detected on."
}
}
},
"ChannelTalkingStarted": {
"id": "ChannelTalkingStarted",
"description": "Talking was detected on the channel.",