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
1.2-netsec
Mark Spencer 20 years ago
parent df349078da
commit 7b03b102c9

@ -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);
}

Loading…
Cancel
Save