aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xapps/app_disa.c1
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;