Fix typo for blind transfer (bug #3259)
authorMark Spencer <markster@digium.com>
Thu, 6 Jan 2005 17:19:54 +0000 (17:19 +0000)
committerMark Spencer <markster@digium.com>
Thu, 6 Jan 2005 17:19:54 +0000 (17:19 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4696 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c
res/res_features.c

index f8f2346..05f2dcf 100755 (executable)
@@ -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);    
index 04147cd..8b2ad41 100755 (executable)
@@ -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;