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

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 11 14:02:43 CDT 2008


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:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 113980 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-10-2008 17:01 CDT
Last Modified:              04-11-2008 14:02 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

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

---------------------------------------------------------------------- 
 pj - 04-11-08 14:02  
---------------------------------------------------------------------- 
uploading two debugs, one when call asterisk to ciscogw, another when call
from ip communicator (via callmanager) to asterisk.
in second case (this is case, when cisco phone statistics shows receiving
160ms samples and sending 20ms samples), I can see:
rtp.c: Cannot packet2packet bridge - packetization settings prevent it
in first case asterisk to cisco gw (20ms samples) I don't see any messages
about packet2packet bridge activating.

my h323.conf is really simple:

[general]
port = 1720
bindaddr = 192.168.40.4
disallow=all
allow=g729
fastStart=no
context=from-ccm
[ccm-gw]
type=peer
host=192.168.40.7
[ccm]
type=user
host=192.168.40.7
context=from-ccm 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-11-08 14:02  pj             Note Added: 0085366                          
======================================================================




More information about the asterisk-bugs mailing list