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-03-28 12:56:12 +00:00
2015-03-30 02:29:10 +00:00
2014-11-02 07:39:36 +00:00
2014-11-20 16:36:54 +00:00
2014-05-09 22:49:26 +00:00
2015-03-26 22:19:21 +00:00
2015-03-06 21:11:11 +00:00
2015-03-26 22:19:21 +00:00
2014-04-23 15:02:39 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2014-06-20 15:27:43 +00:00
2015-03-26 22:19:21 +00:00
2014-06-20 15:27:43 +00:00
2014-06-20 15:27:43 +00:00
2014-06-20 15:27:43 +00:00
2015-03-27 07:09:26 +00:00
2015-03-12 12:58:11 +00:00
2014-06-09 03:50:45 +00:00
2015-01-30 16:47:50 +00:00
2015-01-05 22:49:40 +00:00
2015-04-07 15:21:17 +00:00
2015-03-26 22:19:21 +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
2015-03-22 23:58:23 +00:00
2015-03-26 22:19:21 +00:00
2014-12-08 15:43:14 +00:00
2015-04-07 15:21:17 +00:00
2014-10-09 17:45:23 +00:00
2015-03-26 22:19:21 +00:00
2015-03-17 22:15:09 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-28 12:19:53 +00:00
2015-03-26 23:07:15 +00:00
2014-10-17 02:41:34 +00:00
2015-03-26 22:19:21 +00:00
2015-01-09 17:54:49 +00:00
2014-09-05 17:36:35 +00:00
2015-02-26 18:52:56 +00:00
2014-08-21 14:52:06 +00:00
2015-03-26 22:19:21 +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
2014-06-27 23:21:44 +00:00
2014-11-17 16:51:16 +00:00
2015-03-28 12:56:12 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-14 02:28:56 +00:00
2014-08-07 18:51:16 +00:00
2015-04-06 16:02:09 +00:00
2014-07-20 22:06:33 +00:00
2015-04-06 17:52:13 +00:00
2015-03-27 07:09:26 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2014-05-09 22:49:26 +00:00
2015-03-30 02:44:57 +00:00
2015-02-27 18:23:22 +00:00
2015-03-22 23:04:53 +00:00
2014-12-12 23:40:50 +00:00
2015-03-27 07:09:26 +00:00
2015-03-30 11:42:00 +00:00
2015-03-26 22:19:21 +00:00
2015-04-07 15:21:17 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-04-06 19:02:23 +00:00
2014-07-20 22:06:33 +00:00
2015-03-26 22:19:21 +00:00
2014-12-20 20:57:19 +00:00
2015-03-17 21:49:30 +00:00
2014-06-24 02:50:15 +00:00
2014-05-28 22:54:12 +00:00
2014-05-22 15:52:30 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2014-08-06 12:55:28 +00:00
2015-03-26 22:19:21 +00:00
2014-06-30 04:00:19 +00:00
2015-02-19 02:01:34 +00:00
2015-02-25 21:42:04 +00:00
2015-03-28 12:56:12 +00:00
2015-01-26 14:49:32 +00:00
2014-07-20 22:06:33 +00:00
2014-07-20 22:06:33 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-10 23:09:17 +00:00
2014-07-18 19:55:24 +00:00
2014-12-01 17:57:12 +00:00
2015-04-07 15:21:17 +00:00
2014-08-06 12:55:28 +00:00
2015-01-27 19:08:44 +00:00
2014-08-06 12:55:28 +00:00
2014-08-06 12:55:28 +00:00
2015-03-26 22:19:21 +00:00
2015-03-30 02:39:18 +00:00
2015-03-26 22:19:21 +00:00
2015-01-12 18:01:24 +00:00
2015-03-26 22:19:21 +00:00
2015-02-19 15:28:10 +00:00
2014-12-04 17:13:34 +00:00
2014-09-29 20:26:50 +00:00
2015-03-26 22:19:21 +00:00
2015-03-26 22:19:21 +00:00
2015-03-04 18:52:10 +00:00
2015-03-26 22:19:21 +00:00
2014-08-21 14:39:27 +00:00
2015-03-31 11:47:14 +00:00
2014-12-17 09:54:00 +00:00
2015-03-26 22:19:21 +00:00