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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 21 17:33:50 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12415 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12415
Category:                   Channels/chan_h323
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 113980 
Request Review:              
====================================================================== 
Date Submitted:             2008-04-10 17:01 CDT
Last Modified:              2009-01-21 17:33 CST
====================================================================== 
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

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

---------------------------------------------------------------------- 
 (0098383) Tursiops (reporter) - 2009-01-21 17:33
 http://bugs.digium.com/view.php?id=12415#c98383 
---------------------------------------------------------------------- 
We had the same H323 packetization issue here when we attempted to switch
from Asterisk 1.2 to 1.4.22. Our provider requires us to use 20ms.

Using DEAs suggestion, I changed ast_h323.cxx and commented out the
max_frames_per_packet test alltogether and just added
g729aCap->SetTxFramesInPacket(frames_per_packet);
g729Cap->SetTxFramesInPacket(frames_per_packet);
to the code.

Made a test call (allow=g729:20 in my h323.conf) and it worked right away.
Tried again with allow=g729 (withut :20) and that worked as well.
Just to make sure I also tested allow=g729:30, which did not work (as
expected).

Note that we are using G729 only, so I did not make any changes/tests in
regards to the other codecs. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 17:33 Tursiops       Note Added: 0098383                          
======================================================================




More information about the asterisk-bugs mailing list