diff options
author | Mark Spencer <markster@digium.com> | 1999-12-25 22:31:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 1999-12-25 22:31:01 +0000 |
commit | e2aa31c8ce772fecd4becbbf335bb98605a636b2 (patch) | |
tree | 1c4f4a9a06b7a9d7eb2db49114a7695a897c2775 /include/asterisk/pbx.h | |
parent | a261bdc235632d2b2e2fe20ad95f59a4b7b2341f (diff) |
Version 0.1.2 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/pbx.h')
-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 37d65a16d..e84ec59cf 100755 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -56,6 +56,11 @@ int ast_unregister_application(char *app); /* If an extension exists, return non-zero */ int ast_exists_extension(struct ast_channel *c, char *context, char *exten, int priority); +/* If "exten" *could be* a valid extension in this context with or without + some more digits, return non-zero. Basically, when this returns 0, no matter + what you add to exten, it's not going to be a valid extension anymore */ +int ast_canmatch_extension(struct ast_channel *c, char *context, char *exten, int priority); + /* Launch a new extension (i.e. new stack) */ int ast_spawn_extension(struct ast_channel *c, char *context, char *exten, int priority); |