aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-30 17:57:44 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-30 17:57:44 +0000
commit1ce5e7e0fc34baa82969174ae1857fc85a39dbbe (patch)
tree694208149c48688bd5da559261a4e5ae45af1c5a /apps/app_dial.c
parentde2ec286726ba5707fc93bc871b68ecc38d6d14b (diff)
Fix 'g' flag (bug #3465)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4931 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-xapps/app_dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 1e5d95f3b..0c155a907 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -867,7 +867,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
ast_set2_flag(peerflags, strchr(transfer, 'w'), DIAL_MONITOR_IN);
ast_set2_flag(peerflags, strchr(transfer, 'W'), DIAL_MONITOR_OUT);
ast_set2_flag(peerflags, strchr(transfer, 'd'), DIAL_HALT_ON_DTMF);
- ast_set2_flag(tmp, strchr(transfer, 'g'), DIAL_GO_ON);
+ ast_set2_flag(peerflags, strchr(transfer, 'g'), DIAL_GO_ON);
}
strncpy(numsubst, number, sizeof(numsubst)-1);
/* If we're dialing by extension, look at the extension to know what to dial */