[asterisk-bugs] [Asterisk 0012749]: Awk script for ILBC not working throwing error

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jun 10 13:28:06 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12749 
====================================================================== 
Reported By:                alinux
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12749
Category:                   Codecs/codec_ilbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 118251 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-29-2008 05:18 CDT
Last Modified:              06-10-2008 13:28 CDT
====================================================================== 
Summary:                    Awk script for ILBC not working throwing error
Description: 
Hi
I need to use ilbc so I did sh get_ilbc_source.sh it downloads the file
and it then says 


awk: extract-cfile.awk:1: BEGIN { srcname = "nothing"; }
' in expressionile.awk:1:                               ^ invalid char '
***
The iLBC source code download is complete.
***


I did also download the extract-cfile.awk directly from 
http://www.ilbcfreeware.org/software.html and then I applied 
awk -f extract-cfile.awk rfc3951.txt

as mentioned in the script but that did throw the same error. I dont know
if this is awk/asterisk or iLBC related but I could not find anything using
google.

Thanks.


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

---------------------------------------------------------------------- 
 svnbot - 06-10-08 13:28  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 121596

U   branches/1.4/contrib/scripts/get_ilbc_source.sh

------------------------------------------------------------------------
r121596 | seanbright | 2008-06-10 13:27:59 -0500 (Tue, 10 Jun 2008) | 6
lines

Fixes a problem with some buggy versions of GNU awk (3.1.3) not liking
carriage returns in scripts.

(closes issue http://bugs.digium.com/view.php?id=12749)
Reported by: alinux
Tested by: Laureano (on #asterisk-dev), juggie

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=121596 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-10-08 13:28  svnbot         Note Added: 0088558                          
======================================================================




More information about the asterisk-bugs mailing list