[Home]

Summary:ASTERISK-12105: Awk script for ILBC not working throwing error
Reporter:Ali Jawad (alinux)Labels:
Date Opened:2008-05-29 05:18:10Date Closed:2008-06-10 13:30:09
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Codecs/codec_ilbc
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.

Comments:By: Jason Parker (jparker) 2008-05-29 11:11:48

What OS/distro is this?  What version of awk (awk --version)?

By: Ali Jawad (alinux) 2008-05-29 13:18:27

Hi
GNU AWK 3.1.3

CENTOS 4.5 Final

By: Ali Jawad (alinux) 2008-05-30 03:53:32

Solved..use my debian server to fetch and extract the awk file. Seems like a buggy awk binary to me..although it does work for other awk scripts.

By: Digium Subversion (svnbot) 2008-06-10 13:28:04

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 ASTERISK-12105)
Reported by: alinux
Tested by: Laureano (on #asterisk-dev), juggie

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

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

By: Digium Subversion (svnbot) 2008-06-10 13:29:02

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 ASTERISK-12105)
Reported by: alinux
Tested by: Laureano (on #asterisk-dev), juggie

........

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

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

By: Digium Subversion (svnbot) 2008-06-10 13:30:09

Repository: asterisk
Revision: 121598

_U  branches/1.6.0/
U   branches/1.6.0/contrib/scripts/get_ilbc_source.sh

------------------------------------------------------------------------
r121598 | seanbright | 2008-06-10 13:30:01 -0500 (Tue, 10 Jun 2008) | 22 lines

Merged revisions 121597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121597 | seanbright | 2008-06-10 14:35:37 -0400 (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 ASTERISK-12105)
Reported by: alinux
Tested by: Laureano (on #asterisk-dev), juggie

........

................

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

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