From 7b03b102c96811d9d6c47f49a95fb0172ce38c4f Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Thu, 2 Jun 2005 17:16:49 +0000 Subject: [PATCH] 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 --- channels/chan_zap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 31964dd537..9dbedc2941 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); }