[asterisk-bugs] [JIRA] (ASTERISK-24922) ARI: Add the ability to intercept hold and raise an event
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Mar 27 20:44:34 CDT 2015
Matt Jordan created ASTERISK-24922:
--------------------------------------
Summary: ARI: Add the ability to intercept hold and raise an event
Key: ASTERISK-24922
URL: https://issues.asterisk.org/jira/browse/ASTERISK-24922
Project: Asterisk
Issue Type: New Feature
Security Level: None
Components: Resources/res_ari_channels
Reporter: Matt Jordan
For some applications - such as SLA - a phone pressing hold should not behave in the fashion that the Asterisk core would like it to. Instead, the hold action has some application specific behaviour associated with it - such as disconnecting the channel that initiated the hold; only playing MoH to channels in the bridge if the channels are of a particular type, etc.
One way of accomplishing this is to mimic the {{TALK_DETECT}} function - that is, use a framehook. The framehook can intercept the hold frame, and instead of passing it on to the core, it can raise an event.
The patch attached to this issue accomplished that as a new dialplan function, {{HOLD_INTERCEPT}}.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list