mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 17:27:02 +00:00
Fix T38 passthrough regression introduced by state changes.
(closes issue #12078) Reported by: dimas Patches: v1-12078.patch uploaded by dimas (license 88) (closes issue #12074) Reported by: Ivan git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3359,7 +3359,8 @@ static enum ast_bridge_result bridge_native_loop(struct ast_channel *c0, struct
|
||||
} else if ((fr->frametype == AST_FRAME_CONTROL) && !(flags & AST_BRIDGE_IGNORE_SIGS)) {
|
||||
if ((fr->subclass == AST_CONTROL_HOLD) ||
|
||||
(fr->subclass == AST_CONTROL_UNHOLD) ||
|
||||
(fr->subclass == AST_CONTROL_VIDUPDATE)) {
|
||||
(fr->subclass == AST_CONTROL_VIDUPDATE) ||
|
||||
(fr->subclass == AST_CONTROL_T38)) {
|
||||
if (fr->subclass == AST_CONTROL_HOLD) {
|
||||
/* If we someone went on hold we want the other side to reinvite back to us */
|
||||
if (who == c0)
|
||||
@@ -3597,7 +3598,8 @@ static enum ast_bridge_result bridge_p2p_loop(struct ast_channel *c0, struct ast
|
||||
} else if ((fr->frametype == AST_FRAME_CONTROL) && !(flags & AST_BRIDGE_IGNORE_SIGS)) {
|
||||
if ((fr->subclass == AST_CONTROL_HOLD) ||
|
||||
(fr->subclass == AST_CONTROL_UNHOLD) ||
|
||||
(fr->subclass == AST_CONTROL_VIDUPDATE)) {
|
||||
(fr->subclass == AST_CONTROL_VIDUPDATE) ||
|
||||
(fr->subclass == AST_CONTROL_T38)) {
|
||||
/* If we are going on hold, then break callback mode and P2P bridging */
|
||||
if (fr->subclass == AST_CONTROL_HOLD) {
|
||||
if (p0_callback)
|
||||
|
Reference in New Issue
Block a user