Commit Graph

43 Commits

Author SHA1 Message Date
Sean Bright f22962a0c1 Remove a bunch of trailing whitespace in preparation for reformatting/cleanup.
Let's try that again, this time removing trailing whitespace and not leading
whitespace.  I can't believe no one noticed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-05-28 14:39:21 +00:00
Russell Bryant 4ec301360c Merge a large set of updates to the Asterisk indications API.
This patch includes a number of changes to the indications API.  The primary
motivation for this work was to improve stability.  The object management
in this API was significantly flawed, and a number of trivial situations could
cause crashes.

The changes included are:

1) Remove the module res_indications.  This included the critical functionality
   that actually loaded the indications configuration.  I have seen many people
   have Asterisk problems because they accidentally did not have an
   indications.conf present and loaded.  Now, this code is in the core,
   and Asterisk will fail to start without indications configuration.

   There was one part of res_indications, the dialplan applications, which did
   belong in a module, and have been moved to a new module, app_playtones.

2) Object management has been significantly changed.  Tone zones are now
   managed using astobj2, and it is no longer possible to crash Asterisk by
   issuing a reload that destroys tone zones while they are in use.

3) The API documentation has been filled out.

4) The API has been updated to follow our naming conventions.

5) Various bits of code throughout the tree have been updated to account
   for the API update.

6) Configuration parsing has been mostly re-written.

7) "Code cleanup"

The code is from svn/asterisk/team/russell/indications/.

Review: http://reviewboard.digium.com/r/149/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@176627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 20:41:24 +00:00
Russell Bryant f166220973 Merged revisions 168480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r168480 | russell | 2009-01-12 08:57:27 -0600 (Mon, 12 Jan 2009) | 2 lines

s/ringdance/ringcadence/ for Bulgaria

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 14:57:49 +00:00
Russell Bryant 01490ecd70 Merged revisions 81226 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81226 | russell | 2007-08-28 10:41:15 -0500 (Tue, 28 Aug 2007) | 2 lines

Add Russian tones.  (closes issue #7953, hanabana)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-28 15:42:08 +00:00
Russell Bryant 32ca8db474 Merged revisions 62497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62497 | russell | 2007-05-01 11:26:48 -0500 (Tue, 01 May 2007) | 11 lines

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

........
r62496 | russell | 2007-05-01 11:26:23 -0500 (Tue, 01 May 2007) | 3 lines

Add indications.conf information for the Philippines.
(issue #9525, reported and patched by loloski)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-01 16:27:14 +00:00
Joshua Colp 956b837a41 Merged revisions 43159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r43159 | file | 2006-09-18 11:05:39 -0400 (Mon, 18 Sep 2006) | 2 lines

Add number unobtainable tone for New Zealand (issue #7969 reported by nic_bellamy)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 15:07:59 +00:00
Joshua Colp 4c066de7cf Merged revisions 35334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r35334 | file | 2006-06-21 16:25:34 -0300 (Wed, 21 Jun 2006) | 2 lines

Add Venezuelan indications (issue #7402 reported by palillo)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-21 19:26:52 +00:00
Joshua Colp 0e5e744fb2 Add bulgarian indications (issue #7314 reported by KNK)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:23:13 +00:00
Olle Johansson 4e74b8fb75 Issue #7231 - Missing indications from libtonezone (tzafrir)
- "tuttter" changed to "stutter" ;-)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 09:27:38 +00:00
Russell Bryant 8a5436c72f add indications for Thailand (issue #6971)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 22:49:45 +00:00
Russell Bryant c114587344 add indications for Malaysia (issue #6758)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 06:04:49 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Josh Roberson fb418aa2e0 issue #5826
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-23 05:03:42 +00:00
Kevin P. Fleming f387421905 make sample config files easier to ready (issue #5371)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 22:51:59 +00:00
Russell Bryant 460e8fc8b7 add indications for es (bug #4939)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 12:38:48 +00:00
Kevin P. Fleming 3abe796aa8 fix up warnings (bug #4638)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 14:45:48 +00:00
Kevin P. Fleming 3e03366140 correct callwaiting tones for de and dk zones (bug #4519)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 23:53:16 +00:00
Kevin P. Fleming d617e890a6 add countries and reorder file into alphabetical order (bug #4482, part 1)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-09 21:21:32 +00:00
Kevin P. Fleming 23f14f839f add indications for Sweden (bug #4231)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 02:51:59 +00:00
Mark Spencer 0eab1fabcf Add mexican indications (bug #3667)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-01 06:43:08 +00:00
Mark Spencer df68d15aba Add Estonian tone zone (bug #3589)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-28 06:19:57 +00:00
Mark Spencer 54689b2f67 Add support for portugal (PT) (bug #3551)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-12 01:34:55 +00:00
Mark Spencer fda3016dc8 Fix silly typo in indications.conf (bug #3461()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 17:29:20 +00:00
Mark Spencer 259484a570 Update UK tones (bug #3430)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4911 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-29 04:05:09 +00:00
Mark Spencer 3680db8630 Add polish zones (bug #3016)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-11 04:31:05 +00:00
Mark Spencer 6e800f4797 Add Lithuania and Hungary to tone zones (bug #2992)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-09 06:33:40 +00:00
Mark Spencer bc60921076 Update indications.conf.sample for SG
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-08 00:12:11 +00:00
Mark Spencer cf764b8cba Tones for singapore (bug #2688)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-23 13:08:57 +00:00
Mark Spencer 72ca19339d Add indications for Chile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-16 15:30:37 +00:00
Mark Spencer 103034acf2 Add Taiwan support (bug #1599)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-15 23:32:07 +00:00
Mark Spencer 70d5cd0210 Add new zealand tone definitions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-02 02:16:46 +00:00
Mark Spencer 1622c57f07 Add russian indications (bug #1471)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-29 04:22:51 +00:00
Mark Spencer c96b093a58 Update australian tonezones.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-20 14:01:13 +00:00
Malcolm Davenport 2a9044d607 Bug # 1079. indications.conf.sample changes for Greece
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-24 20:32:12 +00:00
Jim Dixon dbe3dea363 Added us-old zone in indications.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-02-15 07:38:47 +00:00
Mark Spencer 821643f30b Add italian tone zone
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-16 00:14:22 +00:00
Malcolm Davenport 0448f34aff Bug #748 : indications.conf sample entry for South Africa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-08 21:59:12 +00:00
Malcolm Davenport 772b6b66b1 Correct indications.conf.sample for modulated indications for Australia: Bug #747
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-08 15:56:58 +00:00
Martin Pycko f6e02bc306 Add br tones
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-11 16:37:14 +00:00
Mark Spencer ccb2b96262 indications fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-10 23:39:27 +00:00
Martin Pycko c032902159 Add Norway tone zones to indications.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-08-13 02:55:06 +00:00
Martin Pycko 4331bbcc1a Add contributed Finland tones
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-06-20 15:28:43 +00:00
Mark Spencer ea59b1b791 Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-11-10 03:20:35 +00:00