asterisk/asterisk.git
12 years agoAdding the more flexible QUEUE_MEMBER function to replace the QUEUE_MEMBER_COUNT...
Mark Michelson [Mon, 29 Oct 2007 20:13:23 +0000 (20:13 +0000)]
Adding the more flexible QUEUE_MEMBER function to replace the QUEUE_MEMBER_COUNT function.
A deprecation notice will be issued the first time QUEUE_MEMBER_COUNT is used.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoDrop the RTCP Read too short message to debug. There are some phones out there that...
Joshua Colp [Mon, 29 Oct 2007 20:02:31 +0000 (20:02 +0000)]
Drop the RTCP Read too short message to debug. There are some phones out there that send a sort of keep alive packet in the RTCP that trigger this every 5 seconds.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87394 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMake sure we set flags to a 0 value before trying to use it. Pointed out by seanbrig...
Jason Parker [Mon, 29 Oct 2007 19:56:50 +0000 (19:56 +0000)]
Make sure we set flags to a 0 value before trying to use it.  Pointed out by seanbright while I was debugging issue 11109.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87393 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 87373 via svnmerge from
Russell Bryant [Mon, 29 Oct 2007 19:47:52 +0000 (19:47 +0000)]
Merged revisions 87373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87373 | russell | 2007-10-29 14:21:06 -0500 (Mon, 29 Oct 2007) | 5 lines

Remove a lock that doesn't make any sense.  The regions lock needs to be held
when traversing the list of allocated chunks so that they can be printed out
to the CLI.
(Thanks to eliel on #asterisk-dev for pointing this out!)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87392 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 87342 via svnmerge from
Joshua Colp [Mon, 29 Oct 2007 17:22:16 +0000 (17:22 +0000)]
Merged revisions 87342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87342 | file | 2007-10-29 14:20:28 -0300 (Mon, 29 Oct 2007) | 6 lines

Fix issue where if both sides of the dialog cancelled the dialog at the same time chan_sip could kepe retransmitting a response for no reason.
(closes issue #9566)
Reported by: atca_pres
Patches:
      bug9566.patch uploaded by oej

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87343 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 87340 via svnmerge
Jason Parker [Mon, 29 Oct 2007 17:19:22 +0000 (17:19 +0000)]
Blocked revisions 87340 via svnmerge

(Closes issue #11104)
........
r87340 | qwell | 2007-10-29 12:13:04 -0500 (Mon, 29 Oct 2007) | 4 lines

Allow some function modules to compile under dev mode.

Issue 11104, patch by andrew.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87341 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoRemove duplicate stdlib.h include.
Joshua Colp [Mon, 29 Oct 2007 16:38:31 +0000 (16:38 +0000)]
Remove duplicate stdlib.h include.
(closes issue #11105)
Reported by: eliel
Patches:
      app_voicemail.c.patch uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87327 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd autoconf checks for extra suppserv definitions that are not present in releases...
Joshua Colp [Mon, 29 Oct 2007 16:34:45 +0000 (16:34 +0000)]
Add autoconf checks for extra suppserv definitions that are not present in releases yet. chan_misdn should now build against the latest release.
(closes issue #11103)
Reported by: IgorG

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87325 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 87294 via svnmerge from
Joshua Colp [Mon, 29 Oct 2007 14:29:18 +0000 (14:29 +0000)]
Merged revisions 87294 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87294 | file | 2007-10-29 11:23:49 -0300 (Mon, 29 Oct 2007) | 6 lines

Fix issue with ast_unescape_semicolon going into an endless loop.
(closes issue #10550)
Reported by: ramonpeek
Patches:
      unescape-85177-1.patch uploaded by IgorG (license 20)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87295 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd a simple dialgroup function. By taking one of the simpler uses of Queue
Tilghman Lesher [Sun, 28 Oct 2007 14:16:45 +0000 (14:16 +0000)]
Add a simple dialgroup function.  By taking one of the simpler uses of Queue
away from Queue, we simplify the lives of people who do not need all the bells
and whistles.  Also, this is part of the functions that people need to
reimplement Queue in the dialplan, as a set of logic, rather than as a single
app with hundreds of options.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 87262 via svnmerge from
Tilghman Lesher [Sun, 28 Oct 2007 14:11:01 +0000 (14:11 +0000)]
Merged revisions 87262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87262 | tilghman | 2007-10-28 08:46:55 -0500 (Sun, 28 Oct 2007) | 7 lines

Add autoservice to several more functions which might delay in their responses.
Also, make sure that func_odbc functions have a channel on which to set
variables.
Reported by russell
Fixed by tilghman
Closes issue #11099

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87263 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUpdate the configure script for the last libss7 API change
Russell Bryant [Sat, 27 Oct 2007 15:41:38 +0000 (15:41 +0000)]
Update the configure script for the last libss7 API change

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87247 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMake sure a channel exists before attempting to start or stop channel
Russell Bryant [Sat, 27 Oct 2007 01:15:02 +0000 (01:15 +0000)]
Make sure a channel exists before attempting to start or stop channel
autoservice in func_lock and func_shell.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87233 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd Circuit Group Queury message code
Matthew Fredrickson [Sat, 27 Oct 2007 00:48:12 +0000 (00:48 +0000)]
Add Circuit Group Queury message code

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87232 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMake sure we turn on the DSP when we answer the call
Matthew Fredrickson [Sat, 27 Oct 2007 00:43:59 +0000 (00:43 +0000)]
Make sure we turn on the DSP when we answer the call

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87231 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoForgot to update CHANGES when I committed the linear queue strategy.
Mark Michelson [Fri, 26 Oct 2007 22:21:08 +0000 (22:21 +0000)]
Forgot to update CHANGES when I committed the linear queue strategy.
Thank you Russell, for pointing this out!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87217 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoCorrectly use defined return values in (some) load_module functions.
Jason Parker [Fri, 26 Oct 2007 21:37:02 +0000 (21:37 +0000)]
Correctly use defined return values in (some) load_module functions.

(issue #11096)
Patches:
      chan_agent.c.patch uploaded by eliel (license 64)
      chan_local.c.patch uploaded by eliel (license 64)
      chan_features.c.patch uploaded by eliel (license 64)
      chan_zap.c.patch uploaded by eliel (license 64)
      res_monitor.c.patch uploaded by eliel (license 64)
      res_realtime.c.patch uploaded by eliel (license 64)
      res_crypto.c.patch uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87202 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 87168 via svnmerge from
Steve Murphy [Fri, 26 Oct 2007 17:39:39 +0000 (17:39 +0000)]
Merged revisions 87168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87168 | murf | 2007-10-26 10:34:02 -0600 (Fri, 26 Oct 2007) | 1 line

closes issue #11086 where a user complains that references to following contexts report a problem; The problem was REALLy that he was referring to empty contexts, which were being ignored. Reporter stated that empty contexts should be OK. I checked it out against extensions.conf, and sure enough, empty contexts ARE ok. So, I removed the restriction from AEL. This, though, highlighted a problem with multiple contexts of the same name. This should be OK, also. So, I added the extend keyword to AEL, and it can preceed the 'context' keyword (mixed with 'abstract', if nec.). This will turn off the warnings in AEL if the same context name is used 2 or more times. Also, I now call ast_context_find_or_create for contexts now, instead of just ast_context_create; I did this because pbx_config does this. The 'extend' keyword thus becomes a statement of intent. AEL can now duplicate the behavior of pbx_config,
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87187 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdded queue strategy "linear". This strategy is useful for those who always wish...
Mark Michelson [Fri, 26 Oct 2007 15:19:46 +0000 (15:19 +0000)]
Added queue strategy "linear". This strategy is useful for those who always wish for their
phones to be rung in a specific order.

(closes issue #7279, reported and initially patched by diLLec, patch reworked by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87154 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoRemove information about the roundrobin strategy from trunk's queues.conf.sample
Mark Michelson [Fri, 26 Oct 2007 14:59:31 +0000 (14:59 +0000)]
Remove information about the roundrobin strategy from trunk's queues.conf.sample
since it no longer exists

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 87120 via svnmerge from
Tilghman Lesher [Fri, 26 Oct 2007 14:00:48 +0000 (14:00 +0000)]
Merged revisions 87120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87120 | tilghman | 2007-10-26 08:54:30 -0500 (Fri, 26 Oct 2007) | 7 lines

The addition of autoservice to func_curl additionally made func_curl dependent
on the existence of a channel, with no real reason.  This should make func_curl
once again work without a channel.
Reported by jmls.
Fixed by tilghman.
Closes issue #11090

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87121 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 87067 via svnmerge
Tilghman Lesher [Fri, 26 Oct 2007 00:16:08 +0000 (00:16 +0000)]
Blocked revisions 87067 via svnmerge

........
r87067 | tilghman | 2007-10-25 17:53:06 -0500 (Thu, 25 Oct 2007) | 4 lines

Backport alternate encoding of newline delimiters from trunk to 1.4, as approved by Russell
Reported by blitzrage
Closes issue #10903

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87104 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUse the same delimited character as the FILTER function in FIELDQTY and CUT.
Tilghman Lesher [Fri, 26 Oct 2007 00:11:31 +0000 (00:11 +0000)]
Use the same delimited character as the FILTER function in FIELDQTY and CUT.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87103 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 87069 via svnmerge from
Kevin P. Fleming [Thu, 25 Oct 2007 23:11:28 +0000 (23:11 +0000)]
Merged revisions 87069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87069 | kpfleming | 2007-10-25 18:03:11 -0500 (Thu, 25 Oct 2007) | 2 lines

appending one list to another should leave the first list empty, and not require the user to do that

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87070 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd support for a muted user to request to talk. The '2' option in the user
Russell Bryant [Thu, 25 Oct 2007 18:59:22 +0000 (18:59 +0000)]
Add support for a muted user to request to talk.  The '2' option in the user
menu will adjust this status if a user is muted.  The talk request status will
be reflected in the CLI commands as well as the manager interface.

(closes issue #9418)
Reported by: imesper
Patches:
      app_meetme_v2.patch uploaded by imesper (license 275)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87040 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agocloses issue #11045 - each file needs to define ASTERISK_FILE_VERSION, if you are...
Steve Murphy [Thu, 25 Oct 2007 16:21:30 +0000 (16:21 +0000)]
closes issue #11045 - each file needs to define ASTERISK_FILE_VERSION, if you are going to set MTX_PROFILE in the compiler flags; the problem was that the fixes were getting made to the generated .c file, and erased the next time someone regenerated that file from the corresponding .y or .flex file. Moral of story: keep your eyes open and make mods to the .y (or flex input file) and re-run bison (or flex) as the Makefile directs for that file, and then check in both. Also, res_config_sqlite was kinda missed, and has the same issue.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdding the general option "shared_lastcall" to queues so that a member's wrapuptime
Mark Michelson [Wed, 24 Oct 2007 21:26:27 +0000 (21:26 +0000)]
Adding the general option "shared_lastcall" to queues so that a member's wrapuptime
may be used across multiple queues.

(closes issue #9777, reported and patched by eliel)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86985 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86982 via svnmerge from
Jason Parker [Wed, 24 Oct 2007 20:59:00 +0000 (20:59 +0000)]
Merged revisions 86982 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11079)
........
r86982 | qwell | 2007-10-24 15:56:47 -0500 (Wed, 24 Oct 2007) | 5 lines

Correctly respect hidecalleridname configuration option.
Simplify code slightly in the process.

Issue 11079, reported by ddv2005

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86983 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agocloses issue #11005, where #include uses the current dir instead of the config dir...
Steve Murphy [Wed, 24 Oct 2007 13:21:29 +0000 (13:21 +0000)]
closes issue #11005, where #include uses the current dir instead of the config dir (/etc/asterisk) for relative path includes for AEL

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86967 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86936 via svnmerge from
Steve Murphy [Wed, 24 Oct 2007 04:44:27 +0000 (04:44 +0000)]
Merged revisions 86936 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86936 | murf | 2007-10-23 22:14:28 -0600 (Tue, 23 Oct 2007) | 1 line

closes issue #11037 -- unable to specify app:spec in hint arguments
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86954 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86902 via svnmerge from
Steve Murphy [Tue, 23 Oct 2007 21:25:37 +0000 (21:25 +0000)]
Merged revisions 86902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86902 | murf | 2007-10-23 15:18:08 -0600 (Tue, 23 Oct 2007) | 1 line

closes issue #11052 -- where nothing after the ? will allow un-initialized variable values to corrupt and crash asterisk on 64-bit platforms
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86903 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86880 via svnmerge from
Steve Murphy [Tue, 23 Oct 2007 21:06:15 +0000 (21:06 +0000)]
Merged revisions 86880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86880 | murf | 2007-10-23 14:20:54 -0600 (Tue, 23 Oct 2007) | 1 line

This should get rid of a really, really irritating warning generated by some 64-bit platforms from libc, where free(0) is frowned upon
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86901 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86881 via svnmerge from
Steve Murphy [Tue, 23 Oct 2007 20:44:58 +0000 (20:44 +0000)]
Merged revisions 86881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86881 | murf | 2007-10-23 14:22:25 -0600 (Tue, 23 Oct 2007) | 1 line

this update to Makefile corrects how ast_expr2f.c should be generated
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86900 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86836 via svnmerge from
Russell Bryant [Mon, 22 Oct 2007 21:37:58 +0000 (21:37 +0000)]
Merged revisions 86836 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86836 | russell | 2007-10-22 16:36:12 -0500 (Mon, 22 Oct 2007) | 9 lines

If lock tracking is not enabled, then we can not attempt to log any mutex
failures.  If so, we could end up in infinite recursion.  The only lock that
is affected by this is a mutex in astmm.c used when MALLOC_DEBUG is enabled.

(closes issue #11044)
Reported by: ys
Patches:
      lock.h.diff uploaded by ys (license 281)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86839 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoConvert some spaces to tabs and make it so the CLI command is only registered
Russell Bryant [Mon, 22 Oct 2007 21:17:16 +0000 (21:17 +0000)]
Convert some spaces to tabs and make it so the CLI command is only registered
once instead of 3 times.

(closes issue #11053)
Reported by: seanbright
Patches:
      app_playback.patch uploaded by seanbright (license 71)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86835 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoSwitch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't...
Jason Parker [Mon, 22 Oct 2007 20:05:18 +0000 (20:05 +0000)]
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86787 via svnmerge from
Tilghman Lesher [Mon, 22 Oct 2007 17:40:29 +0000 (17:40 +0000)]
Merged revisions 86787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86787 | tilghman | 2007-10-22 12:38:13 -0500 (Mon, 22 Oct 2007) | 2 lines

Minor FreeBSD build fix

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86790 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86756 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 16:36:56 +0000 (16:36 +0000)]
Merged revisions 86756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86756 | file | 2007-10-22 13:35:22 -0300 (Mon, 22 Oct 2007) | 4 lines

After reading online I have confirmed that Record-Route headers should be copied to 1xx responses as well.
(closes issue #10113)
Reported by: makoto

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86757 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86754 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 16:19:01 +0000 (16:19 +0000)]
Merged revisions 86754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86754 | file | 2007-10-22 13:15:18 -0300 (Mon, 22 Oct 2007) | 4 lines

Make sure res is a positive value before performing the check to determine whether the user stopped it or not.
(closes issue #11023)
Reported by: cfc

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86755 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86750 via svnmerge from
Russell Bryant [Mon, 22 Oct 2007 15:57:02 +0000 (15:57 +0000)]
Merged revisions 86750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86750 | russell | 2007-10-22 10:52:48 -0500 (Mon, 22 Oct 2007) | 8 lines

Don't leak a frame in the case that an END frame is received and the time since
the BEGIN is less than that of the defined minimum DTMF duration.

(closes issue #11051)
Reported by: casper
Patches:
      channel.c.86664.diff uploaded by casper (license 55)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86751 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoThere is a really fun game that you can play before committing code,
Russell Bryant [Mon, 22 Oct 2007 15:49:17 +0000 (15:49 +0000)]
There is a really fun game that you can play before committing code,
and it's called "make".  :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86749 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86726 via svnmerge from
Russell Bryant [Mon, 22 Oct 2007 15:45:04 +0000 (15:45 +0000)]
Merged revisions 86726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86726 | russell | 2007-10-22 10:43:30 -0500 (Mon, 22 Oct 2007) | 4 lines

Update the static mutex initializer to include the initialization of
the internal mutex used to protect the lock debugging data.
(closes issue #11044, patch suggested by Ivan)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86734 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoresetinterval defaulting to something other than 'never' doesn't seem to accomplish...
Kevin P. Fleming [Mon, 22 Oct 2007 14:59:27 +0000 (14:59 +0000)]
resetinterval defaulting to something other than 'never' doesn't seem to accomplish any good and causes problems for plenty of people...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86697 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86694 via svnmerge from
Mark Michelson [Mon, 22 Oct 2007 14:58:57 +0000 (14:58 +0000)]
Merged revisions 86694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86694 | mmichelson | 2007-10-22 09:48:46 -0500 (Mon, 22 Oct 2007) | 5 lines

Account for the fact that sometimes headers may be terminated with \r\n instead of just \n

(closes issue #11043, reported by yehavi)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86696 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agomerging patches that don't compile is bad... mmkay?
Kevin P. Fleming [Mon, 22 Oct 2007 14:56:05 +0000 (14:56 +0000)]
merging patches that don't compile is bad... mmkay?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86695 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86663 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 14:28:07 +0000 (14:28 +0000)]
Merged revisions 86663 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86663 | file | 2007-10-22 11:27:03 -0300 (Mon, 22 Oct 2007) | 6 lines

Move log message to before the frame it references is freed.
(closes issue #11050)
Reported by: slavon
Patches:
      channel.c.86662.diff uploaded by casper (license 55)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86664 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86661 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 14:07:14 +0000 (14:07 +0000)]
Merged revisions 86661 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86661 | file | 2007-10-22 11:05:26 -0300 (Mon, 22 Oct 2007) | 6 lines

Fix tab completion for dundi show peer.
(closes issue #11041)
Reported by: jsmith
Patches:
      asterisk-dundicomplete.diff.txt uploaded by jamesgolovich (license 176)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86662 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86630 via svnmerge from
Joshua Colp [Mon, 22 Oct 2007 13:36:13 +0000 (13:36 +0000)]
Merged revisions 86630 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86630 | file | 2007-10-22 10:33:23 -0300 (Mon, 22 Oct 2007) | 6 lines

Fixes for building under OpenSolaris.
(closes issue #11047)
Reported by: snuffy
Patches:
      11047-fixes.diff uploaded by snuffy (license 35)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86631 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86598 via svnmerge from
Christian Richter [Mon, 22 Oct 2007 10:18:43 +0000 (10:18 +0000)]
Merged revisions 86598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86598 | crichter | 2007-10-22 11:21:15 +0200 (Mo, 22 Okt 2007) | 1 line

we send DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan does not match after an overlap call. Also added out_cause=1
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86617 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agostarted to add some basic support for supplementary services like CallForwarding...
Christian Richter [Mon, 22 Oct 2007 10:04:04 +0000 (10:04 +0000)]
started to add some basic support for supplementary services like CallForwarding and so forth

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86616 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 85532 via svnmerge from
Russell Bryant [Sun, 21 Oct 2007 22:52:20 +0000 (22:52 +0000)]
Merged revisions 85532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85532 | russell | 2007-10-13 00:24:33 -0500 (Sat, 13 Oct 2007) | 8 lines

Properly handle the case where read() may return the text for more than one
CLI command at once for a remote console.

(closes issue #10888)
Reported by: jamesgolovich
Patches:
      asterisk-climultiple.diff.txt uploaded by jamesgolovich (license 176)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86585 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoImproved comments and organization for zapata.conf (#10904)
Matthew Fredrickson [Sat, 20 Oct 2007 19:56:26 +0000 (19:56 +0000)]
Improved comments and organization for zapata.conf (#10904)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86572 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd better support for blocking and unblocking of CICs (#10965)
Matthew Fredrickson [Fri, 19 Oct 2007 18:46:28 +0000 (18:46 +0000)]
Add better support for blocking and unblocking of CICs (#10965)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86549 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoConvert NEW_CLI to AST_CLI.
Jason Parker [Fri, 19 Oct 2007 18:29:40 +0000 (18:29 +0000)]
Convert NEW_CLI to AST_CLI.

Closes issue #11039, as suggested by seanbright.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMore changes to NEW_CLI.
Jason Parker [Fri, 19 Oct 2007 18:01:00 +0000 (18:01 +0000)]
More changes to NEW_CLI.
Also fixes a few cli messages and some minor formatting.

(closes issue #11001)
Reported by: seanbright
Patches:
      newcli.1.patch uploaded by seanbright (license 71)
      newcli.2.patch uploaded by seanbright (license 71)
      newcli.4.patch uploaded by seanbright (license 71)
      newcli.5.patch uploaded by seanbright (license 71)
      newcli.6.patch uploaded by seanbright (license 71)
      newcli.7.patch uploaded by seanbright (license 71)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86534 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86502 via svnmerge from
Joshua Colp [Fri, 19 Oct 2007 16:40:52 +0000 (16:40 +0000)]
Merged revisions 86502 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86502 | file | 2007-10-19 13:38:29 -0300 (Fri, 19 Oct 2007) | 4 lines

When returning a DTMF digit from ast_control_streamfile cast it as a char so that 0 does not overlap with the success return code.
(closes issue #11023)
Reported by: cfc

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86471 via svnmerge from
Joshua Colp [Fri, 19 Oct 2007 15:36:27 +0000 (15:36 +0000)]
Merged revisions 86471 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86471 | file | 2007-10-19 12:33:49 -0300 (Fri, 19 Oct 2007) | 6 lines

Fix two issues with domains and transfers. If a port was given in the hostname it was treated as part of the hostname. If domains were configured but external domains were not enabled all transfers would be considered remote.
(closes issue #11027)
Reported by: ramonpeek
Patches:
      11027-1.diff uploaded by ramonpeek (license 266)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86472 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86469 via svnmerge from
Joshua Colp [Fri, 19 Oct 2007 15:10:24 +0000 (15:10 +0000)]
Merged revisions 86469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86469 | file | 2007-10-19 12:08:12 -0300 (Fri, 19 Oct 2007) | 4 lines

Set port number in received as information for registrations as well.
(closes issue #11028)
Reported by: brad-x

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86470 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFixed a buffer size issue.
TransNexus OSP Development [Fri, 19 Oct 2007 01:56:47 +0000 (01:56 +0000)]
Fixed a buffer size issue.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86439 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86405 via svnmerge from
Jason Parker [Thu, 18 Oct 2007 22:03:03 +0000 (22:03 +0000)]
Merged revisions 86405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Closes issue #11029)
........
r86405 | qwell | 2007-10-18 16:58:44 -0500 (Thu, 18 Oct 2007) | 4 lines

Add documentation for options in asterisk.conf

Issue 11029, patch by eserra

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86408 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 86406 via svnmerge
Jason Parker [Thu, 18 Oct 2007 22:01:53 +0000 (22:01 +0000)]
Blocked revisions 86406 via svnmerge

........
r86406 | qwell | 2007-10-18 17:01:02 -0500 (Thu, 18 Oct 2007) | 1 line

Correct documentation.  I removed the wrong line..
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86407 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 86371-86372 via svnmerge
Russell Bryant [Thu, 18 Oct 2007 21:19:30 +0000 (21:19 +0000)]
Blocked revisions 86371-86372 via svnmerge

........
r86371 | russell | 2007-10-18 16:14:15 -0500 (Thu, 18 Oct 2007) | 2 lines

Add support for setting the maximum trunk size for IAX2 trunking

........
r86372 | russell | 2007-10-18 16:16:47 -0500 (Thu, 18 Oct 2007) | 2 lines

Revert erroneous commit.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86373 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFixing a segfault from tab-completing a "zap restart" CLI command.
Mark Michelson [Thu, 18 Oct 2007 18:40:48 +0000 (18:40 +0000)]
Fixing a segfault from tab-completing a "zap restart" CLI command.

(patch made by seanbright, pointed out in #asterisk-dev on IRC)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86350 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86330 via svnmerge from
Russell Bryant [Thu, 18 Oct 2007 18:06:49 +0000 (18:06 +0000)]
Merged revisions 86330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86330 | russell | 2007-10-18 13:03:10 -0500 (Thu, 18 Oct 2007) | 10 lines

The channel needs to stay locked while running timer callbacks, as they access
and modify channel data that may change elsewhere.  I went through every timer
callback in the source tree to make sure that none of them did any additional
locking that could introduce deadlocks, and all is well.

(closes issue #10765)
Reported by: Ivan
Patches:
      ast_1_4_11_svn_patch_channel_rc.diff uploaded by Ivan (license 229)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86331 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86328 via svnmerge from
Mark Michelson [Thu, 18 Oct 2007 17:40:45 +0000 (17:40 +0000)]
Merged revisions 86328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86328 | mmichelson | 2007-10-18 12:38:26 -0500 (Thu, 18 Oct 2007) | 5 lines

If a non-existent file is specified to be played either as a periodic announcement
or as a hold/position announcement, the caller would be kicked out of the queue.
No longer does this happen.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoChanged some spaces to tabs
Mark Michelson [Thu, 18 Oct 2007 16:16:51 +0000 (16:16 +0000)]
Changed some spaces to tabs

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86296 via svnmerge from
Russell Bryant [Thu, 18 Oct 2007 15:57:30 +0000 (15:57 +0000)]
Merged revisions 86296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86296 | russell | 2007-10-18 10:45:55 -0500 (Thu, 18 Oct 2007) | 3 lines

Execute the RELEASE operation on transcoder channels in the destroy callback.
(patch from jsloan)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86297 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoCode cleanup of acl.c
Tilghman Lesher [Thu, 18 Oct 2007 07:23:41 +0000 (07:23 +0000)]
Code cleanup of acl.c
Reported by dimas
Closes issue #10784

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86278 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoOn reload, re-read the files in the specified moh directory (closes issue #10536)
Tilghman Lesher [Thu, 18 Oct 2007 07:12:18 +0000 (07:12 +0000)]
On reload, re-read the files in the specified moh directory (closes issue #10536)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86277 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86237 via svnmerge from
Russell Bryant [Thu, 18 Oct 2007 04:41:33 +0000 (04:41 +0000)]
Merged revisions 86237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86237 | russell | 2007-10-17 23:40:52 -0500 (Wed, 17 Oct 2007) | 9 lines

Revert a change that I made for issue #10979 which, as has been pointed out to
me in issue #11018, doesn't really make sense.  There is no reason to have
the base64 decode function force a '\0' terminated buffer, when the result is
almost always binary, anyway.  In fact, this caused some breakage, as some code
in res_crypto passed in a buffer exactly the right size to get its binary
result, which got stomped on by this patch.

(closes issue #11018, reported by dimas)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86238 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86202 via svnmerge from
Mark Michelson [Wed, 17 Oct 2007 21:41:06 +0000 (21:41 +0000)]
Merged revisions 86202 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86202 | mmichelson | 2007-10-17 16:39:05 -0500 (Wed, 17 Oct 2007) | 6 lines

Changing the strategy field of the call_queue struct to be signed instead of unsigned,
since the code attempts to set the strategy to -1 if you specify a bogus strategy.
While this isn't a huge issue in 1.4, it could be a problem for someone who, say, tries
to use the roundrobin strategy in trunk (despite all the deprecation warnings in 1.4).

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86208 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoSimplify some preprocessor logic by using #elif
Tilghman Lesher [Wed, 17 Oct 2007 21:16:40 +0000 (21:16 +0000)]
Simplify some preprocessor logic by using #elif

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86197 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoDocument the changes made earlier today to meetme
Tilghman Lesher [Wed, 17 Oct 2007 20:42:20 +0000 (20:42 +0000)]
Document the changes made earlier today to meetme

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86195 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoand then, I noticed the clicompat stuff.
Steve Murphy [Wed, 17 Oct 2007 20:06:28 +0000 (20:06 +0000)]
and then, I noticed the clicompat stuff.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86182 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agomore stub routines to allow linkage in stand-alone environment, with thread debugs...
Steve Murphy [Wed, 17 Oct 2007 19:59:49 +0000 (19:59 +0000)]
more stub routines to allow linkage in stand-alone environment, with thread debugs turned on

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86181 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agomore stub routines to allow linkage in stand-alone environment, with thread debugs...
Steve Murphy [Wed, 17 Oct 2007 19:58:20 +0000 (19:58 +0000)]
more stub routines to allow linkage in stand-alone environment, with thread debugs turned on

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86180 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86149 via svnmerge from
Russell Bryant [Wed, 17 Oct 2007 18:01:38 +0000 (18:01 +0000)]
Merged revisions 86149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86149 | russell | 2007-10-17 12:57:45 -0500 (Wed, 17 Oct 2007) | 8 lines

If Asterisk is in the middle of shutting down, respond to OPTIONS
with 503 Unavailable.

(closes issue #10994)
Reported by: eserra
Patches:
      sip-options-503.patch uploaded by eserra (license 45)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86150 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoSupport color on certain platforms, even when started at boot (before TERM is set)
Tilghman Lesher [Wed, 17 Oct 2007 17:06:47 +0000 (17:06 +0000)]
Support color on certain platforms, even when started at boot (before TERM is set)
Closes issue #9048

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86119 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86117 via svnmerge from
Joshua Colp [Wed, 17 Oct 2007 17:00:13 +0000 (17:00 +0000)]
Merged revisions 86117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86117 | file | 2007-10-17 13:58:03 -0300 (Wed, 17 Oct 2007) | 4 lines

Whoops, forgot to remove the original sip_scheddestroy.
(closes issue #11010)
Reported by: vadim

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86118 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAllow chan_usbradio to compile again.
Jason Parker [Wed, 17 Oct 2007 16:09:01 +0000 (16:09 +0000)]
Allow chan_usbradio to compile again.

Closes issue #11014, patch by seanbright.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86104 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86066 via svnmerge from
Tilghman Lesher [Wed, 17 Oct 2007 15:39:24 +0000 (15:39 +0000)]
Merged revisions 86066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86066 | tilghman | 2007-10-17 10:23:51 -0500 (Wed, 17 Oct 2007) | 3 lines

When runuser/rungroup is specified, a remote console could only be attained by root
(Closes issue #9999)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86079 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoChange dependency for chan_usbradio to asound. Let's keep everything uniform.
Joshua Colp [Wed, 17 Oct 2007 15:30:55 +0000 (15:30 +0000)]
Change dependency for chan_usbradio to asound. Let's keep everything uniform.
(closes issue #11013)
Reported by: seanbright

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86067 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoEnhancements to realtime (closes issue #9609)
Tilghman Lesher [Wed, 17 Oct 2007 15:13:51 +0000 (15:13 +0000)]
Enhancements to realtime (closes issue #9609)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86065 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86063 via svnmerge from
Joshua Colp [Wed, 17 Oct 2007 15:09:36 +0000 (15:09 +0000)]
Merged revisions 86063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86063 | file | 2007-10-17 12:06:36 -0300 (Wed, 17 Oct 2007) | 4 lines

Don't schedule dialog destruction if a MESSAGE is received using an existing dialog.
(closes issue #11010)
Reported by: vadim

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86064 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 86032 via svnmerge from
Mark Michelson [Tue, 16 Oct 2007 23:36:35 +0000 (23:36 +0000)]
Merged revisions 86032 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r86032 | mmichelson | 2007-10-16 18:35:31 -0500 (Tue, 16 Oct 2007) | 3 lines

Since monitor-join is deprecated now, remove the example from the sample queues.conf file

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86033 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoRemoved the monitor-join option. If one wishes to mix audio, they should instead use
Mark Michelson [Tue, 16 Oct 2007 22:54:37 +0000 (22:54 +0000)]
Removed the monitor-join option. If one wishes to mix audio, they should instead use
monitor-type=mixmonitor.

(related to issue #10885)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86030 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 86028 via svnmerge
Mark Michelson [Tue, 16 Oct 2007 22:51:20 +0000 (22:51 +0000)]
Blocked revisions 86028 via svnmerge

........
r86028 | mmichelson | 2007-10-16 17:49:10 -0500 (Tue, 16 Oct 2007) | 6 lines

Adding deprecated warning to monitor-join option, since the plan is to
no longer support this in favor of monitor-type = mixmonitor

(related to issue #10885)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86029 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 85997 via svnmerge from
Russell Bryant [Tue, 16 Oct 2007 22:36:58 +0000 (22:36 +0000)]
Merged revisions 85997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85997 | russell | 2007-10-16 17:36:16 -0500 (Tue, 16 Oct 2007) | 1 line

really picky formatting tweak ...
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85998 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 85994 via svnmerge from
Russell Bryant [Tue, 16 Oct 2007 22:21:45 +0000 (22:21 +0000)]
Merged revisions 85994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85994 | russell | 2007-10-16 17:14:36 -0500 (Tue, 16 Oct 2007) | 16 lines

Some locking errors exposed the fact that the lock debugging code itself was
not thread safe.  How ironic!  Anyway, these changes ensure that the code that
is accessing the lock debugging data is thread-safe.

Many thanks to Ivan for finding and fixing the core issue here, and also
thanks to those that tested the patch and provided test results.

(closes issue #10571)
(closes issue #10886)
(closes issue #10875)
(might close some others, as well ...)

Patches: (from issue #10571)
      ivan_ast_1_4_12_rel_patch_lock.h.diff uploaded by Ivan (license 229)
       - a few small changes by me

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85995 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFixing the build.
Mark Michelson [Tue, 16 Oct 2007 21:51:26 +0000 (21:51 +0000)]
Fixing the build.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85992 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFixing app_read so that if a timeout of less than 1 ms is specified,
Mark Michelson [Tue, 16 Oct 2007 21:38:05 +0000 (21:38 +0000)]
Fixing app_read so that if a timeout of less than 1 ms is specified,
assume that 1 ms is desired.

(closes issue #11000, reported and patched by michael-fig, with a warning line added by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85965 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 85958 via svnmerge from
Mark Michelson [Tue, 16 Oct 2007 21:16:00 +0000 (21:16 +0000)]
Merged revisions 85958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85958 | mmichelson | 2007-10-16 16:14:34 -0500 (Tue, 16 Oct 2007) | 5 lines

Trying to remove a non-dynamic queue member via dynamic means can lead to some
interesting (read nasty) situations. This patch clears up the issue by making
only dynamic queue members removable via dynamic methods.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85959 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoDon't hangup the call for SS7 if we get an alarm
Matthew Fredrickson [Tue, 16 Oct 2007 20:55:57 +0000 (20:55 +0000)]
Don't hangup the call for SS7 if we get an alarm

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85957 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoThis fixes SIP subscriptions in trunk.
Russell Bryant [Tue, 16 Oct 2007 20:32:16 +0000 (20:32 +0000)]
This fixes SIP subscriptions in trunk.

Don't improperly memset() over an ast_str.  This was leftover from before it
got changed to use ast_str.

(closes issue #11003, reported by pj)
(closes issue #10770, reported by yehavi)
(patched by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85944 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 85921 via svnmerge from
Tilghman Lesher [Tue, 16 Oct 2007 19:47:16 +0000 (19:47 +0000)]
Merged revisions 85921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85921 | tilghman | 2007-10-16 14:41:40 -0500 (Tue, 16 Oct 2007) | 4 lines

Also set up gmtoff (this is used in the %z gnu extension to strftime)
Reported and fixed by jcmoore
Closes issue #11002

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85943 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 85896 via svnmerge from
Russell Bryant [Tue, 16 Oct 2007 19:12:24 +0000 (19:12 +0000)]
Merged revisions 85896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85896 | russell | 2007-10-16 14:10:01 -0500 (Tue, 16 Oct 2007) | 2 lines

Remove a pointless lock.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85897 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix IMAP compilation error.
Mark Michelson [Tue, 16 Oct 2007 16:40:24 +0000 (16:40 +0000)]
Fix IMAP compilation error.

(closes issue #10986, reported and patched by snuffy)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85883 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocking changes from previous commit
Mark Michelson [Tue, 16 Oct 2007 15:24:50 +0000 (15:24 +0000)]
Blocking changes from previous commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85853 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 85850 via svnmerge from
Joshua Colp [Tue, 16 Oct 2007 15:15:53 +0000 (15:15 +0000)]
Merged revisions 85850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85850 | file | 2007-10-16 11:52:22 -0300 (Tue, 16 Oct 2007) | 4 lines

Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue #10996)
Reported by: marsosa

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85851 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoPermit building under DEBUG_THREADLOCALS. Thanks snuff.
Joshua Colp [Tue, 16 Oct 2007 14:27:27 +0000 (14:27 +0000)]
Permit building under DEBUG_THREADLOCALS. Thanks snuff.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85820 65c4cc65-6c06-0410-ace0-fbb531ad65f3