From 58a98794f1945de56ce39c9b556491fca1e20dca Mon Sep 17 00:00:00 2001 From: markster Date: Sat, 25 Dec 1999 22:31:01 +0000 Subject: Version 0.1.2 from FTP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@149 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/pbx.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/asterisk/pbx.h') 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); -- cgit v1.2.3