[asterisk-bugs] [Asterisk 0012415]: chan_h323 doesn't respect rtp packetization settings

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 22 14:23:52 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12415 
====================================================================== 
Reported By:                pj
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   12415
Category:                   Channels/chan_h323
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 113980 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-04-10 17:01 CDT
Last Modified:              2009-04-22 14:23 CDT
====================================================================== 
Summary:                    chan_h323 doesn't respect rtp packetization settings
Description: 
chan_h323 ignores codecs payload settings eg. 'allow=g729:20'
h323 trace, when I call from h323 endpoint to asterisk:
Found peer capability G.729 <1>, Asterisk code is 256, frame size (in ms)
is 160

If I call from asterisk to another endpoing (eg. cisco gw), trace shows,
that is using 20ms g729 frame size, but still doesn't invoke p2p bridging
between sip and h323 channel

sip--->(g729/chan_sip)-asterisk-(chan_h323/g729)--->callmanager/(cisco gw
or cisco phone)
only g729 is allowed in h323 and sip config

====================================================================== 

---------------------------------------------------------------------- 
 (0103645) svnbot (reporter) - 2009-04-22 14:23
 http://bugs.digium.com/view.php?id=12415#c103645 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 189993

U   trunk/channels/chan_h323.c
U   trunk/channels/h323/ast_h323.cxx
U   trunk/channels/h323/chan_h323.h

------------------------------------------------------------------------
r189993 | jpeeler | 2009-04-22 14:23:49 -0500 (Wed, 22 Apr 2009) | 18
lines

Make chan_h323 respect packetization settings and fix small reload issue.

Previously, packetization settings were ignored and now they are not. A
new
config option 'autoframing' has been added to mirror the way chan_sip
handles
it. Turning on the autoframing option (available both as a global option
or per
peer) overrides the local settings with the remote packetization settings.
Testing was performed with varying packetization levels with the following
codecs: ulaw, alaw, gsm, and g729.

Also, an unrelated config reload issue has been fixed in the case of the
config
file not changing.

(closes issue http://bugs.digium.com/view.php?id=12415)
Reported by: pj
Patches:
      2009012200_h323packetization.diff.txt uploaded by mvanbaak (license
7), 
      modified by me

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=189993 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-22 14:23 svnbot         Checkin                                      
2009-04-22 14:23 svnbot         Note Added: 0103645                          
======================================================================




More information about the asterisk-bugs mailing list