aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-06 17:19:54 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-06 17:19:54 +0000
commit459c924b81393093662a9b76b8386e2b036cd047 (patch)
tree4e122a34403561f9c1a6f7ece649acfa3986e471
parent48127d3c0943a5235e86616e5ee93eb71d898754 (diff)
Fix typo for blind transfer (bug #3259)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4696 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xapps/app_dial.c2
-rwxr-xr-xres/res_features.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index f8f2346d3..05f2dcfee 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -787,7 +787,7 @@ static int dial_exec(struct ast_channel *chan, void *data)
memset(tmp, 0, sizeof(struct localuser));
if (transfer) {
ast_set2_flag(tmp, strchr(transfer, 't'), DIAL_ALLOWREDIRECT_IN);
- ast_set2_flag(tmp, strchr(transfer, 't'), DIAL_ALLOWREDIRECT_OUT);
+ ast_set2_flag(tmp, strchr(transfer, 'T'), DIAL_ALLOWREDIRECT_OUT);
ast_set2_flag(tmp, strchr(transfer, 'r'), DIAL_RINGBACKONLY);
ast_set2_flag(tmp, strchr(transfer, 'm'), DIAL_MUSICONHOLD);
ast_set2_flag(tmp, strchr(transfer, 'H'), DIAL_ALLOWDISCONNECT_OUT);
diff --git a/res/res_features.c b/res/res_features.c
index 04147cd20..8b2ad415b 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -418,7 +418,6 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p
int res;
int len;
- ast_log(LOG_NOTICE, "XXX Blind Transfer %s, %s (sense=%d) XXX\n", chan->name, peer->name, sense);
if (sense == FEATURE_SENSE_PEER) {
transferer = peer;
transferee = chan;