summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-06-11 12:14:38 +0000
committerMark Spencer <markster@digium.com>2003-06-11 12:14:38 +0000
commit5b7ef7bfa3a942eeb7578a8c925ef1731ce27438 (patch)
treeafe225fecdde2f43036982db83499d02621ec60b /include
parent51973e530b9acabe13c7c5ed1500919f0e5f37e1 (diff)
Use digit/response timeouts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/pbx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index fa2c5131b..f86793e92 100755
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -68,6 +68,13 @@ struct ast_switch {
int (*matchmore)(struct ast_channel *chan, char *context, char *exten, int priority, char *callerid, char *data);
};
+struct ast_pbx {
+ int dtimeout; /* Timeout between digits (seconds) */
+ int rtimeout; /* Timeout for response
+ (seconds) */
+};
+
+
//! Register an alternative switch
/*!
* \param sw switch to register