summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-06-02 17:16:49 +0000
committerMark Spencer <markster@digium.com>2005-06-02 17:16:49 +0000
commit7b03b102c96811d9d6c47f49a95fb0172ce38c4f (patch)
tree064de5870a315acaca30187285156618e18cc9dd
parentdf349078da972b0ce0aa778d2c6a7b449a14f6e7 (diff)
Setup transfer capability properly for outbound calls (bug #4434)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xchannels/chan_zap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 31964dd53..9dbedc294 100755
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -7281,6 +7281,8 @@ static struct ast_channel *zt_request(const char *type, int format, void *data,
} else if (opt == 'd') {
/* If this is an ISDN call, make it digital */
p->digital = 1;
+ if (tmp)
+ tmp->transfercapability = AST_TRANS_CAP_DIGITAL;
} else {
ast_log(LOG_WARNING, "Unknown option '%c' in '%s'\n", opt, (char *)data);
}