aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/pbx.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-10 21:48:20 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-10 21:48:20 +0000
commitd7a3bcf49b7224604a90914d4256fd02efbbfcc9 (patch)
treedff4bf7db6d813c70ce9ad1d03b9e41527b7c6eb /include/asterisk/pbx.h
parent5f074afc2205cd5859857437dd9ff8944d20d1a4 (diff)
(closes issue #6019)
Reported by: ssokol Patches: 20080304__bug6019.diff.txt uploaded by Corydon76 (license 14) Tested by: putnopvut git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107231 f38db490-d61c-443f-a65b-d21fe96a405b
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.
*/