Richard Mudgett
8726d89f58
live_ast: valgrind: run asterisk under valgrind
...
Adds a new sub-command, "valgrind" to live_ast. It runs asterisk under
valgrind. The extra command-line parameters are passed to Asterisk as
usual, and parameters to valgrind are passed through LIVE_AST_VALGRIND_ARGS
in live.conf .
Review: https://reviewboard.asterisk.org/r/1109/
Merged revisions 326636 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@350128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-09 18:54:56 +00:00
Richard Mudgett
3609b8c19b
Update contrib script live_ast to invoke Asterisk with valgrind and suppression file.
...
* Added valgrind_compare script to compare two valgrind log files for
differences.
(issue ASTERISK-17339)
Reported by: Tzafrir Cohen
Patches:
valgrind_compare (license #5035 ) script uploaded by Tzafrir Cohen
live_ast_valgrind.diff (license #5035 ) patch uploaded by Tzafrir Cohen
live_ast_valgrind_v2.diff (license #5185 ) patch uploaded by Paul Belanger
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@350127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-09 18:40:33 +00:00
Kinsey Moore
7369c261ea
Update autosupport script and man page
...
Added information collection from the output of the utilities: top, free, uptime, ifconfig
Added information collection from the output of the Asterisk command 'dahdi show status'
Added option / flag '-n, --non-interactive'
Updated man page to reflect new option / flag '-n, --non-interactive'
Patch-by: John Bigelow (itzanger)
(closes issue AST-749)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@349504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-04 20:00:33 +00:00
Leif Madsen
83e8f9b91c
Update get_ilbc_source.sh script to work again.
...
Recently iLBC support in Asterisk has changed after the acquisition of GIPS
by Google. More information about how this may affect you is available in a
blog post at:
http://blogs.asterisk.org/2011/09/19/ilbc-support-in-asterisk-after-googles-acquisition-of-gips/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@336572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-19 15:41:16 +00:00
Leif Madsen
186eeac9f4
Revert previous merge which had extra changes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-06-20 18:11:09 +00:00
Leif Madsen
0ce6617ee1
Remove extra 'the'.
...
Reported by Vlad Povorozniuc
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-06-20 18:07:44 +00:00
Leif Madsen
5e184ae5a5
Merged revisions 317102 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r317102 | lmadsen | 2011-05-05 10:54:46 -0400 (Thu, 05 May 2011) | 8 lines
Disable console colourization inside safe_asterisk checks.
(closes issue #19213 )
Reported by: lefoyer
Patches:
issue19213_strip_color_in_safe_asterisk-svn.patch uploaded by wdoekes (license 717)
Tested by: wdoekes, lefoyer
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-05 15:04:24 +00:00
Paul Belanger
5395327388
Add binutils-dev for BETTER_BACKTRACES
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@302831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-01-19 23:29:45 +00:00
Russell Bryant
0f143cdbf9
Merged revisions 300429 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
................
r300429 | russell | 2011-01-04 14:59:56 -0600 (Tue, 04 Jan 2011) | 11 lines
Merged revisions 300428 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r300428 | russell | 2011-01-04 14:56:04 -0600 (Tue, 04 Jan 2011) | 4 lines
Update the autosupport script from Digium support.
(closes AST-395)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@300430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-01-04 21:00:16 +00:00
Paul Belanger
66e95a72d3
Add RedHat specific dependencies
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@295404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-18 05:12:05 +00:00
Terry Wilson
225da545c5
Corret spelling and example
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@294049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-05 16:05:50 +00:00
Terry Wilson
10317dacb6
Tell people to use the correct common name for clients as well
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@294047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-05 15:36:20 +00:00
Terry Wilson
739dcea39b
Don't create directories without at least o+x
...
Also, making files that you are going to modify read-only is dumb.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@292825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-22 22:35:29 +00:00
Terry Wilson
af6a9e6199
Make files readable only by the owner
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@292794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-22 22:18:36 +00:00
Leif Madsen
9baf979137
Merged revisions 292786 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.8@292787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-22 21:28:43 +00:00
Terry Wilson
177d65f59c
Add TLS cert helper script
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.8@292740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-22 16:49:34 +00:00
Paul Belanger
4b5ec2055b
Add resample and imap_tk dependencies.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@292343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-19 22:14:23 +00:00
Kevin P. Fleming
88e6929beb
Allow users to pass additional arguments to the Subversion command that
...
obtains the MP-3 source code.
(reported on IRC by jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-02 17:57:13 +00:00
Russell Bryant
b0df8f51dc
Remove the MP3 decoder source code and replace it with a small shell script.
...
Review: https://reviewboard.asterisk.org/r/836/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@280742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-03 18:48:45 +00:00
Leif Madsen
6319a49f02
Merged revisions 280089 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/branches/1.8@280090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-28 13:52:50 +00:00
Russell Bryant
293bdffe70
Add a package to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-20 18:11:08 +00:00
Russell Bryant
9778856a03
Add lua5.1 to the handy dandy list of packages.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@276616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-15 12:21:10 +00:00
Tilghman Lesher
9e51ba05d5
Merged revisions 275909 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@275910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-13 14:48:40 +00:00
Russell Bryant
e5a3a2f1cd
Add example script for use with the externpasscheck voicemail.conf option.
...
(closes issue #17628 )
Reported by: lmadsen
Tested by: russell, lmadsen
Review: https://reviewboard.asterisk.org/r/774/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-13 11:41:54 +00:00
Russell Bryant
e370f7526f
Add libjack-dev to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:55:07 +00:00
Russell Bryant
a6b951248b
Add libpopt-dev, libical-dev, and libspandsp-dev to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:53:26 +00:00
Russell Bryant
edbb8560ca
Add libnewt-dev to install-prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:48:29 +00:00
Russell Bryant
7dd5497aa3
Add libopenais-dev to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:47:19 +00:00
Russell Bryant
0837a7088b
Add an "install-unpackaged" command to install_prereq for installing unpackaged dependencies (such as NBS and libresample).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:45:10 +00:00
Russell Bryant
3716797dfa
Add libcurl to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:33:32 +00:00
Russell Bryant
fe260aa203
Add freetds-dev to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:30:32 +00:00
Russell Bryant
5ae67447b3
Add libradiusclient-ng-dev to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:28:27 +00:00
Russell Bryant
7cccb2da6b
Add libbluetooth-dev to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:23:05 +00:00
Russell Bryant
0c8c9bb1c7
Add libmysqlclient-dev to install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:21:23 +00:00
Russell Bryant
0ed7cf1240
Add libgtk2.0-dev to the packages list for install_prereq.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 10:18:24 +00:00
Tzafrir Cohen
b8ea6e7500
live_ast: add commands 'rsync' and 'gen-live-asterisk'
...
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: https://origsvn.digium.com/svn/asterisk/trunk@263250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-16 16:31:34 +00:00
Leif Madsen
f7a34c978e
Add missing 'useragent' field to sip-friends.sql file.
...
(closes issue #17171 )
Reported by: thehar
Patches:
sip-friends.patch uploaded by thehar (license 831)
Tested by: pabelanger, thehar
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-20 18:01:28 +00:00
Tzafrir Cohen
16774318f9
fix hyphen vs. minus in man pages
...
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: https://origsvn.digium.com/svn/asterisk/trunk@256704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-10 08:33:57 +00:00
Sean Bright
a165ccc10f
Work around a bug in dash on Ubuntu by checking the number of arguments before shift'ing.
...
Reported and tested by pabelanger.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@254976 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-26 16:27:56 +00:00
Tilghman Lesher
fdef7e5deb
Update query should be an UPDATE, not a SELECT.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-22 19:05:27 +00:00
Tilghman Lesher
957dfc8c6d
Return the list for later manipulation. This fixes an issue with the update procedure.
...
Debugging with mmichelson.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-22 18:58:48 +00:00
Tilghman Lesher
589c397065
Accomodate equal signs in DSNs and add documentation, based upon mmichelson's feedback.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-22 16:59:35 +00:00
Russell Bryant
dcc85db7b6
Add the libvpb-dev package as a dependency.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08 04:51:00 +00:00
Russell Bryant
e438cffa36
Add more packages required for building Asterisk modules.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08 04:40:16 +00:00
Tilghman Lesher
3168cb379d
Merged revisions 239307 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@239308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-12 03:21:40 +00:00
Gavin Henry
5050e04101
Schema file additions
...
* 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: https://origsvn.digium.com/svn/asterisk/trunk@229050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-10 11:16:10 +00:00
Tilghman Lesher
1b147b0094
Make calltoken support work with realtime users and peers.
...
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: https://origsvn.digium.com/svn/asterisk/trunk@217916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-10 23:12:16 +00:00
Tzafrir Cohen
1ede3c3ca6
live_ast: Fix asterisk.conf instead of regenerating it
...
* 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: https://origsvn.digium.com/svn/asterisk/trunk@217015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-08 15:23:04 +00:00
Gavin Henry
2dee355517
Fixed typo
...
(closes issue #15710 )
Reported by: suretec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@212027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-13 11:37:12 +00:00
Gavin Henry
f2b9fc797d
Added three new attributes and applied a patch to res_config_ldap.c
...
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: https://origsvn.digium.com/svn/asterisk/trunk@211767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-12 16:00:46 +00:00