diff --git a/contrib/ast-db-manage/README.md b/contrib/ast-db-manage/README.md index 42f2376d35..f2ba41ed8b 100644 --- a/contrib/ast-db-manage/README.md +++ b/contrib/ast-db-manage/README.md @@ -12,7 +12,7 @@ repositories include: * `cdr` - Table used for Asterisk to store CDR records * `config` - Tables used for Asterisk realtime configuration * `queue_log` - Table used for Asterisk to store Queue Log records - * `voicemail` - Tables used for `ODBC_STOARGE` of voicemail messages + * `voicemail` - Tables used for `ODBC_STORAGE` of voicemail messages Alembic uses SQLAlchemy, which has support for [many databases](http://docs.sqlalchemy.org/en/rel_0_8/dialects/index.html). diff --git a/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py b/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py index afd234b576..0646e24230 100644 --- a/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py +++ b/contrib/ast-db-manage/config/versions/1ae0609b6646_increse_reg_server_size.py @@ -1,4 +1,4 @@ -"""increse reg server size +"""increase reg server size Revision ID: 1ae0609b6646 Revises: 61797b9fced6 diff --git a/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py b/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py index 01c40acbc1..1c558a0d6c 100644 --- a/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py +++ b/contrib/ast-db-manage/config/versions/4da0c5f79a9c_create_tables.py @@ -3,7 +3,7 @@ # # Copyright (C) 2013, Russell Bryant # -# Russell Bryant +# Russell Bryant # # See http://www.asterisk.org for more information about # the Asterisk project. Please do not directly contact diff --git a/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py b/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py index 3dc4d47c4a..3dc1c811dd 100644 --- a/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py +++ b/contrib/ast-db-manage/voicemail/versions/a2e9769475e_create_tables.py @@ -3,7 +3,7 @@ # # Copyright (C) 2013, Russell Bryant # -# Russell Bryant +# Russell Bryant # # See http://www.asterisk.org for more information about # the Asterisk project. Please do not directly contact diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index c58ab23be8..e2188b0902 100755 --- a/contrib/init.d/rc.debian.asterisk +++ b/contrib/init.d/rc.debian.asterisk @@ -3,7 +3,7 @@ # # Mon Jun 04 2007 IƱaki Baz Castillo # - Eliminated SAFE_ASTERISK since it doesn't work as LSB script (it could require a independent "safe_asterisk" init script). -# - Load and use the standar "/lib/lsb/init-functions". +# - Load and use the standard "/lib/lsb/init-functions". # - Added "--oknodo" to "start-stop-daemon" for compatibility with LSB: # http://www.linux-foundation.org/spec/refspecs/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html # diff --git a/contrib/scripts/ast_coredumper b/contrib/scripts/ast_coredumper index 28683129cd..353137f670 100755 --- a/contrib/scripts/ast_coredumper +++ b/contrib/scripts/ast_coredumper @@ -600,7 +600,7 @@ FILES #@@@HELPEND@@@ -# Be careful editng the inline scripts. +# Be careful editing the inline scripts. # They're space-indented. # We need the python bit because lock_infos isn't diff --git a/contrib/scripts/ast_loggrabber b/contrib/scripts/ast_loggrabber index 2036d54baf..b549ec329a 100755 --- a/contrib/scripts/ast_loggrabber +++ b/contrib/scripts/ast_loggrabber @@ -209,7 +209,7 @@ tar -czvf /tmp/$tardir.tar.gz -C $tmpdir $tardir 2>/dev/null exit -# Be careful editng the inline scripts. +# Be careful editing the inline scripts. # They're space-indented. # We need the python bit because lock_infos isn't @@ -231,7 +231,7 @@ parser.add_argument('--timezone', action='store', required=False) args=parser.parse_args() # We only convert timestamps that are at the beginning of a line -# or are preceeded by a whilespace character or a '[' +# or are preceeded by a whitespace character or a '[' rets = re.compile(r'(^|(?<=\s|\[))\d+(\.\d+)?', flags=re.M) if args.timezone and len(args.timezone) > 0: tzf = tz.tzfile('/usr/share/zoneinfo/' + args.timezone) diff --git a/contrib/scripts/asterisk.ldap-schema b/contrib/scripts/asterisk.ldap-schema index 85f9103e29..340f06fce9 100644 --- a/contrib/scripts/asterisk.ldap-schema +++ b/contrib/scripts/asterisk.ldap-schema @@ -600,7 +600,7 @@ attributetype ( AstAccountTransport attributetype ( AstAccountPromiscRedir NAME 'AstAccountPromiscRedir' - DESC 'Asterisk account promiscous redirects' + DESC 'Asterisk account promiscuous redirects' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) diff --git a/contrib/scripts/asterisk.ldif b/contrib/scripts/asterisk.ldif index 562105730a..ab9bd92a38 100644 --- a/contrib/scripts/asterisk.ldif +++ b/contrib/scripts/asterisk.ldif @@ -597,7 +597,7 @@ olcAttributeTypes: ( AstAccountTransport # olcAttributeTypes: ( AstAccountPromiscRedir NAME 'AstAccountPromiscRedir' - DESC 'Asterisk account promiscous redirects' + DESC 'Asterisk account promiscuous redirects' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) diff --git a/contrib/scripts/loadtest.tcl b/contrib/scripts/loadtest.tcl index d216f489b7..1bdcc28c05 100644 --- a/contrib/scripts/loadtest.tcl +++ b/contrib/scripts/loadtest.tcl @@ -14,7 +14,7 @@ # where Asterisk's pbx/pbx_spool.c will be looking for work set SPOOLDIR /var/spool/asterisk/outgoing -# pbx_spool is fairly aggresive, so make files here first +# pbx_spool is fairly aggressive, so make files here first set TEMPDIR /tmp if { ![file writable $SPOOLDIR] } { diff --git a/contrib/scripts/retrieve_extensions_from_sql.pl b/contrib/scripts/retrieve_extensions_from_sql.pl index 47210ebf3e..13a284d183 100644 --- a/contrib/scripts/retrieve_extensions_from_sql.pl +++ b/contrib/scripts/retrieve_extensions_from_sql.pl @@ -4,7 +4,7 @@ # Copy Policy: GNU Public Licence Version 2 or later # URL: http://www.peternixon.net/code/ # Supported: PostgreSQL, Oracle, MySQL -# Copyright: 2004 Peter Nixon +# Copyright: 2004 Peter Nixon # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/contrib/scripts/safe_asterisk.8 b/contrib/scripts/safe_asterisk.8 index 19e1728a66..dde9173817 100644 --- a/contrib/scripts/safe_asterisk.8 +++ b/contrib/scripts/safe_asterisk.8 @@ -26,7 +26,7 @@ remote shell session) you can use: screendump 9 The init script of the Debian package should be able to run safe_asterisk -as the asterisk service, if so configured. See coments in +as the asterisk service, if so configured. See comments in /etc/default/asterisk .SH FILES diff --git a/contrib/scripts/valgrind_compare b/contrib/scripts/valgrind_compare index 9f814d4548..a8bffaf4e4 100755 --- a/contrib/scripts/valgrind_compare +++ b/contrib/scripts/valgrind_compare @@ -1,6 +1,6 @@ #!/bin/bash -# compare_valgrind: diff two valgrinf memory usage logs. Masks out PIDs, +# compare_valgrind: diff two valgrind memory usage logs. Masks out PIDs, # addresses and such that should normally be different. # # Usage: ./compare_valgrind file1.log file2.log | less diff --git a/contrib/scripts/voicemailpwcheck.py b/contrib/scripts/voicemailpwcheck.py index 452255c35b..7636df3127 100755 --- a/contrib/scripts/voicemailpwcheck.py +++ b/contrib/scripts/voicemailpwcheck.py @@ -22,7 +22,7 @@ REQUIRED_LENGTH = 6 # Regular expressions that match against invalid passwords REGEX_BLACKLIST = [ ("(?P\d)(?P=digit){%d}" % (REQUIRED_LENGTH - 1), - "%d consective numbers that are the same" % REQUIRED_LENGTH) + "%d consecutive numbers that are the same" % REQUIRED_LENGTH) ] diff --git a/contrib/utils/zones2indications.c b/contrib/utils/zones2indications.c index d1def53000..cfe85eb463 100644 --- a/contrib/utils/zones2indications.c +++ b/contrib/utils/zones2indications.c @@ -17,7 +17,7 @@ */ /*! \file - * \brief print libtonozone data as Asterisk indications.conf + * \brief print libtonezone data as Asterisk indications.conf */ #include @@ -107,7 +107,7 @@ int print_all() { void usage() { fprintf(stderr, - PROGRAM ": print libtonozone data as Asterisk indications.conf\n" + PROGRAM ": print libtonezone data as Asterisk indications.conf\n" "\n" "Usage:\n" " " PROGRAM " -a Print all countries\n"