From bdad3c9889ddd5cc9a5cb16509ed3ff7bbde496c Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 10 Mar 2008 21:48:20 +0000 Subject: (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 --- include/asterisk/pbx.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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. */ -- cgit v1.2.3