aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/scripts
AgeCommit message (Collapse)AuthorFilesLines
2010-11-18Add RedHat specific dependenciespabelanger1-1/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@295404 f38db490-d61c-443f-a65b-d21fe96a405b
2010-11-05Corret spelling and exampletwilson1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@294049 f38db490-d61c-443f-a65b-d21fe96a405b
2010-11-05Tell people to use the correct common name for clients as welltwilson1-5/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@294047 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-22Don't create directories without at least o+xtwilson1-2/+2
Also, making files that you are going to modify read-only is dumb. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292825 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-22Make files readable only by the ownertwilson1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292794 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-22Merged revisions 292786 via svnmerge from lmadsen1-36/+135
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r292786 | lmadsen | 2010-10-22 16:16:12 -0500 (Fri, 22 Oct 2010) | 13 lines Update the LDIF file for LDAP. The LDIF file asterisk.ldif was quite a bit out of date from the asterisk.ldap-schema file, so I've now updated that to be in sync. The asterisk.ldif file being out of sync was a problem on my systems where I was doing an ldapadd to import the schema into the LDAP database, and the existing file would cause problems and ERROR messages when registering. Additional documention has been added based on feedback in the issue I'm closing. (closes issue #13861) Reported by: scramatte Patches: ldap-update.txt uploaded by lmadsen (license 10) Tested by: lmadsen, jcovert, suretec, rgenthner ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292787 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-22Add TLS cert helper scripttwilson1-0/+186
This script is useful for quickly generating self-signed CA, server, and client certificates for use with Asterisk. It is still recommended to obtain certificates from a recognized Certificate Authority and to develop an understanding how SSL certificates work. Real security is hard work. OPTIONS: -h Show this message -m Type of cert "client" or "server". Defaults to server. -f Config filename (openssl config file format) -c CA cert filename (creates new CA cert/key as ca.crt/ca.key if not passed) -k CA key filename -C Common name (cert field) For a server cert, this should be the same address that clients attempt to connect to. Usually this will be the Fully Qualified Domain Name, but might be the IP of the server. For a CA or client cert, it is merely informational. Make sure your certs have unique common names. -O Org name (cert field) An informational string (company name) -o Output filename base (defaults to asterisk) -d Output directory (defaults to the current directory) Example: To create a CA and a server (pbx.mycompany.com) cert with output in /tmp: ast_tls_cert -C pbx.mycompany.com -O "My Company" -d /tmp This will create a CA cert and key as well as asterisk.pem and the the two files that it is made from: asterisk.crt and asterisk.key. Copy asterisk.pem and ca.crt somewhere (like /etc/asterisk) and set tlscertfile=/etc/asterisk.pem and tlscafile=/etc/ca.crt. Since this is a self-signed key, many devices will require you to import the ca.crt file as a trusted cert. To create a client cert using the CA cert created by the example above: ast_tls_cert -m client -c /tmp/ca.crt -k /tmp/ca.key -C "Joe User" -O \ "My Company" -d /tmp -o joe_user This will create client.crt/key/pem in /tmp. Use this if your device supports a client certificate. Make sure that you have the ca.crt file set up as a tlscafile in the necessary Asterisk configs. Make backups of all .key files in case you need them later. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292740 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-19Add resample and imap_tk dependencies.pabelanger1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@292343 f38db490-d61c-443f-a65b-d21fe96a405b
2010-10-02Allow users to pass additional arguments to the Subversion command thatkpfleming1-1/+1
obtains the MP-3 source code. (reported on IRC by jmls) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@290026 f38db490-d61c-443f-a65b-d21fe96a405b
2010-08-03Remove the MP3 decoder source code and replace it with a small shell script.russell1-0/+14
Review: https://reviewboard.asterisk.org/r/836/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280742 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-28Merged revisions 280089 via svnmerge from lmadsen1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r280089 | lmadsen | 2010-07-28 08:51:16 -0500 (Wed, 28 Jul 2010) | 9 lines Merged revisions 280088 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r280088 | lmadsen | 2010-07-28 08:50:38 -0500 (Wed, 28 Jul 2010) | 1 line Update help text to be less confusing. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@280090 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-20Add a package to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278096 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-15Add lua5.1 to the handy dandy list of packages.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@276616 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-13Merged revisions 275909 via svnmerge from tilghman5-355/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r275909 | tilghman | 2010-07-13 09:47:30 -0500 (Tue, 13 Jul 2010) | 2 lines Move SQL scripts into their own database-specific directories. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275910 f38db490-d61c-443f-a65b-d21fe96a405b
2010-07-13Add example script for use with the externpasscheck voicemail.conf option.russell1-0/+65
(closes issue #17628) Reported by: lmadsen Tested by: russell, lmadsen Review: https://reviewboard.asterisk.org/r/774/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@275863 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libjack-dev to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269205 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libpopt-dev, libical-dev, and libspandsp-dev to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269204 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libnewt-dev to install-prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269203 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libopenais-dev to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269202 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add an "install-unpackaged" command to install_prereq for installing ↵russell1-3/+22
unpackaged dependencies (such as NBS and libresample). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269201 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libcurl to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269200 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add freetds-dev to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269199 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libradiusclient-ng-dev to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269198 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libbluetooth-dev to install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269197 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libmysqlclient-dev to install_prereq.russell1-5/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269196 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Add libgtk2.0-dev to the packages list for install_prereq.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@269187 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-16live_ast: add commands 'rsync' and 'gen-live-asterisk'tzafrir1-6/+27
This adds the following two commands to live_ast: * rsync [user]@host directory Copy over all generated files to <directory> at remote host. Would allow running live_ast there. Hence allows separating a build machine from a test machine. * gen-live-asteris: regenerate live/asterisk . Useful if copying over files to a different directory. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@263250 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-20Add missing 'useragent' field to sip-friends.sql file.lmadsen1-0/+1
(closes issue #17171) Reported by: thehar Patches: sip-friends.patch uploaded by thehar (license 831) Tested by: pabelanger, thehar git-svn-id: http://svn.digium.com/svn/asterisk/trunk@258106 f38db490-d61c-443f-a65b-d21fe96a405b
2010-04-10fix hyphen vs. minus in man pagestzafrir3-11/+10
In troff '-' is used for a hyphen. A minus is denoted by '\-' . This is normally also used for a dash. This patch converts all '-'-s that are minuses or dashes to '\-'. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@256704 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-26Work around a bug in dash on Ubuntu by checking the number of arguments ↵seanbright1-1/+3
before shift'ing. Reported and tested by pabelanger. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@254976 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-22Update query should be an UPDATE, not a SELECT.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253758 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-22Return the list for later manipulation. This fixes an issue with the update ↵tilghman1-1/+1
procedure. Debugging with mmichelson. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253755 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-22Accomodate equal signs in DSNs and add documentation, based upon ↵tilghman1-2/+2
mmichelson's feedback. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@253712 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-08Add the libvpb-dev package as a dependency.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@245385 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-08Add more packages required for building Asterisk modules.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@245383 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12Merged revisions 239307 via svnmerge from tilghman1-41/+35
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r239307 | tilghman | 2010-01-11 21:18:36 -0600 (Mon, 11 Jan 2010) | 8 lines Portability and other fixes for the safe_asterisk script (closes issue #16416) Reported by: bklang Patches: safe_asterisk-compat-1.patch uploaded by bklang (license 919) 20100106__issue16416__trunk.diff.txt uploaded by tilghman (license 14) Tested by: bklang ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239308 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-10Schema file additionsghenry1-30/+126
* Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox objectClasses to allow standalone dialplan, account and mailbox entries (STRUCTURAL) * Added new Fields: - AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir, - AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap, - AstAccountVideoSupport, AstAccountIgnoreSDPVersion * Removed redundant IPaddr (there's already IPAddress) - Gives more configuration Flags for SIP-Users available (tested) - Allows to create Asterisk Attributes in defined Asterisk ObjectClasses without extensibleObject (which really should be the last resort); gives also additional possibilities for LDAP-filter (closes issue #15874) Reported by: Medozas Patches: asterisk.ldap-schema.patch uploaded by Medozas (license 41) Tested by: Medozas, suretec git-svn-id: http://svn.digium.com/svn/asterisk/trunk@229050 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-10Make calltoken support work with realtime users and peers.tilghman1-43/+46
In the course of this, I also found that the results of ast_gethostbyname were being used incorrectly in both chan_iax2 and chan_sip, so both have been fixed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@217916 f38db490-d61c-443f-a65b-d21fe96a405b
2009-09-08live_ast: Fix asterisk.conf instead of regenerating ittzafrir1-34/+20
* Don't write asterisk.conf from scratch. Fix the existing one. * Pass extra 'make' command-line arguments to 'install' and 'samples'. * Fix some extra typos. closes issue #15019 . git-svn-id: http://svn.digium.com/svn/asterisk/trunk@217015 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-13Fixed typoghenry2-6/+7
(closes issue #15710) Reported by: suretec git-svn-id: http://svn.digium.com/svn/asterisk/trunk@212027 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-12Added three new attributes and applied a patch to res_config_ldap.cghenry2-4/+60
attributetype ( AstAccountSubscribeContext NAME 'AstAccountSubscribeContext' DESC 'Asterisk subscribe context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountIpAddr NAME 'AstAccountIpAddr' DESC 'Asterisk aaccount IP address' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountUserAgent NAME 'AstAccountUserAgent' DESC 'Asterisk account user context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) and patch fix_empty_attributes_1.6.1.4_v2.patch (closes issue #13725) Reported by: macogeek Patches: fix_empty_attributes_1.6.1.4_v2.patch uploaded by xvisor (license 863) Tested by: suretec git-svn-id: http://svn.digium.com/svn/asterisk/trunk@211767 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-03Rename 'canreinvite' option to 'directmedia', with backwards compatibility.kpfleming1-1/+1
It is clear from multiple mailing list, forum, wiki and other sorts of posts that users don't really understand the effects that the 'canreinvite' config option actually has, and that in some cases they think that setting it to 'no' will actually cause various other features (T.38, MOH, etc.) to not work properly, when in fact this is not the case. This patch changes the proper name of the option to what it should have been from the beginning ('directmedia'), but preserves backwards compatibility for existing configurations. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@210190 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-26add OpenBSD to the install_prereq scriptmvanbaak1-1/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208886 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-25libxml2-dev is needed as well by default.mvanbaak1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208848 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-24use aptitude for debian based systemsmvanbaak1-4/+3
The function to check wether we need to install packages was using dpkg-query which was gives wrong output on Debian 5 Also, the apt-get has been replaced with aptitude because aptitude is now the preferred way to handle packages on Debian (closes issue #15570) Reported by: mvanbaak Patches: 2009072400_installprereq-aptitude.diff uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@208542 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-14Document all meetme realtime fields, and in the process, make some field ↵tilghman1-2/+12
lengths more consistent. (closes issue #15493) Reported by: lasko Patches: meetme.diff uploaded by lasko (license 833) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@206567 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Add information for new meetme realtime fieldstilghman1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198626 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Update references to bugs.digium.com and reviewboard.digium.com to the new URLs.seanbright3-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197824 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Added AstVoicemailContextghenry2-2/+20
Added AstVoicemailContext (closes issue #15155) Reported by: scramatte Tested by: suretec git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197431 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28New objectclass AsteriskVoiceMail and AstAccountCallLimit attributeghenry2-36/+213
Added new ObjectClass AsteriskVoiceMail, and AstAccountCallLimit attribute and cleaned up formatting and tested with OpenLDAP (closes issue #15155) Reported by: scramatte Patches: asterisk.schema uploaded by scramatte (license 796) Tested by: suretec Review: [full review board URL with trailing slash] git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197409 f38db490-d61c-443f-a65b-d21fe96a405b