aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:08:22 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:08:22 +0000
commit620d77567a87b061c30cb88e4b606c1f4a07238a (patch)
tree2767272e2df06acaf89cab54da70928db654345e /contrib
parent15a7d58550d16b8841909f2d13eed0479af263f4 (diff)
Merged revisions 111025 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r111025 | kpfleming | 2008-03-26 14:08:00 -0500 (Wed, 26 Mar 2008) | 18 lines Merged revisions 111024 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r111024 | kpfleming | 2008-03-26 14:06:56 -0500 (Wed, 26 Mar 2008) | 10 lines Merged revisions 111019 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r111019 | kpfleming | 2008-03-26 13:58:37 -0500 (Wed, 26 Mar 2008) | 2 lines add a script to make getting the iLBC source code simple for end users ........ ................ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@111026 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/scripts/get_ilbc_source.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/scripts/get_ilbc_source.sh b/contrib/scripts/get_ilbc_source.sh
new file mode 100755
index 000000000..262218064
--- /dev/null
+++ b/contrib/scripts/get_ilbc_source.sh
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+echo "***"
+echo "This script will download the Global IP Solutions iLBC encoder/decoder"
+echo "source code from http://ilbcfreeware.org. Use of this code requires"
+echo "agreeing to the license agreement present at that site."
+echo ""
+echo "This script assumes that you have already agreed to the license agreement."
+echo "If you have not done so, you can abort the script now."
+echo "***"
+
+read
+
+wget -P codecs/ilbc http://www.ietf.org/rfc/rfc3951.txt
+
+wget -P codecs/ilbc http://www.ilbcfreeware.org/documentation/extract-cfile.awk
+
+(cd codecs/ilbc && awk -f extract-cfile.awk rfc3951.txt)
+
+echo "***"
+echo "The iLBC source code download is complete."
+echo "***"