Commit Graph

331 Commits

Author SHA1 Message Date
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
Tilghman Lesher af4a5f0955 Add missing file (pointed out by TheDavidFactor on #asterisk-dev) referenced by revision 239231.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@259189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-27 15:25:22 +00:00
David Ruggles 26f4768702 Line 24 missed in compatibility fix in revision 233577
added a "fun:" prefix line 24


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@258974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-26 19:05:47 +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
Tilghman Lesher a452a07645 Merged revisions 252617 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r252617 | tilghman | 2010-03-15 16:43:14 -0500 (Mon, 15 Mar 2010) | 2 lines
  
  Uh, yeah.  Umask.  I'm stupid.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-15 21:51:55 +00:00
Tilghman Lesher 4c8f14b7cf Merged revisions 252361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r252361 | tilghman | 2010-03-14 20:33:50 -0500 (Sun, 14 Mar 2010) | 4 lines
  
  Launch Asterisk on Mac OS X with launchd.
  
  Reviewboard: https://reviewboard.asterisk.org/r/551/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-15 01:37:04 +00:00
Leif Madsen 3dda454199 Merged revisions 251309 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r251309 | lmadsen | 2010-03-08 12:07:44 -0600 (Mon, 08 Mar 2010) | 13 lines
  
  Fix Debian init script to not use -c.
  When using the init script as-is currently, it could cause issues on Debian
  such as high CPU usage. This fix has worked for several people so I'm
  implementing the change.
  
  
  (closes issue #16784)
  Reported by: pabelanger
  Tested by: pabelanger, mnick, davidw, mutineer612
  
  (closes issue #16887)
  Reported by: jlpedrosa
  Tested by: jlpedrosa, mutineer612
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@251310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-08 18:08:44 +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
Tilghman Lesher dd0ab33cb2 Add LSB headers to init scripts.
(closes issue #14864)
 Reported by: lathama
 Patches: 
       lsb-init-info-debian.diff uploaded by pkempgen (license 169)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-11 23:53:32 +00:00
Tilghman Lesher 38957995ff Permit more options in the Makefile as to startup options
(closes issue #16454)
 Reported by: syspert
 Patches: 
       20091228__issue16454__3.diff.txt uploaded by tilghman (license 14)
 Tested by: syspert


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-11 23:00:55 +00:00
Tilghman Lesher 9ce49d1579 Merged revisions 236433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r236433 | tilghman | 2009-12-27 12:19:38 -0600 (Sun, 27 Dec 2009) | 2 lines
  
  Turn on colors in the daemon, since there's many requests for it on Ubuntu.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-27 18:20:53 +00:00
Kevin P. Fleming ef9be94b35 Change all refererences to 1.6.3 to be 1.8, since that will be the next feature release
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@235904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-21 18:51:17 +00:00
Atis Lezdins 42f7353510 Fix compatibility with valgrind 3.3 and older.
(noticed in issue #16388)
Reported by: parisioa
Patches:
    valgrind.supp uloaded by atis (license 242)
Tested by: atis, parisioa


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 23:10:13 +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
Tzafrir Cohen ec6f1f3ea4 Add LSB headers to the Debian init.d script
See also issue #14864 .


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-07 17:02:38 +00:00
Tilghman Lesher 14a8c042cd Merged revisions 226811 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r226811 | tilghman | 2009-11-02 11:14:20 -0600 (Mon, 02 Nov 2009) | 8 lines
  
  Don't allow two separate instances of safe_asterisk when restarting from the init script.
  (closes issue #14562)
   Reported by: davidw
   Patches: 
         Initially 20091022__issue14562.diff.txt uploaded by tilghman (license 14)
         Modified to 20091030__Issue14562_diff.txt uploaded by davidw (license 780)
   Tested by: davidw
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-02 17:15:31 +00:00
Russell Bryant 844a01b27e Add an "Asterisk Architecture Overview" section to the doxygen documentation.
This is a side project I've been poking at this week.  The intent is to discuss
Asterisk architecture in a top down fashion to help new developers understand how
Asterisk is put together.  There is a ton of stuff to write about, so this will
just continue to evolve over time.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-30 04:08:39 +00:00
Tzafrir Cohen 3b6d052ac7 Remove extra cleanup in case we have more than one Asterisk.
/var/run would be cleaned on startup on most systems anyway.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-28 08:47:59 +00:00
Tzafrir Cohen 56a6df50cc another variation of the upstart script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-27 22:10:38 +00:00
Leif Madsen b544c53778 Merged revisions 225484 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r225484 | lmadsen | 2009-10-22 16:51:52 -0500 (Thu, 22 Oct 2009) | 11 lines
  
  Clean valgrind output by suppressing false errors.
  Update valgrind.txt documentation and add valgrind.supp file in order to
  allow those who are creating valgrind output to have less false errors in
  the logfile.
  
  (closes issue #16007)
  Reported by: atis
  Patches:
        valgrind.txt.diff uploaded by atis (license 242)
        asterisk2.supp uploaded by atis (license 242)
  Tested by: atis, amorsen
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@225485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-10-22 21:52:30 +00:00
Russell Bryant 6f8e099b34 Merged revisions 218798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r218798 | russell | 2009-09-16 08:33:43 -0500 (Wed, 16 Sep 2009) | 9 lines
  
  Remove the IAXy firmware from Asterisk.
  
  The firmware can now be found on downloads.digium.com, where the rest of our
  binary downloads live.  This was the last part of our Asterisk tarballs that
  was considered non-free by Debian.  :-)
  
  (closes issue #15838)
  Reported by: paravoid
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@218799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-09-16 13:34:41 +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
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
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
Kevin P. Fleming dd7630222c clean up a bunch more Zaptel-related references
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@130044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 16:18:01 +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
Tilghman Lesher 8722b3b5ae Add a script which installs every package needed for a Debian install of
Asterisk, and includes possible support (to be contributed) for various other
distributions.
(closes issue #10523)
 Reported by: tzafrir
 Patches: 
       install_prereq_2 uploaded by tzafrir (license 46)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 20:34:38 +00:00
Russell Bryant 44bf50567f Merged revisions 115557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115557 | russell | 2008-05-08 10:37:49 -0500 (Thu, 08 May 2008) | 3 lines

remove postgres_cdr.sql, as the CDR schema is in realtime_pgsql.sql, as well
(closes issue #9676)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 15:38:27 +00:00
Russell Bryant e6e42cc7e7 Merged revisions 115554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115554 | russell | 2008-05-08 10:32:08 -0500 (Thu, 08 May 2008) | 3 lines

Don't exit the script if Asterisk is not running.
(closes issue #12611)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 15:32:48 +00:00
Russell Bryant 0f1b96623b Merged revisions 115545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115545 | russell | 2008-05-08 09:40:53 -0500 (Thu, 08 May 2008) | 4 lines

Use the same method for executing Asterisk as the rest of the script.
(closes issue #12611)
Reported by: b_plessis

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 14:41:12 +00:00
Tilghman Lesher 7bab9e3710 Update typos in description fields
(closes issue #12598)
 Reported by: suretec
 Patches: 
       asterisk_schema_changes.patch uploaded by suretec (license 70)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07 13:49:15 +00:00
Jason Parker a41572affc Merged revisions 115422 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r115422 | qwell | 2008-05-06 14:55:29 -0500 (Tue, 06 May 2008) | 15 lines

Merged revisions 115421 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r115421 | qwell | 2008-05-06 14:54:57 -0500 (Tue, 06 May 2008) | 7 lines

read requires an argument on some non-bash shells

(closes issue #12593)
Reported by: bkruse
Patches:
      getilbc.sh_12593_v1.diff uploaded by bkruse (license 132)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-06 19:55:45 +00:00
Tilghman Lesher e01ada1ca7 Merged revisions 115285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115285 | tilghman | 2008-05-04 22:22:25 -0500 (Sun, 04 May 2008) | 7 lines

When starting Asterisk, bug out if Asterisk is already running.
(closes issue #12525)
 Reported by: explidous
 Patches: 
       20080428__bug12525.diff.txt uploaded by Corydon76 (license 14)
 Tested by: mvanbaak

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05 03:25:35 +00:00
Kevin P. Fleming 17924115db Merged revisions 114823 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r114823 | kpfleming | 2008-04-29 07:53:12 -0500 (Tue, 29 Apr 2008) | 10 lines

Merged revisions 114822 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r114822 | kpfleming | 2008-04-29 07:52:32 -0500 (Tue, 29 Apr 2008) | 2 lines

stop script from appending source code if run multiple times

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-29 12:54:31 +00:00
Tilghman Lesher 3376c2212c Merged revisions 114689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r114689 | tilghman | 2008-04-26 08:15:21 -0500 (Sat, 26 Apr 2008) | 6 lines

Clicking forward without selecting a message leaves an errant .lock file.
(closes issue #12528)
 Reported by: pukepail
 Patches: 
       patch.diff uploaded by pukepail (license 431)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-26 13:17:19 +00:00