Files
asterisk/main
Matthew Jordan ab803ec342 ARI: Add the ability to intercept hold and raise an event
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 use a framehook to intercept the
hold/unhold frames, raise an event, and eat the frame. Tasty. This patch
accomplishes that using a new dialplan function, HOLD_INTERCEPT.

In addition, some general cleanup of raising hold/unhold Stasis messages was
done, including removing some RAII_VAR usage.

Review: https://reviewboard.asterisk.org/r/4549/

ASTERISK-24922 #close


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-04-07 15:21:17 +00:00
..
2015-01-30 16:47:50 +00:00
2015-03-25 18:37:04 +00:00
2014-10-10 13:01:41 +00:00
2015-04-06 19:02:23 +00:00
2014-09-05 17:36:35 +00:00
2015-04-06 19:02:23 +00:00
2015-03-17 22:15:09 +00:00
2014-05-09 22:49:26 +00:00
2015-03-22 23:04:53 +00:00
2015-04-06 19:02:23 +00:00
2015-01-26 14:49:32 +00:00