diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 1999-12-25 22:31:01 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 1999-12-25 22:31:01 +0000 |
commit | 58a98794f1945de56ce39c9b556491fca1e20dca (patch) | |
tree | 1c4f4a9a06b7a9d7eb2db49114a7695a897c2775 /include | |
parent | e27f9ec1f9b7901e61e75add6350eb1d06cf6202 (diff) |
Version 0.1.2 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@149 f38db490-d61c-443f-a65b-d21fe96a405b
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 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); |