summaryrefslogtreecommitdiff
path: root/include/asterisk/pbx.h
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-03-10 21:48:20 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-03-10 21:48:20 +0000
commitbdad3c9889ddd5cc9a5cb16509ed3ff7bbde496c (patch)
treedff4bf7db6d813c70ce9ad1d03b9e41527b7c6eb /include/asterisk/pbx.h
parent6477f207f1dd3a158ac53b0eb056a695d4884745 (diff)
(closes issue #6019)
Reported by: ssokol Patches: 20080304__bug6019.diff.txt uploaded by Corydon76 (license 14) Tested by: putnopvut git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@107231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/pbx.h')
-rw-r--r--include/asterisk/pbx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index 14e7af4b2..f7b97e8f2 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -839,6 +839,11 @@ int pbx_set_autofallthrough(int newval);
the old linear-search algorithm. Returns previous value. */
int pbx_set_extenpatternmatchnew(int newval);
+/*! Set "overrideswitch" field. If set and of nonzero length, all contexts
+ * will be tried directly through the named switch prior to any other
+ * matching within that context. */
+void pbx_set_overrideswitch(const char *newval);
+
/*!
* \note This function will handle locking the channel as needed.
*/