aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hook/check_channelallowed.bb
diff options
context:
space:
mode:
Diffstat (limited to 'doc/hook/check_channelallowed.bb')
-rw-r--r--doc/hook/check_channelallowed.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hook/check_channelallowed.bb b/doc/hook/check_channelallowed.bb
new file mode 100644
index 000000000..e7559c92f
--- /dev/null
+++ b/doc/hook/check_channelallowed.bb
@@ -0,0 +1,11 @@
+[h2]check_channelallowed[/h2]
+
+Called when checking the channel (xchan) black and white lists to see if a channel is blocked.
+
+Hook data
+
+ array('hash' => xchan_hash of xchan to check);
+
+ create and set array element 'allowed' to true or false to override the system checks
+
+