[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:29:09 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12749 
====================================================================== 
Reported By:                alinux
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   12749
Category:                   Codecs/codec_ilbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-29-2008 05:18 CDT
Last Modified:              06-10-2008 13:29 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:29  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 121597

_U  trunk/
U   trunk/contrib/scripts/get_ilbc_source.sh

------------------------------------------------------------------------
r121597 | seanbright | 2008-06-10 13:28:59 -0500 (Tue, 10 Jun 2008) | 14
lines

Merged revisions 121596 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r121596 | seanbright | 2008-06-10 14:34:45 -0400 (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=121597 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-10-08 13:29  svnbot         Checkin                                      
06-10-08 13:29  svnbot         Note Added: 0088559                          
======================================================================




More information about the asterisk-bugs mailing list