[asterisk-bugs] [Asterisk 0010433]: g726 appears broken between 1.4.x and 1.2.x

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Aug 13 08:10:30 CDT 2007


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10433 
====================================================================== 
Reported By:                eeman
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10433
Category:                   Channels/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.10  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             08-12-2007 11:50 CDT
Last Modified:              08-13-2007 08:10 CDT
====================================================================== 
Summary:                    g726 appears broken between 1.4.x and 1.2.x
Description: 
Platform A : 

asterisk 1.2.24
centos/redhat 4.5
intel motherboard
white box assembly

Platform B:
asterisk 1.4.10.1
centos/redhat 4.5
dell poweredge 2650

when trying to use g726 on an IAX2 channel between a 1.4.10 and 1.2.24

platform B is setup to allow both g726 and ulaw, g726 is preferred. 

if, on platform A, I 

disallow=all
allow=g726,ulaw

ulaw always gets chosen w/ a preference of 'unknown'

if I force only g726 

disallow=all
allow=g726 

I get

incoming audio call:
Aug 12 12:39:19 WARNING[18838]: channel.c:509 ast_best_codec: Don't know
any of 0xe800 formats
Aug 12 12:39:19 ERROR[18838]: chan_iax2.c:7478 socket_read: No best format
in 0xe800???

outgoing audio call:
the following shows up on the receiving side (asterisk 1.4.10)
[Aug 12 12:59:02] WARNING[18775]: channel.c:718 ast_best_codec: Don't know
any of 0xe000 formats
[Aug 12 12:59:02] ERROR[18775]: chan_iax2.c:7486 socket_process: No best
format in 0xe000???



could this be a result of 1.2.x referring to g726 as 0xe000 and 1.4.x
referring to g726 as 0xe800? Would that result in the preferred codec
showing up as 'unknown' ? 


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

---------------------------------------------------------------------- 
 file - 08-13-07 08:10  
---------------------------------------------------------------------- 
This is a configuration issue. You must also set the g726nonstandard to yes
in sip.conf. If after this it still does not work feel free to reopen. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-13-07 08:10  file           Status                   new => resolved     
08-13-07 08:10  file           Resolution               open => no change
required
08-13-07 08:10  file           Assigned To               => file            
08-13-07 08:10  file           Note Added: 0068764                          
======================================================================




More information about the asterisk-bugs mailing list