aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-02 17:16:49 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-06-02 17:16:49 +0000
commit08de6b9f02f959774a985aa08ef74ea202debe1f (patch)
tree064de5870a315acaca30187285156618e18cc9dd /channels/chan_zap.c
parentaf213eb377204f094aa4f44bd16bcfbaa51c8f53 (diff)
Setup transfer capability properly for outbound calls (bug #4434)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5813 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-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);
}