diff options
author | Mark Spencer <markster@digium.com> | 2004-10-16 19:46:02 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-10-16 19:46:02 +0000 |
commit | 996c8e7126181f020fe11f38b3d42d6a5983b524 (patch) | |
tree | e95d5e54684b9b5ea3c4914c82ca36558f2a82c3 /include | |
parent | eadd6c5509c47594b82b13db1da15b56560cd7d8 (diff) |
Add autofallthrough mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-x | 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 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 |