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
Kevin P. Fleming
e9d22f802e
Rename 'canreinvite' option to 'directmedia', with backwards compatibility.
...
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: https://origsvn.digium.com/svn/asterisk/trunk@210190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-08-03 20:48:48 +00:00
Michiel van Baak
85c3b3e3b5
add OpenBSD to the install_prereq script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-26 14:00:52 +00:00
Michiel van Baak
7244366e7a
libxml2-dev is needed as well by default.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@208848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-25 12:28:38 +00:00
Michiel van Baak
3ee2e7566f
use aptitude for debian based systems
...
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: https://origsvn.digium.com/svn/asterisk/trunk@208542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-24 14:35:49 +00:00
Tilghman Lesher
b13740d1b1
Document all meetme realtime fields, and in the process, make some field lengths more consistent.
...
(closes issue #15493 )
Reported by: lasko
Patches:
meetme.diff uploaded by lasko (license 833)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@206567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-14 20:14:45 +00:00
Tilghman Lesher
469fb6b79a
Add information for new meetme realtime fields
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@198626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-01 18:40:35 +00:00
Sean Bright
f51bb019bb
Update references to bugs.digium.com and reviewboard.digium.com to the new URLs.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 21:50:27 +00:00
Gavin Henry
e9cb075d94
Added AstVoicemailContext
...
Added AstVoicemailContext
(closes issue #15155 )
Reported by: scramatte
Tested by: suretec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 11:25:03 +00:00
Gavin Henry
8fd3f6882e
New objectclass AsteriskVoiceMail and AstAccountCallLimit attribute
...
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: https://origsvn.digium.com/svn/asterisk/trunk@197409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 11:18:09 +00:00
Gavin Henry
a5fc03b683
closes issue #15156
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 10:43:51 +00:00
Joshua Colp
02401da266
Merged revisions 196657 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r196657 | file | 2009-05-26 10:06:09 -0300 (Tue, 26 May 2009) | 7 lines
Remove some bash specific stuff from safe_asterisk.
(closes issue #10812 )
Reported by: paravoid
Patches:
safe_asterisk_bashism.diff uploaded by tzafrir (license 46)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-26 13:06:50 +00:00
Michiel van Baak
ba6dab1a1b
Merged revisions 189849 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r189849 | mvanbaak | 2009-04-22 16:29:28 +0200 (Wed, 22 Apr 2009) | 12 lines
replace sed with tr to remove \r from downloaded file
On some systems, sed does not recognize \r in the pattern the way it
was used here.
Use tr instead because this works the same across systems.
(closes issue #14936 )
Reported by: leobrown
Patches:
2009042201_14936.diff.txt uploaded by mvanbaak (license 7)
Tested by: leobrown, mvanbaak
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@189850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-22 14:30:47 +00:00
Tilghman Lesher
92b20aa053
Merged revisions 187763 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187763 | tilghman | 2009-04-10 12:28:46 -0500 (Fri, 10 Apr 2009) | 2 lines
Add lastms column to the contributed table designs
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@187764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 17:29:34 +00:00
Michiel van Baak
5b497da128
set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path
...
When running asterisk as non-root and without this patch the pidfile wants
to go into /var/run/asterisk.pid. This directory is not writable for
the non-root user and changing permissions is not an option.
Putting it in /var/run/asterisk/asterisk.pid makes it possible
to set permissions on the /var/run/asterisk dir so everything
works as it should be.
Patched committed is based on pabelanger's patch.
(closes issue #13153 )
Reported by: pabelanger
Patches:
2009012900_bug13153-nonrootscripts.diff.txt uploaded by mvanbaak (license 7)
Review: http://reviewboard.digium.com/r/139/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-21 13:13:35 +00:00
Leif Madsen
898fd64528
The realtime_pgsql.sql script is missing a couple of fields.
...
closes issue #14339 )
Reported by: fiddur
Patches:
realtime_pgsql.sql.diff uploaded by fiddur (license 678)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@172271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-29 13:47:27 +00:00
Sean Bright
c7f3a38ea3
Merged revisions 168614 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r168614 | seanbright | 2009-01-14 15:52:00 -0500 (Wed, 14 Jan 2009) | 9 lines
Update autosupport script to supply info for both Zaptel and DAHDI in 1.4 and
be sure to run dahdi_test in 1.6.x and trunk instead of zttest.
(closes issue #14132 )
Reported by: dsedivec
Patches:
asterisk-1.4-autosupport.patch uploaded by dsedivec (license 638)
asterisk-trunk-autosupport.patch uploaded by dsedivec (license 638)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-14 20:58:26 +00:00
Michiel van Baak
84a4f83020
Add a script to find out the correct settings for Asterisk behind NAT
...
(closes issue #13065 )
Reported by: tzafrir
Patches:
sip_nat_settings uploaded by tzafrir (license 46)
sip_nat_settings_6 uploaded by mvanbaak (license 7)
Tested by: tzafrir, pabelanger, Dovid and moi
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 23:04:46 +00:00
Leif Madsen
d92e53a6f5
Oops... fix the fieldname I changed yesterday to be right.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@167662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-08 14:27:53 +00:00
Leif Madsen
82af1445e7
Update the sip-friends.sql file to use the non-deprecated 'defaultname' instead of 'username' and remove an extra comma that would cause the script to fail as-is
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@167373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 14:26:19 +00:00
Tilghman Lesher
326653d5e8
Set up umask as a possible configuration option.
...
(closes issue #13753 )
Reported by: irroot
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@164798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-16 19:54:11 +00:00
Joshua Colp
5d67d461aa
Update autosupport script with a few changes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@161830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 20:53:50 +00:00
Tilghman Lesher
154f9deed2
Clarify documentation, following merge of realtime_update2 branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-23 15:54:19 +00:00
Tilghman Lesher
e98ee36c0f
Add a contributed script for running Asterisk without installing it, first.
...
(closes issue #11680 )
Reported by: tzafrir
Patches:
live_ast_6 uploaded by tzafrir (license 46)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-22 20:05:15 +00:00
Michiel van Baak
5797763dcf
use pkill instead of killall to be more portable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@147266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 18:00:48 +00:00
Leif Madsen
803b6799de
Merged revisions 145479 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r145479 | lmadsen | 2008-10-01 13:18:30 -0400 (Wed, 01 Oct 2008) | 6 lines
Update the realtime_pgsql.sql script to create the setinterfacevar column.
(closes issue #13549 )
Reported by: fiddur
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@145487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 17:26:20 +00:00
Sean Bright
13c3bfcbc8
Merged revisions 143736 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r143736 | seanbright | 2008-09-19 20:50:10 -0400 (Fri, 19 Sep 2008) | 9 lines
Make vmail.cgi work with mailboxes defined in users.conf, too.
(closes issue #13187 )
Reported by: netvoice
Patches:
20080911__bug13187.diff.txt uploaded by Corydon76 (license 14)
(Slightly modified to take alchamist's comments on mantis into account)
Tested by: msales, alchamist, seanbright
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@143737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-20 00:52:20 +00:00
Michiel van Baak
d1df7bfcfc
Make safe_asterisk work on dash/sh/bash etc.
...
(closes issue #13111 )
Reported by: pabelanger
Patches:
2008071901_issue13111_safe_asterisk.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak, pabelanger
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 12:17:33 +00:00
Kevin P. Fleming
6291cd19bf
remove remaining Zaptel references in various places
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-28 16:42:00 +00:00
Tilghman Lesher
865a126751
Update version
...
(closes issue #13163 )
Reported by: suretec
Patches:
asterisk.ldif uploaded by suretec (license 70)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@133902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-25 21:59:39 +00:00
Tilghman Lesher
46db155e92
Build the logrotate script according to paths
...
(Closes issue #13147 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@133400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-24 05:21:00 +00:00
Tilghman Lesher
70a0b7fcd1
Add logrotate script for Asterisk
...
(closes issue #13085 )
Reported by: pabelanger
Patches:
logrotate uploaded by pabelanger (license 224)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@132977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 17:14:56 +00:00
Tilghman Lesher
509fd1aff7
LDAP schema updates
...
(closes issue #12860 )
Reported by: flyn
Patches:
asterisk.ldif uploaded by suretec (license 70)
asterisk.schema uploaded by suretec (license 70)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 15:17:51 +00:00
Tilghman Lesher
ed553a7c77
Separate multiple items encoded into a single field with ';'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 20:38:59 +00:00
Tilghman Lesher
115ff1bb37
Don't hang if the command is blank
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 22:49:16 +00:00
Jeff Peeler
ef3b214728
Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 17:27:55 +00:00
Tilghman Lesher
99c2f1c9f7
Expand CDR uniqueid field to 150 chars, to account for maximum systemname.
...
(Closes issue #12831 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 17:44:39 +00:00
Sean Bright
14b35dfb38
Merged revisions 121596 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r121596 | seanbright | 2008-06-10 14:34:45 -0400 (Tue, 10 Jun 2008) | 6 lines
Fixes a problem with some buggy versions of GNU awk (3.1.3) not liking carriage returns in scripts.
(closes issue #12749 )
Reported by: alinux
Tested by: Laureano (on #asterisk-dev), juggie
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 18:35:37 +00:00
Tilghman Lesher
9471b87d27
Merge the adaptive realtime branch, which will make adding new required fields
...
to realtime less painful in the future.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 19:07:27 +00:00
Michiel van Baak
fcc15d65b1
Merged revisions 119301 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r119301 | mvanbaak | 2008-05-30 18:44:39 +0200 (Fri, 30 May 2008) | 14 lines
dont use a bashism way to check the $VERSION variable.
The rc/init.d scripts, and safe_asterisk work on normal sh now again.
Tested on:
OpenBSD 4.2 (me)
Debian etch (me)
Ubuntu Hardy (me and loloski)
FC9 (loloski)
(closes issue #12687 )
Reported by: loloski
Patches:
20080529-12687-safe_asterisk-fixversion.diff.txt uploaded by mvanbaak (license 7)
Tested by: loloski, mvanbaak
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 16:47:24 +00:00