diff options
author | Mark Spencer <markster@digium.com> | 2005-10-23 01:39:40 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-10-23 01:39:40 +0000 |
commit | 60e9a6edf7f6a118acc087e3de9072552928a3a5 (patch) | |
tree | 8d76e03f452424cc8446adeeb0088a81fdfa7013 | |
parent | 5f78c439502ae37c5b569f7ac8e197ff7472209c (diff) |
Fix app_disa to set the proper variable before goign to invalid (bug #5439)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | apps/app_disa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_disa.c b/apps/app_disa.c index 6786e6579..7b2be2086 100755 --- a/apps/app_disa.c +++ b/apps/app_disa.c @@ -338,6 +338,7 @@ static int disa_exec(struct ast_channel *chan, void *data) int recheck = 0; if (!ast_exists_extension(chan, ourcontext, exten, 1, chan->cid.cid_num)) { + pbx_builtin_setvar_helper(chan, "INVALID_EXTEN", exten); exten[0] = 'i'; exten[1] = '\0'; recheck = 1; |