[asterisk-bugs] [Asterisk 0017433]: [patch] DAHDI bridge can't fax pass through

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 15 11:56:18 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17433 
====================================================================== 
Reported By:                ddkprog
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17433
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
JIRA:                       SWP-1618 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-01 05:28 CDT
Last Modified:              2010-10-15 11:56 CDT
====================================================================== 
Summary:                    [patch] DAHDI bridge can't fax pass through
Description: 
iam realy suprised, why fax can't pass through inside DAHDI bridge
looking through chan_dahdi.c code
inside function dahdi_bridge
have a code
                f = ast_read(who);
                if (!f || (f->frametype == AST_FRAME_CONTROL)) {
                        *fo = f;
                        *rc = who;
                        res = AST_BRIDGE_COMPLETE;
                        goto return_from_bridge;
                }
                if (f->frametype == AST_FRAME_DTMF) {
                        if ((who == c0) && p0->pulsedial) {
                                ast_write(c1, f);
                        } else if ((who == c1) && p1->pulsedial) {
                                ast_write(c0, f);
                        } else {
                                *fo = f;
                                *rc = who;
                                res = AST_BRIDGE_COMPLETE;
                                goto return_from_bridge;
                        }
                }
                ast_frfree(f);

                /* Swap who gets priority */
                priority = !priority;

i see that only the SIGNAL FRAMES can pass
====================================================================== 

---------------------------------------------------------------------- 
 (0128102) russell (administrator) - 2010-10-15 11:56
 https://issues.asterisk.org/view.php?id=17433#c128102 
---------------------------------------------------------------------- 
What doesn't make sense here is that if DAHDI bridging was really broken in
this fundamental of a way, then we would have thousands of customers with
systems that don't work at all.  I wouldn't expect any media frames to be
passing through the dahdi_bridge() function.  If this funciton is running,
it's a DAHDI native bridge.  A DAHDI native bridge bridges audio inside of
DAHDI, it doesn't even make it up to Asterisk. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-15 11:56 russell        Note Added: 0128102                          
======================================================================




More information about the asterisk-bugs mailing list