aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_sendtext.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_sendtext.c')
-rw-r--r--apps/app_sendtext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_sendtext.c b/apps/app_sendtext.c
index 6828e3f76..af4fcade5 100644
--- a/apps/app_sendtext.c
+++ b/apps/app_sendtext.c
@@ -95,6 +95,7 @@ static int sendtext_exec(struct ast_channel *chan, void *data)
ast_channel_lock(chan);
if (!chan->tech->send_text) {
ast_channel_unlock(chan);
+ pbx_builtin_setvar_helper(chan, "SENDTEXTSTATUS", status);
/* Does not support transport */
if (priority_jump || ast_opt_priority_jumping)
ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101);