Commit Graph

251 Commits

Author SHA1 Message Date
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
David Brooks 48363c16e1 Fixes numerous spelling errors. Patch submitted by alecdavis.
(closes issue #15595)
Reported by: alecdavis



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 16:07:05 +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
Sean Bright 5a2ef47b2f Make sure that since we are passing -c to asterisk that we have a console.
Without this line, Asterisk will busy-loop trying to read and write to
/dev/null (woops... my bad).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@206225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-13 18:46:47 +00:00
Sean Bright 2763066e34 Include basic installation and usage instructions for upstart script.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-12 19:46:25 +00:00
Sean Bright 870a5b6c2d First shot at an upstart script for asterisk on Ubuntu.
This works relatively well (assuming you are using /var/run/asterisk) as your
run directory and upstart 0.3.9.  Needs to be generalized and eventually added
to the 'make install' target for Ubuntu.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-12 19:42:26 +00:00
Sean Bright 4e9cce1b72 Call chgrp instead of chown when setting run directory group ownership.
(issue #13153)
Reported by: pabelanger


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-12 02:20:19 +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
Russell Bryant 2cb0018fa1 Start splitting up miscellaneous doxygen documentation into separate files.
doxyref.h was created to hold miscellaneous documentation that was not specific
to a part of the code.  This file has grown quite a bit so I decided to start
splitting parts of it out into new files.  Now, you can drop a new file into
include/asterisk/doxygen/ and it will be processed by doxygen.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@186953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-08 13:24:48 +00:00
Russell Bryant 34ae4d2825 Make some minor updates to the doxygen configuration
- add bridges directory to be processed
- add some res/ subdirs
- alphabetize subdirs
- use consistent indentation


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@180641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-07 15:36:00 +00:00
Tilghman Lesher dd1a5f1969 Also highlight the preamble and postamble
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@180334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-05 06:21:10 +00:00
Tilghman Lesher 2c54fc25cd Add syntax coloring files for Vim, including a new one for AEL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@180304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-03-05 01:41:37 +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
Mark Michelson 9f8ce77660 Merged revisions 170671 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r170671 | mmichelson | 2009-01-23 14:21:51 -0600 (Fri, 23 Jan 2009) | 14 lines

Update contrib/i18n.testsuite.conf to not use deprecated syntax

* Convert Wait,1 to Wait(1)
* Convert SetLanguage to Set(CHANNEL(language))
* Use 'n' for all priorities beyond the first

Also added test for Chinese numbers, too.

(closes issue #14320)
Reported by: dant
Patches:
      i18n.testsuite.conf.issue14320.v2.diff uploaded by dant (license 670)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-23 20:23:00 +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
Russell Bryant d0bc22b3e8 Add some additional Asterisk project developer documentation.
After the nightly update of the documentation on asterisk.org, I'll post 
an update to asterisk-dev with a pointer to the changes.  This covers some
release branch and commit policy information.  None of this should be a
surprise, since it's just documenting what we have already been doing.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@162418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 22:38:41 +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
Kevin P. Fleming e14dfcbedc improve handling of API calls provided by loaded modules through use of some GCC features; this makes app_stack's usage of AGI APIs even cleaner, and will allow it to work 'as expected' either with or without res_agi being loaded
reviewed at http://reviewboard.digium.com/r/62



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 21:20:50 +00:00
Jason Parker 7478e5ecd0 Make this executable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 21:03:12 +00:00
Jason Parker 493e903892 Add init script for ArchLinux
(closes issue #13667)
Reported by: sherif
Patches:
      archlinux_rc_makefile.patch uploaded by sherif (license 591)
      archlinux_rc_makefile-2.patch uploaded by mvanbaak (license 7)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 21:01:46 +00:00
Kevin P. Fleming 2ce2cc26c7 Merged revisions 157104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r157104 | kpfleming | 2008-11-15 19:00:32 +0100 (Sat, 15 Nov 2008) | 13 lines
  
  major update to doxygen configuration file:
  
  1) update to doxygen 1.5.x style file, as used in trunk
  
  2) tell doxygen where are header files are, so include-file processing can be done
  
  3) make all macros that are used to define variables/functions be expanded, so that doxygen will properly document the resulting variable/function
  
  4) make all macros that are used to provide the contents of a variable (structure) be expanded, so that doxygen will be able to document the resulting fields
  
  5) suppress compiler attributes (__attribute__(xxx)) from being seen by doxygen, so it will properly match up function definition and usage (for an example of th effect of this, look at the doxygen docs for ast_log() from before and afte this commit)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-15 18:25:01 +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 b0d56687c6 dont use deprecated commands in the init scripts.
(closes issue #13720)
Reported by: decryptus_proformatique
Patches:
      contrib_initd_module_reload.patch uploaded by decryptus (license 555)
	  With mods by me to fix stop commands as well


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-18 09:02:36 +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
Tilghman Lesher ebe9c21be4 Merged revisions 136190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r136190 | tilghman | 2008-08-06 15:14:54 -0500 (Wed, 06 Aug 2008) | 4 lines

-C option takes a filename, not a directory path.
(closes issue #13007)
 Reported by: klaus3000

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 20:15:34 +00:00
Tilghman Lesher 7e8f0ab219 Rename Mandrake scripts to Mandriva
(Closes issue #13221)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:12:15 +00:00
Tilghman Lesher ffbd21ad7f Merged revisions 135482 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r135482 | tilghman | 2008-08-04 12:07:52 -0500 (Mon, 04 Aug 2008) | 2 lines

Define ASTSBINDIR for script
(Closes issue #13221)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:08:42 +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