diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-09 19:10:02 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-09 19:10:02 +0000 |
commit | 0553909c6585adc8bb2fc81a4c2ba73ec2e4ddfb (patch) | |
tree | d684b69b0997c7e491afd637549e46f117868989 /include/asterisk/pbx.h | |
parent | 7ee1f975529b314bcd21d9efb33e2e8df715e065 (diff) |
Add ability for dialplan execution to continue when caller hangs up.
The F option to app_dial has been modified to accept no parameters and perform
the above functionality. I don't see anywhere else that is doing function
overloading, but this really is the best place for this operation because:
- It makes it close to the 'g' option in the argument list which provides
similar functionality.
- The existing code to support the current F option provides a very
convienient location to add this new feature.
(closes issue #12381)
Reported by: michael-fig
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@187491 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/pbx.h')
-rw-r--r-- | include/asterisk/pbx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index d3cfb2630..cd327661f 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -34,6 +34,7 @@ extern "C" { #define AST_MAX_APP 32 /*!< Max length of an application */ +#define AST_PBX_GOTO_FAILED -3 #define AST_PBX_KEEP 0 #define AST_PBX_REPLACE 1 |