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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 1 05:31:32 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:                     new
Asterisk Version:           SVN 
JIRA:                        
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-06-01 05:31 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
====================================================================== 

---------------------------------------------------------------------- 
 (0122677) ddkprog (reporter) - 2010-06-01 05:31
 https://issues.asterisk.org/view.php?id=17433#c122677 
---------------------------------------------------------------------- 
the patch fixes this issue 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-01 05:31 ddkprog        Note Added: 0122677                          
======================================================================




More information about the asterisk-bugs mailing list