Summary: | ASTERISK-08768: Garbled sound with speex and asterisk 1.4 | ||
Reporter: | Alfred E. Heggestad (alfredh) | Labels: | |
Date Opened: | 2007-02-10 11:22:39.000-0600 | Date Closed: | 2011-06-07 14:02:59 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/CodecInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) verbosedebug.txt ( 1) verbosedebug-rtp.txt | |
Description: | asterisk 1.4 from svn: URL: http://svn.digium.com/svn/asterisk/branches/1.4 Revision: 53910 Installed and tested both on AMD64 and i386, when calling echo test and using Speex codec the audio from Asterisk is just garbage. The SIP client gives lots of warnings about invalid speex mode. Also tested with ekiga, same result. Configuration is default config, with speex codec enabled. Speex version is 1.1.2 from ubuntu 06.10 | ||
Comments: | By: Serge Vecher (serge-v) 2007-02-10 18:47:56.000-0600 Can you please show a debug log of this: 1) Make sure your logger.conf has the following line: console => notice,warning,error,debug 2) restart Asterisk with the following command: 'asterisk -Tvvvvvdddddngc | tee /tmp/verbosedebug.txt' 3) Enable SIP transaction logging with the following CLI commands: set debug 4 set verbose 4 sip debug 4) Trim startup information and attach verbosedebug.txt to the issue. By: Alfred E. Heggestad (alfredh) 2007-02-11 06:06:35.000-0600 tested again with X-lite v2.0 for linux, same results. here is output from X-lite: warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: More than to wideband layers found: corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid mode encountered: corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered: corrupted stream? warning: Invalid mode encountered: corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid mode encountered: corrupted stream? warning: Invalid wideband mode encountered: corrupted stream? warning: Invalid mode encountered: corrupted stream? warning: Invalid mode encountered: corrupted stream? warning: Invalid wideband mode encountered. Corrupted stream? warning: Invalid mode encountered: corrupted stream? By: Serge Vecher (serge-v) 2007-02-12 10:37:07.000-0600 the log you've posted contains no error! You need to reproduce the problem too. After sip debug, please do rtp debug as well.... By: Alfred E. Heggestad (alfredh) 2007-02-13 17:05:14.000-0600 debug log with RTP uploaded. the last call is the problem call when the speex audio from Asterisk is garbled. I can also make a wireshark trace if this helps. I have reviewed the code in codecs/codec_speex.c and could not find any issues. Testing speex with Asterisk 1.0 and 1.2 works fine. By: Serge Vecher (serge-v) 2007-02-14 09:18:24.000-0600 not knowing much about speex, all sip/rtp transactions look ok. Could be a problem with the softphones. By: Serge Vecher (serge-v) 2007-03-05 14:22:35.000-0600 unless you can show that this is not the case, this seems to be an X-lite problem, not Asterisk one. |