Summary:ASTERISK-17971: awk syntax error in iLBC contrib for solaris
Reporter:Jeremy Kister (jkister)Labels:
Date Opened:2011-06-06 21:29:00Date Closed:2011-06-13 12:42:02
Versions:1.8.4 Frequency of
Environment:Attachments:( 0) extract-cfile.awk
( 1) get_ilbc.patch
Solaris 10

when running contrib/scripts/get_ilbc_source.sh :

This script will download the Global IP Solutions iLBC encoder/decoder
source code from http://ilbcfreeware.org. Use of this code requires
agreeing to the license agreement present at that site.

This script assumes that you have already agreed to the license agreement.
If you have not done so, you can abort the script now.

--2011-06-06 22:16:47--  http://www.ietf.org/rfc/rfc3951.txt
Resolving www.ietf.org..., 2001:1890:1112:1::1e
Connecting to www.ietf.org||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 373442 (365K) [text/plain]
Saving to: `codecs/ilbc/rfc3951.txt'

100%[=======================================================================================>] 373,442      424K/s   in 0.9s    

2011-06-06 22:16:48 (424 KB/s) - `codecs/ilbc/rfc3951.txt' saved [373442/373442]

awk: syntax error near line 2
awk: illegal statement near line 2
awk: syntax error near line 7
awk: bailing out near line 7
Comments:By: Leif Madsen (lmadsen) 2011-06-13 12:42:02.971-0500

Please file this as a bug with the iLBC people as that is where the awk script comes from. If you look at the script we just wget that awk script from the ilbcfreeware.org site. Thanks!

By: Gregory Hinton Nietsky (irroot) 2011-09-07 01:01:31.695-0500

Here is a fix for get_ilbc.sh the site has changed the extension of the file.