mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-07 10:31:16 +00:00
Making 2bct work only if transfer=yes in zapata.conf for the channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2876,7 +2876,10 @@ static int zt_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags,
|
||||
#ifdef PRI_2BCT
|
||||
q931c0 = p0->call;
|
||||
q931c1 = p1->call;
|
||||
if (q931c0 && q931c1 && !triedtopribridge) {
|
||||
if (p0->tranfer && p1->transfer
|
||||
&& q931c0 && q931c1
|
||||
&& !triedtopribridge) {
|
||||
|
||||
pri_channel_bridge(q931c0, q931c1);
|
||||
triedtopribridge = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user