asterisk/asterisk.git
12 years agosimplify (hopefully) the printing of $(MAKE) in aligned output.
Luigi Rizzo [Mon, 5 Nov 2007 18:00:24 +0000 (18:00 +0000)]
simplify (hopefully) the printing of $(MAKE) in aligned output.

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

12 years agoMerged revisions 88624 via svnmerge from
Russell Bryant [Mon, 5 Nov 2007 17:52:08 +0000 (17:52 +0000)]
Merged revisions 88624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88624 | russell | 2007-11-05 11:46:02 -0600 (Mon, 05 Nov 2007) | 5 lines

Fix up datastore handling in ast_do_masquerade().  The code is intended to move
any channel datastores from the old channel to the new one.  However, it did
not use the linked list macros properly to accomplish the task.  The existing
code would only work if there was only a single datastore on the old channel.

........

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

12 years agoprint messages when entering/leaving a directory so we know where we are
Luigi Rizzo [Mon, 5 Nov 2007 17:44:10 +0000 (17:44 +0000)]
print messages when entering/leaving a directory so we know where we are
(sometimes it is obvious, sometimes it is not).

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

12 years agomerge two rules with the same right hand;
Luigi Rizzo [Mon, 5 Nov 2007 17:27:02 +0000 (17:27 +0000)]
merge two rules with the same right hand;
document a bit what is done here.

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

12 years agoMerged revisions 88585 via svnmerge from
Jason Parker [Mon, 5 Nov 2007 17:21:05 +0000 (17:21 +0000)]
Merged revisions 88585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11163)
........
r88585 | qwell | 2007-11-05 11:19:41 -0600 (Mon, 05 Nov 2007) | 4 lines

Make sure we destroy the config structure on configuration failure.

Issue 11163, patch by eliel.

........

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

12 years agouse a variable name that actually indicates what it is for
Kevin P. Fleming [Mon, 5 Nov 2007 17:00:07 +0000 (17:00 +0000)]
use a variable name that actually indicates what it is for

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

12 years agoPut extra compiler flags into a variable so they are not repeated
Luigi Rizzo [Mon, 5 Nov 2007 16:41:39 +0000 (16:41 +0000)]
Put extra compiler flags into a variable so they are not repeated
too many times.
On passing, add some comments and fix indentation a bit.

On passing, i suspect that the following pattern is wrong

%.eoo: %.o

but in case it will be fixed in a later commit.

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

12 years agoMerged revisions 88539 via svnmerge from
Tilghman Lesher [Mon, 5 Nov 2007 16:30:51 +0000 (16:30 +0000)]
Merged revisions 88539 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88539 | tilghman | 2007-11-05 10:20:13 -0600 (Mon, 05 Nov 2007) | 4 lines

Don't check used pooled connections for connection status, as it will cause issues for prepared queries.
Reported by: Nick Gorham (via -dev list)
Patch by: tilghman

........

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

12 years agoremove a cygwin-specific function remap that does not work.
Luigi Rizzo [Mon, 5 Nov 2007 15:15:22 +0000 (15:15 +0000)]
remove a cygwin-specific function remap that does not work.

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

12 years agoFix memory leaks and deadlocks in chan_unistim.
Joshua Colp [Mon, 5 Nov 2007 13:11:37 +0000 (13:11 +0000)]
Fix memory leaks and deadlocks in chan_unistim.
(closes issue #11158)
Reported by: eliel
Patches:
      chan_unistim.c.patch uploaded by eliel (license 64)

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

12 years agoblock merging of not-applicable patch
Luigi Rizzo [Sun, 4 Nov 2007 22:42:54 +0000 (22:42 +0000)]
block merging of not-applicable patch

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

12 years agoSimplify the implementation and the API for stringfields;
Luigi Rizzo [Sun, 4 Nov 2007 19:44:31 +0000 (19:44 +0000)]
Simplify the implementation and the API for stringfields;
details and examples are in include/asterisk/stringfields.h.

Not applicable to older branches except for 1.4 which will
receive a fix for the routines that free memory pools.

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

12 years agoRevert commit #86119. Some users intentionally do not want colorized terminals,...
Tilghman Lesher [Sat, 3 Nov 2007 14:19:47 +0000 (14:19 +0000)]
Revert commit #86119.  Some users intentionally do not want colorized terminals, so this was a misfeature.

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

12 years agoSet CLI command to the correct name. Rev 85460 introduced two 'database show' comman...
James Golovich [Sat, 3 Nov 2007 04:55:06 +0000 (04:55 +0000)]
Set CLI command to the correct name.  Rev 85460 introduced two 'database show' commands when this one
should have been 'database showkey'

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

12 years agofix some issues with crashing on unload, when it didn't completely load cleanly
Russell Bryant [Fri, 2 Nov 2007 22:36:30 +0000 (22:36 +0000)]
fix some issues with crashing on unload, when it didn't completely load cleanly

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

12 years agoConvert the CLI commands to the new format
Russell Bryant [Fri, 2 Nov 2007 22:08:15 +0000 (22:08 +0000)]
Convert the CLI commands to the new format

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

12 years agopropagate the DECLINE return value back to the loader
Russell Bryant [Fri, 2 Nov 2007 21:39:36 +0000 (21:39 +0000)]
propagate the DECLINE return value back to the loader

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

12 years agoDon't kill asterisk if extensions.lua is not present.
Russell Bryant [Fri, 2 Nov 2007 21:36:37 +0000 (21:36 +0000)]
Don't kill asterisk if extensions.lua is not present.

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

12 years agoShow the channel unique ID in the "show channel concise" output
Russell Bryant [Fri, 2 Nov 2007 21:25:55 +0000 (21:25 +0000)]
Show the channel unique ID in the "show channel concise" output
(closes issue #11148, requested by falves11, patched by me)

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

12 years agoMerge the code from asterisk/team/group/chan_unistim:
Russell Bryant [Fri, 2 Nov 2007 20:56:12 +0000 (20:56 +0000)]
Merge the code from asterisk/team/group/chan_unistim:

This introduces a new channel driver, chan_unistim, that supports the Unistim
VoIP protocol for Nortel phones.  The following models have been confirmed
to work: i2002, i2004 and i2050.

(closes issue #8864)
Reported by: c_hans
Patches:
      chan_unistim.patch uploaded by c (license 304)
      ustm_no_conf.diff uploaded by junky (license 177)
Tested by: c_hans, dbowerman, math, junky, loloski

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

12 years agoMerged revisions 88366 via svnmerge from
Joshua Colp [Fri, 2 Nov 2007 20:51:53 +0000 (20:51 +0000)]
Merged revisions 88366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88366 | file | 2007-11-02 17:49:45 -0300 (Fri, 02 Nov 2007) | 4 lines

Make subscribecontext behave as advertised. It will now look for the presence of a hint in the given context (be it subscribecontext or context).
(closes issue #10702)
Reported by: slavon

........

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

12 years agoMerged revisions 88328 via svnmerge from
Joshua Colp [Fri, 2 Nov 2007 20:22:40 +0000 (20:22 +0000)]
Merged revisions 88328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88328 | file | 2007-11-02 17:20:21 -0300 (Fri, 02 Nov 2007) | 6 lines

If an INFO request within a dialog is received with a content length of 0 simply send back a 200 OK. It is valid to do this and the remote side is probably using it to make sure the signalling is still alive.
(closes issue #5747)
Reported by: chandi
Patches:
      infofix-81430-1.patch uploaded by IgorG (license 20)

........

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

12 years agoFix replacing the version number when it has a '/' in it, like
Russell Bryant [Fri, 2 Nov 2007 20:13:18 +0000 (20:13 +0000)]
Fix replacing the version number when it has a '/' in it, like
  SVN-group-chan_unistim-r88326M-/trunk

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

12 years agoOops, some dev-mode changes for ISO C90
Tilghman Lesher [Fri, 2 Nov 2007 17:34:33 +0000 (17:34 +0000)]
Oops, some dev-mode changes for ISO C90

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

12 years agoMerged revisions 88283 via svnmerge from
Jason Parker [Fri, 2 Nov 2007 16:54:11 +0000 (16:54 +0000)]
Merged revisions 88283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11147)
........
r88283 | qwell | 2007-11-02 11:51:08 -0500 (Fri, 02 Nov 2007) | 4 lines

We need to make sure to specify a language to ast_fileexists, otherwise it may fail for anything besides en

Issue 11147, fix discovered by both citats and myself (independently), with input from Corydon76

........

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

12 years agoAdd a few bytes on LUA
Tilghman Lesher [Fri, 2 Nov 2007 16:26:31 +0000 (16:26 +0000)]
Add a few bytes on LUA

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

12 years agoAdd pbx_lua as a method of doing extensions
Tilghman Lesher [Fri, 2 Nov 2007 15:36:34 +0000 (15:36 +0000)]
Add pbx_lua as a method of doing extensions
Reported by: mnicholson
Patch by: mnicholson
Closes issue #11140

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

12 years agoDon't re-cache the filename, but check to see if it already exists
Tilghman Lesher [Fri, 2 Nov 2007 13:17:48 +0000 (13:17 +0000)]
Don't re-cache the filename, but check to see if it already exists
Reported by: jamesgolovich
Patch by: jamesgolovich
Closes issue #11144

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

12 years agoMerged revisions 88210 via svnmerge from
Tilghman Lesher [Fri, 2 Nov 2007 13:10:29 +0000 (13:10 +0000)]
Merged revisions 88210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88210 | tilghman | 2007-11-02 08:03:03 -0500 (Fri, 02 Nov 2007) | 5 lines

Fix build on Solaris
Reported by: snuffy
Patch by: ys
Closes issue #11143

........

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

12 years ago'h' extension doesn't execute past first priority
Tilghman Lesher [Fri, 2 Nov 2007 12:54:31 +0000 (12:54 +0000)]
'h' extension doesn't execute past first priority
Reported by: dimas
Patch by: dimas
Closes bug #11146

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

12 years agoRestore building under 64-bit platforms.
Joshua Colp [Fri, 2 Nov 2007 03:09:02 +0000 (03:09 +0000)]
Restore building under 64-bit platforms.

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

12 years agoRemove traces of gnutls, since we no longer use/need it.
Jason Parker [Thu, 1 Nov 2007 23:26:51 +0000 (23:26 +0000)]
Remove traces of gnutls, since we no longer use/need it.

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

12 years agoModify WaitExten to include an optional dialtone
Tilghman Lesher [Thu, 1 Nov 2007 23:26:35 +0000 (23:26 +0000)]
Modify WaitExten to include an optional dialtone
Closes issue #10783

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

12 years agoConvert cdr_odbc to use res_odbc managed connections
Tilghman Lesher [Thu, 1 Nov 2007 22:43:46 +0000 (22:43 +0000)]
Convert cdr_odbc to use res_odbc managed connections
Closes issue #10614

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

12 years agoThis commits the performance mods that give the priority processing engine in the...
Steve Murphy [Thu, 1 Nov 2007 22:26:51 +0000 (22:26 +0000)]
This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.

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

12 years agoCrap, accidentally copied the props. Thanks for pointing this out mvanbaak. The...
Jason Parker [Thu, 1 Nov 2007 22:19:56 +0000 (22:19 +0000)]
Crap, accidentally copied the props.  Thanks for pointing this out mvanbaak.  The odds are quite high that this will break automerge on every team branch.

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

12 years agoSwitch res_jabber to use openssl rather than gnutls.
Jason Parker [Thu, 1 Nov 2007 22:10:33 +0000 (22:10 +0000)]
Switch res_jabber to use openssl rather than gnutls.

Closes issue #9972, patch by phsultan.  Copied from branch at http://svn.digium.com/svn/asterisk/team/phsultan/res_jabber-openssl/

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

12 years agoMerged revisions 88116 via svnmerge from
Tilghman Lesher [Thu, 1 Nov 2007 17:25:58 +0000 (17:25 +0000)]
Merged revisions 88116 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88116 | tilghman | 2007-11-01 12:17:56 -0500 (Thu, 01 Nov 2007) | 2 lines

Add some notes on using valgrind

........

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

12 years agoMerged revisions 88078 via svnmerge from
Jason Parker [Thu, 1 Nov 2007 16:22:09 +0000 (16:22 +0000)]
Merged revisions 88078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88078 | qwell | 2007-11-01 11:21:22 -0500 (Thu, 01 Nov 2007) | 4 lines

Make sure we set the poll fds to NULL after free()ing it.

Part of issue 11017, patch by tzafrir.

........

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

12 years agoChange some uses of free() to ast_free(). (No functional differences.)
Russell Bryant [Thu, 1 Nov 2007 15:56:25 +0000 (15:56 +0000)]
Change some uses of free() to ast_free().  (No functional differences.)

(closes issue #11138)
Reported by: eliel
Patches:
      pbx_dundi.c.patch uploaded by eliel (license 64)
  chan_sip.c.patch uploaded by eliel (license 64)

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

12 years agoRemove another copied source file on "make clean".
Russell Bryant [Thu, 1 Nov 2007 15:18:06 +0000 (15:18 +0000)]
Remove another copied source file on "make clean".

(closes issue #11137)
Reported by: IgorG
Patches:
      addonclean-87971-1.patch uploaded by IgorG (license 20)

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

12 years agoMerged revisions 88026 via svnmerge from
Joshua Colp [Thu, 1 Nov 2007 13:30:28 +0000 (13:30 +0000)]
Merged revisions 88026 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r88026 | file | 2007-11-01 10:27:37 -0300 (Thu, 01 Nov 2007) | 2 lines

Fix up commit for my Zap channel with spies in Meetme fix. (thanks Tony Mountifield!)

........

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

12 years agoConditionally free lock_info->thread_name to avoid a useless warning
Tilghman Lesher [Thu, 1 Nov 2007 06:12:08 +0000 (06:12 +0000)]
Conditionally free lock_info->thread_name to avoid a useless warning
Reported by: snuffy
Patch by: snuffy
Closes issue #11125

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

12 years agoJanitor: use ast_free to pair calls of ast_malloc and ast_calloc
Tilghman Lesher [Thu, 1 Nov 2007 06:07:18 +0000 (06:07 +0000)]
Janitor:  use ast_free to pair calls of ast_malloc and ast_calloc
Reported by: eliel
Patch by: eliel
Closes issue #11135

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

12 years agoFix memory leak
Tilghman Lesher [Thu, 1 Nov 2007 05:44:40 +0000 (05:44 +0000)]
Fix memory leak
Reported by: eliel
Fixed by: tilghman
Closes issue #11136

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

12 years agoMerged revisions 87970 via svnmerge from
Joshua Colp [Thu, 1 Nov 2007 01:55:38 +0000 (01:55 +0000)]
Merged revisions 87970 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87970 | file | 2007-10-31 22:53:55 -0300 (Wed, 31 Oct 2007) | 4 lines

If a Zap channel contains a spy or a spy is added take it out of the conference in kernel space and make it go through Asterisk so the spy gets audio from both sides.
(closes issue #10060)
Reported by: mparker

........

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

12 years agoDrop any more references to type in the Exception dialplan function.
Joshua Colp [Thu, 1 Nov 2007 00:04:43 +0000 (00:04 +0000)]
Drop any more references to type in the Exception dialplan function.
(closes issue #11134)
Reported by: blitzrage
Patches:
      exception_patch.txt uploaded by blitzrage (license 10)

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

12 years agoMerged revisions 87908 via svnmerge from
Jason Parker [Wed, 31 Oct 2007 21:23:42 +0000 (21:23 +0000)]
Merged revisions 87908 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11131)
........
r87908 | qwell | 2007-10-31 16:23:11 -0500 (Wed, 31 Oct 2007) | 4 lines

Make sure we free some allocated memory before returning.

Issue 11131, patch by eliel.

........

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

12 years agoMerged revisions 87906 via svnmerge from
Jason Parker [Wed, 31 Oct 2007 21:18:52 +0000 (21:18 +0000)]
Merged revisions 87906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11130)
(closes issue #11132)

........
r87906 | qwell | 2007-10-31 16:16:20 -0500 (Wed, 31 Oct 2007) | 4 lines

Don't try to allocate memory that we're just going to re-allocate later anyways.

Issues 11130 and 11132, patch by eliel.

........

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

12 years agoMore changes to change return values from load_module functions.
Jason Parker [Wed, 31 Oct 2007 19:24:29 +0000 (19:24 +0000)]
More changes to change return values from load_module functions.

(issue #11096)
Patches:
      codec_adpcm.c.patch uploaded by moy (license 222)
      codec_alaw.c.patch uploaded by moy (license 222)
      codec_a_mu.c.patch uploaded by moy (license 222)
      codec_g722.c.patch uploaded by moy (license 222)
      codec_g726.c.diff uploaded by moy (license 222)
      codec_gsm.c.patch uploaded by moy (license 222)
      codec_ilbc.c.patch uploaded by moy (license 222)
      codec_lpc10.c.patch uploaded by moy (license 222)
      codec_speex.c.patch uploaded by moy (license 222)
      codec_ulaw.c.patch uploaded by moy (license 222)
      codec_zap.c.patch uploaded by moy (license 222)
      format_g723.c.patch uploaded by moy (license 222)
      format_g726.c.patch uploaded by moy (license 222)
      format_g729.c.patch uploaded by moy (license 222)
      format_gsm.c.patch uploaded by moy (license 222)
      format_h263.c.patch uploaded by moy (license 222)
      format_h264.c.patch uploaded by moy (license 222)
      format_ilbc.c.patch uploaded by moy (license 222)
      format_jpeg.c.patch uploaded by moy (license 222)
      format_ogg_vorbis.c.patch uploaded by moy (license 222)
      format_pcm.c.patch uploaded by moy (license 222)
      format_sln.c.patch uploaded by moy (license 222)
      format_vox.c.patch uploaded by moy (license 222)
      format_wav.c.patch uploaded by moy (license 222)
      format_wav_gsm.c.patch uploaded by moy (license 222)
      res_adsi.c.patch uploaded by eliel (license 64)
      res_ael_share.c.patch uploaded by eliel (license 64)
      res_clioriginate.c.patch uploaded by eliel (license 64)
      res_convert.c.patch uploaded by eliel (license 64)
      res_indications.c.patch uploaded by eliel (license 64)
      res_musiconhold.c.patch uploaded by eliel (license 64)
      res_smdi.c.patch uploaded by eliel (license 64)
      res_speech.c.patch uploaded by eliel (license 64)

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

12 years agoMerged revisions 87849 via svnmerge from
Steve Murphy [Wed, 31 Oct 2007 18:53:13 +0000 (18:53 +0000)]
Merged revisions 87849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87849 | murf | 2007-10-31 11:49:39 -0600 (Wed, 31 Oct 2007) | 1 line

closes issue #11108 -- where the 'dialplan save' cli command saves a file where the semicolon is not escaped. Fixed this; User also wanted comments to be preserved across dialplan save, but this is impossible at this point in time, because comments are not stored in the dialplan. They are 'compiled' out of extensions.conf. The only way to preserve those comments is to use the config file reader/writer that the GUI uses to allow online user edits. extensions.conf is first and foremost, a config file, and is read in by the normal config-file reading routines. Then, it is processed into a dialplan (context/exten structs). (in the case of trunk, tho, no mods needed to be made -- works OK there -- just make sure you use ',' to sep app args!)
........

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

12 years agoMerged revisions 87852 via svnmerge from
Tilghman Lesher [Wed, 31 Oct 2007 18:09:52 +0000 (18:09 +0000)]
Merged revisions 87852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87852 | tilghman | 2007-10-31 13:03:53 -0500 (Wed, 31 Oct 2007) | 2 lines

Create samples for ALL of the available options in asterisk.conf

........

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

12 years agoAdd volume adjustment in.
Joshua Colp [Wed, 31 Oct 2007 18:03:17 +0000 (18:03 +0000)]
Add volume adjustment in.

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

12 years agoRestore operation of the option that only writes when the channel is bridged.
Joshua Colp [Wed, 31 Oct 2007 17:56:21 +0000 (17:56 +0000)]
Restore operation of the option that only writes when the channel is bridged.

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

12 years agoAdd volume adjustment to spy audiohook in app_chanspy.
Joshua Colp [Wed, 31 Oct 2007 17:25:16 +0000 (17:25 +0000)]
Add volume adjustment to spy audiohook in app_chanspy.

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

12 years agoFormatting cleanups, remove obsolete contributions (modules no longer in
Tilghman Lesher [Wed, 31 Oct 2007 16:13:40 +0000 (16:13 +0000)]
Formatting cleanups, remove obsolete contributions (modules no longer in
Asterisk), and obfuscate email addresses enough to stop most spam harvesters.

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

12 years agoRemove old whisper remnants from channel.h
Joshua Colp [Wed, 31 Oct 2007 16:07:50 +0000 (16:07 +0000)]
Remove old whisper remnants from channel.h

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

12 years agoOptimize pbx_substitute_variables
Tilghman Lesher [Wed, 31 Oct 2007 15:46:41 +0000 (15:46 +0000)]
Optimize pbx_substitute_variables

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

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

........
r87775 | murf | 2007-10-30 21:51:52 -0600 (Tue, 30 Oct 2007) | 1 line

Included some verbage in the check_includes func, to inform the user that included contexts that have no match in the AEL, might be OK, as AEL cannot check in the extensions.conf or the in-memory contexts, as they may not be there at the time of the check.
........

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

12 years agoMerged revisions 87739 via svnmerge from
Tilghman Lesher [Tue, 30 Oct 2007 23:08:59 +0000 (23:08 +0000)]
Merged revisions 87739 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87739 | tilghman | 2007-10-30 18:02:22 -0500 (Tue, 30 Oct 2007) | 5 lines

Fix for uninitialized mutexes on *BSD
Reported by: ys
Fixed by: ys
Closes issue #11116

........

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

12 years agoIf no '?' is found in the arguments, don't attempt to continue.
Tilghman Lesher [Tue, 30 Oct 2007 22:15:28 +0000 (22:15 +0000)]
If no '?' is found in the arguments, don't attempt to continue.
Reported by: blitzrage
Fixed by: tilghman
Closes issue #11111

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

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

........
r87686 | russell | 2007-10-30 16:19:09 -0500 (Tue, 30 Oct 2007) | 11 lines

Merge the changes from team/russell/iax2_poke_fix and iax2-poke-fix-trunk

There was a race condition related to the handling of POKEing peers.  Essentially,
a reference to a peer is held by the scheduler when there are pending callbacks,
but the reference count didn't reflect it.  So, it was possible for a peer to hit
a reference count of zero and have its destructor begin to be called at the same
time that the scheduler thread ran a POKE related callback.  If that happened,
a crash would likely occur.

(closes issue #11082, closes issue #11094)

........

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

12 years agoMerged revisions 87650 via svnmerge from
Jason Parker [Tue, 30 Oct 2007 20:30:35 +0000 (20:30 +0000)]
Merged revisions 87650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87650 | qwell | 2007-10-30 15:29:41 -0500 (Tue, 30 Oct 2007) | 1 line

Only try to clean out h323/ if the h323/Makefile exists.
........

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

12 years agoUpdate documentation to give an example of how to use the return status of RaiseException
Jason Parker [Tue, 30 Oct 2007 18:28:55 +0000 (18:28 +0000)]
Update documentation to give an example of how to use the return status of RaiseException

Closes issue #11117, patch by blitzrage (yay blitzrage)

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

12 years agoThe priority gets incremented after raising an exception, so the priority should...
Mark Michelson [Tue, 30 Oct 2007 17:07:26 +0000 (17:07 +0000)]
The priority gets incremented after raising an exception, so the priority should be set to 0

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

12 years agoJumped the gun a bit in the RaiseException app. It would always return -1
Mark Michelson [Tue, 30 Oct 2007 16:36:29 +0000 (16:36 +0000)]
Jumped the gun a bit in the RaiseException app. It would always return -1
since it checked for the existence of something that will never exist.

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

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

........
r87571 | file | 2007-10-30 13:13:39 -0300 (Tue, 30 Oct 2007) | 4 lines

Add two more checks before printing out a warning message about bridging. If either channel has hungup of course the bridge will have failed.
(closes issue #10009)
Reported by: dimas

........

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

12 years agoMerged revisions 87567 via svnmerge from
Jason Parker [Tue, 30 Oct 2007 15:47:19 +0000 (15:47 +0000)]
Merged revisions 87567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11113)
........
r87567 | qwell | 2007-10-30 10:45:35 -0500 (Tue, 30 Oct 2007) | 4 lines

Fix build of editline on Solaris.

Issue 11113, patch by snuffy.

........

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

12 years agoBlocked revisions 87534 via svnmerge
Joshua Colp [Tue, 30 Oct 2007 15:11:09 +0000 (15:11 +0000)]
Blocked revisions 87534 via svnmerge

........
r87534 | file | 2007-10-30 12:10:13 -0300 (Tue, 30 Oct 2007) | 2 lines

Return 1.4 to a state where it builds. Changing the arguments to a function and not changing where they are used is bad, mmmk?

........

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

12 years agoUGH... while trying to fix #10995, I found all kinds of cruft in this Makefile. It...
Kevin P. Fleming [Mon, 29 Oct 2007 22:44:49 +0000 (22:44 +0000)]
UGH... while trying to fix #10995, I found all kinds of cruft in this Makefile. It should all be gone now, and as a side effect hashtest2 now builds with --enable-dev-mode enabled without a host of errors

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

12 years agoclean up assembler and preprocessor files if they are here too
Kevin P. Fleming [Mon, 29 Oct 2007 22:24:44 +0000 (22:24 +0000)]
clean up assembler and preprocessor files if they are here too

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

12 years agoignore preprocessor and assembler files if they are present
Kevin P. Fleming [Mon, 29 Oct 2007 22:21:52 +0000 (22:21 +0000)]
ignore preprocessor and assembler files if they are present

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

12 years agoMerged revisions 87460 via svnmerge from
Kevin P. Fleming [Mon, 29 Oct 2007 22:05:17 +0000 (22:05 +0000)]
Merged revisions 87460 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r87460 | kpfleming | 2007-10-29 17:04:29 -0500 (Mon, 29 Oct 2007) | 2 lines

don't put '-pipe' into ASTCFLAGS if '-save-temps' is already there (used when debugging preprocessor issues) because the compiler will whine about each compile command

........

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

12 years agoIf a caller is listen-only, then don't bother with doing talker detection.
Russell Bryant [Mon, 29 Oct 2007 21:34:47 +0000 (21:34 +0000)]
If a caller is listen-only, then don't bother with doing talker detection.
(closes issue #10911, reported by junky, patched by me)

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

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

........
r87396 | russell | 2007-10-29 15:22:07 -0500 (Mon, 29 Oct 2007) | 5 lines

Add some more details to the output of "core show locks".  When a thread
is waiting for a lock, this will now show the details about who currently
has it locked.
(inspired by issue #11100)

........

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

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