[asterisk-bugs] [Asterisk 0010331]: [patch] PCMA/16000 and PCMU/16000 support (hd telephony)

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Aug 9 05:30:52 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10331 
====================================================================== 
Reported By:                guido-r
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10331
Category:                   Channels/chan_sip/CodecHandling
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.9  
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 77765 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-30-2007 04:34 CDT
Last Modified:              08-09-2007 05:30 CDT
====================================================================== 
Summary:                    [patch] PCMA/16000 and PCMU/16000 support (hd
telephony)
Description: 
With this patch PCMA/16000 and PCMU/16000 will be accepted during the SDP
negotiation. Prior asterisk ignored the sample rate in the rtpmap lines of
the SDP body and changed the 16000 to 8000.. and so the negotiation between
the UAs failed.
Now the sample rate is parsed too, and for now PCMA/16000 and PCMU/16000
are supported by the new option flag AST_OPT_16000.

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

---------------------------------------------------------------------- 
 guido-r - 08-09-07 05:30  
---------------------------------------------------------------------- 
I left G.722 untouched.

According to the RFC different sampling rates for PCMA and PCMU are
possible.
With this patch not only PCMA/8000, but also PCMA/16000 can be negotiated,
when both sides support it.

Till now Asterisk simply ignores the sample rate, given in a SDP Header. 
A negotiation with PCMA/16000 fails, because Asterisk changes the 16000 to
8000. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-09-07 05:30  guido-r        Note Added: 0068649                          
======================================================================




More information about the asterisk-bugs mailing list