[asterisk-bugs] [Asterisk 0010943]: [PATCH] Flag to disable Packet2packet bridging

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Oct 11 13:33:23 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10943 
====================================================================== 
Reported By:                julianjm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10943
Category:                   Core/RTP
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     feedback
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 85355 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-10-2007 19:43 CDT
Last Modified:              10-11-2007 13:33 CDT
====================================================================== 
Summary:                    [PATCH] Flag to disable Packet2packet bridging
Description: 
When packet2packet bridging 2 channels, monitoring doesn't work (generates
empty files). The reason is that rtp packets don't get to core and are
rapidly forwarded to the other peer.

This patch adds a disablep2p flag to rtp.conf. It will force all bridges
to be native.

Julian.
====================================================================== 

---------------------------------------------------------------------- 
 julianjm - 10-11-07 13:33  
---------------------------------------------------------------------- 
This is for a custom recording application.

Asterisk is between 2 SIP gateways, forwarding calls between the two.

[from-gw1]
exten => _X.,1,Dial(SIP/gw2/${EXTEN})
exten => _X.,2,Hangup

Without this patch, asterisk does a Packet2packet bridge.

Then the application connects to the manager interface, and sends a
"Monitor" action on one of the channels. The resulting file is empty.

Before implementing this patch, I had to change the packetization on one
of the gateways, to force a native bridge. I think this is a better
solution. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-11-07 13:33  julianjm       Note Added: 0071829                          
======================================================================




More information about the asterisk-bugs mailing list