[asterisk-bugs] [Asterisk 0012443]: Corrupted sound or call recording via IAX and GSM

noreply at bugs.digium.com noreply at bugs.digium.com
Sun Jun 22 05:19:16 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12443 
====================================================================== 
Reported By:                ztel
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12443
Category:                   Formats/format_gsm
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-14-2008 19:52 CDT
Last Modified:              06-22-2008 05:19 CDT
====================================================================== 
Summary:                    Corrupted sound or call recording via IAX and GSM
Description: 
I have a problem with installing Asterisk on Debian / Lenny, exact kernel /
version is:

Linux version 2.6.22-3-686 (Debian 2.6.22-6) (maks at debian.org) (gcc
version 4.1.3 20071019 (prerelease) (Debian 4.1.2-17))
http://bugs.digium.com/view.php?id=1 SMP Mon Nov 12
08:32:57 UTC 2007

STEPS TO REPRODUCE PROBLEM:
1) Download Debian / Lenny which is located at

http://www.us.debian.org/devel/debian-installer/

I use the iso which is located at:

http://cdimage.debian.org/cdimage/lenny_di_beta1/i386/iso-cd/debian-testing-i386-netinst.iso

2) Install on a server with two network cards and make eth0 the WAN and
eth1 the LAN 

3) Set up firewall that can masquerade and do nat... I can provide this
firewall if it helps...

4) install the newest version of asterisk 1.4 on server

5) setup 1 sip device and a voicemail

6) route an extension to this server from a different asterisk server via
IAX to the sip device using either GSM or ULAW.

7) The call will be clear, but the voicemail prompts and recordings will
be garbled or vice versa depending on how you set up the codec in iax.conf

8) change iax.conf to not use gsm and instead use ULAW

9) the call will be garbled but the voicemail prompts will be clear..

there is no way to get them both working..

I have a system set up in this configuration that is currently
experiencing the problem 100% of the time, and this is the 5th different
server i have tried this it is 100% reproducible. 
--------------------------------------------------
Basically the call flow would look like:

INCOMING SIP PROVIDER -> Asterisk TRUNK at datacenter -> application
asterisk server (IAX connect / GSM) -> recoring on local box or forwarding
to sip device

This configuration works great with the Debian Stable (2.6.18) and Debian
Experimantal (2.6.23), but Testing (2.6.22) is broken... 

This is annoying because stable does not work with most SATA controllers
and experimental is too unstable to be a desirable production platform... I
wish I could tell what is different between the versions but I thought it
might be worth reporting to see if any ideas exist.  Google searches do not
result in any significant information to report. 


Please let me know if i can provide any additional information that would
help.

Ztel
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012164 Distorted playback of G.722 prompts
====================================================================== 

---------------------------------------------------------------------- 
 gavin - 06-22-08 05:19  
---------------------------------------------------------------------- 
Ubuntu 8.04
2.6.24-19-generic 
2.6.24-18-generic 
2.6.24-16-generic

asterisk: 
1.4.17 
1.4.21 

dpkg -l | grep -i gcc 
ii gcc 4:4.2.3-1ubuntu6 The GNU C compiler 
ii gcc-3.3-base 1:3.3.6-15ubuntu6 The GNU Compiler Collection (base
package) 
ii gcc-4.1 4.1.2-21ubuntu1 The GNU C compiler 
ii gcc-4.1-base 4.1.2-21ubuntu1 The GNU Compiler Collection (base package)

ii gcc-4.2 4.2.3-2ubuntu7 The GNU C compiler 
ii gcc-4.2-base 4.2.3-2ubuntu7 The GNU Compiler Collection (base package)

ii libgcc1 1:4.2.3-2ubuntu7 GCC support library 
ii libgomp1 4.2.3-2ubuntu7 GCC OpenMP (GOMP) support library




Incomming SIP ULAW call.  

Record("SIP/66.54.140.46-08297100", "/tmp/status.WAV|2|60|nt")
BackGround("SIP/66.54.140.46-08297100", "/tmp/status")

File sounds corupted via SIP/Ulaw and ZAP playback
WAV49 gsm file sounds normal when downloaded and played on Windows PC

See files 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-22-08 05:19  gavin          Note Added: 0089064                          
======================================================================




More information about the asterisk-bugs mailing list