Commit Graph

282 Commits

Author SHA1 Message Date
Tilghman Lesher 83039d88e4 Merged revisions 266437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r266437 | tilghman | 2010-05-29 23:43:28 -0500 (Sat, 29 May 2010) | 2 lines
  
  Reverting patch and reopening issue #16784, as patch breaks color display.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-30 04:44:28 +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
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