diff options
Diffstat (limited to 'include/asterisk/pbx.h')
-rw-r--r-- | include/asterisk/pbx.h | 5 |
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. */ |