summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/pbx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index bea2efb28..1a8b7e502 100755
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -550,6 +550,11 @@ extern void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp
int ast_extension_patmatch(const char *pattern, const char *data);
+/* Set "autofallthrough" flag, if newval is <0, does not acutally set. If
+ set to 1, sets to auto fall through. If newval set to 0, sets to no auto
+ fall through (reads extension instead). Returns previous value. */
+extern int pbx_set_autofallthrough(int newval);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif