diff options
author | Mark Spencer <markster@digium.com> | 2005-06-02 17:16:49 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-06-02 17:16:49 +0000 |
commit | 7b03b102c96811d9d6c47f49a95fb0172ce38c4f (patch) | |
tree | 064de5870a315acaca30187285156618e18cc9dd /channels | |
parent | df349078da972b0ce0aa778d2c6a7b449a14f6e7 (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
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_zap.c | 2 |
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); } |