Commit Graph

16285 Commits

Author SHA1 Message Date
Mark Michelson
e69fb8b298 Merged revisions 155360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155360 | mmichelson | 2008-11-07 15:14:49 -0600 (Fri, 07 Nov 2008) | 8 lines

Remove one more instance of the sample configuration
lying about what's possible. The tz cannot be set in a
context like this. It can only be set in the general
section or per-mailbox.

Thanks to sasargen on #asterisk-dev for pointing this out


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@155361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 21:15:37 +00:00
Kevin P. Fleming
3577a3c7ca Merged revisions 155121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155121 | kpfleming | 2008-11-06 16:49:19 -0600 (Thu, 06 Nov 2008) | 3 lines
  
  don't blindly assume that Darwin and Cygwin need GLOB_ABORTED defined; only define it if it is not already defined
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@155123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-06 22:50:27 +00:00
Mark Michelson
d5e144b150 Merged revisions 155012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r155012 | mmichelson | 2008-11-06 13:46:53 -0600 (Thu, 06 Nov 2008) | 16 lines

Merged revisions 155011 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r155011 | mmichelson | 2008-11-06 13:45:52 -0600 (Thu, 06 Nov 2008) | 8 lines

The documentation listed the ability to set 'maxmsg' per
context. The truth is that you can only set this in the general section
or per mailbox. Thus I am updating the sample config file to be more
accurate.

Thanks to sasargen on IRC for bringing up this issue.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@155013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-06 19:47:45 +00:00
Tilghman Lesher
975b8d582e Recorded merge of revisions 154072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r154072 | tilghman | 2008-11-03 16:28:12 -0600 (Mon, 03 Nov 2008) | 12 lines
  
  Merged revisions 154066 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r154066 | tilghman | 2008-11-03 16:27:10 -0600 (Mon, 03 Nov 2008) | 5 lines
    
    Attempting to expunge a mailbox when the mailstream is NULL will crash Asterisk.
    (Closes issue #13829)
    Reported by: jaroth
    Patch by: me (modified jaroth's patch)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@154081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 22:30:13 +00:00
Tilghman Lesher
c8ebf2045a Merged revisions 154060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r154060 | tilghman | 2008-11-03 15:48:21 -0600 (Mon, 03 Nov 2008) | 3 lines
  
  Remove the potential for a division by zero error.
  (Closes issue #13810)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@154062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 22:04:01 +00:00
Kevin P. Fleming
090cd16d68 record revisions that were manually merged
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@153746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 00:53:10 +00:00
Kevin P. Fleming
ede179faec Merge revision 153709 from trunk
------------------------------------------------------------------------
r153709 | kpfleming | 2008-11-02 17:34:39 -0600 (Sun, 02 Nov 2008) | 3 lines

instead of trying to forcibly load res_agi when app_stack is loaded (even if the administrator didn't want it loaded), use GCC weak symbols to determine whether it was loaded already or not; if it was loaded, then use it.


------------------------------------------------------------------------



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@153745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 00:52:05 +00:00
Kevin P. Fleming
fa635ea4b0 port gcc 4.3.x warning fixes from trunk to this branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@153743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-03 00:39:04 +00:00
Terry Wilson
e23be17786 Merged revisions 153181 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r153181 | twilson | 2008-10-31 13:55:33 -0500 (Fri, 31 Oct 2008) | 5 lines
  
  Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten.  Added a callback function to handle setting variables, etc. from w/in the bridging code.  Calls back into a nested function within the function calling ast_bridge_call
  
  (closes issue #13793)
  Reported by: greenfieldtech
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@153265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-31 21:49:23 +00:00
Sean Bright
798db6fe3b Merged revisions 152993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r152993 | seanbright | 2008-10-30 16:59:17 -0400 (Thu, 30 Oct 2008) | 10 lines

Merged revisions 152992 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r152992 | seanbright | 2008-10-30 16:58:24 -0400 (Thu, 30 Oct 2008) | 2 lines

The -I argument to aclocal needs a space before the include directory name.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 21:00:13 +00:00
Kevin P. Fleming
3a6940fe60 Merged revisions 152812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r152812 | kpfleming | 2008-10-30 11:54:29 -0500 (Thu, 30 Oct 2008) | 9 lines
  
  Merged revisions 152811 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r152811 | kpfleming | 2008-10-30 11:53:48 -0500 (Thu, 30 Oct 2008) | 3 lines
    
    instead of comparing the string pointer to 0, let's compare the value that was actually parsed out of the string (found by sparse)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 16:54:54 +00:00
Tilghman Lesher
68ccb25f93 Merged revisions 152765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r152765 | tilghman | 2008-10-29 23:26:34 -0500 (Wed, 29 Oct 2008) | 5 lines
  
  Set up an example stdexten that preserves the original context and extension in
  the CDR.
  (Related to issue #13799)
   Reported by: davidw
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-30 04:28:06 +00:00
Mark Michelson
84dcf8e6b1 Merged revisions 152646 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r152646 | mmichelson | 2008-10-29 15:53:53 -0500 (Wed, 29 Oct 2008) | 9 lines

If there was no named defined in a voicemail.conf mailbox
entry, then app_directory would crash when attempting to
read that entry from the file. We now check for the NULL
or empty string properly so that there will be no crash.

(closes issue #13804)
Reported by: bluecrow76


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-29 20:54:49 +00:00
Terry Wilson
969bef1dea Small modification to putnopvut's patch to fix this issue. Thanks for all the help, putnopvut!
(closes issue #12884)
	Reported by: bcnit
	Patches: 
	      12884v4-1.6.0-branch.patch uploaded by otherwiseguy (license 396)
	Tested by: otherwiseguy


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-29 20:13:22 +00:00
Tilghman Lesher
01cea8d69d Merged revisions 152442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r152442 | tilghman | 2008-10-28 16:38:26 -0500 (Tue, 28 Oct 2008) | 7 lines
  
  Only re-add the io port if it was closed, otherwise reload causes a memory
  leak.
  (closes issue #13785)
   Reported by: eliel
   Patches: 
         chan_mgcp.c.patch uploaded by eliel (license 64)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-28 21:39:35 +00:00
Tilghman Lesher
8bcea43631 Merged revisions 152134 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r152134 | tilghman | 2008-10-27 11:24:11 -0500 (Mon, 27 Oct 2008) | 4 lines
  
  Oops, only delete the ARG variables once upon release.  The following section
  would have removed them again (removing variables from 2 stack frames, instead
  of just one).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-27 16:33:16 +00:00
Sean Bright
85b4dc5b11 Merged revisions 152060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r152060 | seanbright | 2008-10-26 16:25:08 -0400 (Sun, 26 Oct 2008) | 15 lines

Merged revisions 152059 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r152059 | seanbright | 2008-10-26 16:23:36 -0400 (Sun, 26 Oct 2008) | 7 lines

Since passing \0 as the second argument to strchr is valid (and will
match the trailing \0 of a string) we need to check that first, otherwise
we end up with incorrect results.  Fix suggested by reporter.

(closes issue #13787)
Reported by: meitinger

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@152062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-26 20:26:18 +00:00
Russell Bryant
4ebe1cfd46 Fix some memory leaks. These issues are 1.6.0 specific.
- Freeing the peer got accidentally removed from the peer's destructor.  It is
   still needed for astobj, but not for astobj2.
 - Fix some places that called find_user or find_peer, but did not release the
   reference that was returned.

(closes issue #13331)
Reported by: sergee
Patches:
      chan_sip-3leaks-16-r151244.diff uploaded by sergee (license 138)
Tested by: sergee


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@151765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-23 16:12:01 +00:00
Kevin P. Fleming
ff6a34c1c5 Merged revisions 151242-151243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r151242 | kpfleming | 2008-10-20 07:59:04 +0300 (Mon, 20 Oct 2008) | 9 lines
  
  Merged revisions 151240 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r151240 | kpfleming | 2008-10-20 07:45:56 +0300 (Mon, 20 Oct 2008) | 3 lines
    
    break up acinclude.m4 into individual files, which will make it easier to maintain, easier to add new macros (less patching) and will ease maintenance of these macros across Asterisk branches
  ........
................
  r151243 | kpfleming | 2008-10-20 08:00:56 +0300 (Mon, 20 Oct 2008) | 9 lines
  
  Merged revisions 151241 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r151241 | kpfleming | 2008-10-20 07:57:33 +0300 (Mon, 20 Oct 2008) | 2 lines
    
    rename this macro to properly reflect what it does
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@151244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-20 05:03:58 +00:00
BJ Weschke
b15c8d915a Merged revisions 150817 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r150817 | bweschke | 2008-10-17 22:18:33 -0400 (Fri, 17 Oct 2008) | 8 lines
  
   Using the GetVar handler in AMI is potentially dangerous (insta-crash [tm]) when you use a dialplan function that requires a channel and then you don't provide one or provide an invalid one in the Channel: parameter. We'll handle this situation exactly the same way it was handled in pbx.c back on r61766.
  We'll create a bogus channel for the function call and destroy it when we're done. If we have trouble allocating the bogus channel then we're not going to try executing the function call at all and run the risk of crashing.
  
  (closes issue #13715)
  reported by: makoto
  patch by: bweschke
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@150854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-18 02:35:47 +00:00
Mark Michelson
6e93187aa1 Instead of merging commit 150307 to 1.6.0, I had
meant to block it in 1.6.1...time to go home :)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@150313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 00:19:42 +00:00
Mark Michelson
258c4d4932 Merged revisions 150307 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r150307 | mmichelson | 2008-10-16 19:13:35 -0500 (Thu, 16 Oct 2008) | 14 lines

After a long discussion on #asterisk-bugs, it seems kind of
odd that a channel would be named after the port on which it
came in on. For endpoints that always include ":5060" as part
of the From: header, it will mean that you have a ton of
channels with names like "SIP/5060-3ea38a8b."

I am boldly moving forward with this change in trunk, but I'm
not touching other branches with this one since this definitely
would qualify as a behavior change. If there is a problem with
this commit, and I haven't seen the obvious reason why you'd want
to name the channel after the port from which the call originated,
then please feel free to revert this


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@150308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-17 00:14:17 +00:00
Richard Mudgett
757367c8d8 Merged revisions 150125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r150125 | rmudgett | 2008-10-16 11:04:45 -0500 (Thu, 16 Oct 2008) | 9 lines
  
  Merged revisions 150124 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r150124 | rmudgett | 2008-10-16 10:56:06 -0500 (Thu, 16 Oct 2008) | 1 line
    
    Fix memory leak found by customer
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@150126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 16:10:28 +00:00
BJ Weschke
a301889274 Merged revisions 149756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r149756 | bweschke | 2008-10-15 16:14:20 -0400 (Wed, 15 Oct 2008) | 10 lines
  
  Merged revisions 149683 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r149683 | bweschke | 2008-10-15 14:28:54 -0400 (Wed, 15 Oct 2008) | 4 lines
    
     An update to the documentation/example of agents.conf.sample with the correct parameter for this feature as defined in chan_agent.c
     (closes issue #13709)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@149757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 20:18:44 +00:00
Kevin P. Fleming
962a134bcf Merged revisions 149487 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r149487 | kpfleming | 2008-10-15 13:26:36 +0200 (Wed, 15 Oct 2008) | 9 lines
  
  Merged revisions 149452 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r149452 | kpfleming | 2008-10-15 12:30:40 +0200 (Wed, 15 Oct 2008) | 3 lines
    
    fix some problems when parsing SIP messages that have the maximum number of headers or body lines that we support
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@149495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 11:29:25 +00:00
Mark Michelson
4e93c2a778 Merged revisions 148913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r148913 | mmichelson | 2008-10-14 12:38:06 -0500 (Tue, 14 Oct 2008) | 17 lines

Merged revisions 148912 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r148912 | mmichelson | 2008-10-14 12:33:38 -0500 (Tue, 14 Oct 2008) | 9 lines

Deadlock prevention in chan_local.

(closes issue #13676)
Reported by: tacvbo
Patches:
      13676.patch uploaded by putnopvut (license 60)
Tested by: tacvbo


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 17:39:04 +00:00
Kevin P. Fleming
f9f88ad2d8 Merged revisions 148738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148738 | kpfleming | 2008-10-14 12:33:14 +0200 (Tue, 14 Oct 2008) | 9 lines
  
  Merged revisions 148736 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148736 | kpfleming | 2008-10-14 12:30:54 +0200 (Tue, 14 Oct 2008) | 3 lines
    
    on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols when -x is supplied; since the reasons why -x is being passed are lost in the mists of time, remove it so debugging will work properly
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 10:34:14 +00:00
Kevin P. Fleming
158d6c4b64 Merged revisions 148612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148612 | kpfleming | 2008-10-14 03:06:45 -0500 (Tue, 14 Oct 2008) | 9 lines
  
  Merged revisions 148611 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148611 | kpfleming | 2008-10-14 02:54:41 -0500 (Tue, 14 Oct 2008) | 3 lines
    
    it would be nice if this message printing code had actually been tested before it was committed...
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 08:08:17 +00:00
Steve Murphy
3a39286358 Blocked revisions 148519 via svnmerge
........
r148519 | murf | 2008-10-13 11:14:38 -0600 (Mon, 13 Oct 2008) | 15 lines

Hmmm. Nobody (but me) is interested in seeing 
the trie info when they do 'dialplan show ...'
(even with debug set to non-zero); so I set up a 
   'dialplan debug [context]' cli command instead, 
to explicitly show just the trie info.  I even
added an extension_exists() call to make sure the
trie info is built. I moved the explanatory header
to above the extension loop to ensure it only prints
once. And it will do this now, whether debug is set
or not.

I removed the trie printing from the 'dialplan show' 
command entirely. 


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-13 17:47:51 +00:00
Mark Michelson
2e7e3ee6b3 Merged revisions 148373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148373 | mmichelson | 2008-10-10 16:18:10 -0500 (Fri, 10 Oct 2008) | 8 lines

Make sure that the inUse and inRinging fields for 
a sip peer cannot go below zero. This is a regression
from 1.4 and so it will be applied to 1.6.0 as well.

(closes issue #13668)
Reported by: mjc


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 21:18:43 +00:00
Sean Bright
eb87d6dac7 Merged revisions 148200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148200 | seanbright | 2008-10-09 20:42:13 -0400 (Thu, 09 Oct 2008) | 12 lines

Don't include logger.h in asterisk.h by default as it is causing problems building
app_voicemail.  Instead, include it where it is needed.  This turned out to be a
relatively minor issue because other headers include logger.h as well.

Need to test -addons before merging this back to 1.6.0.

(closes issue #13605)
Reported by: tomo1657
Patches: 
      13605_seanbright.diff uploaded by seanbright (license 71)
Tested by: mmichelson

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 01:25:31 +00:00
Sean Bright
2b03afb74b Somehow we got conflict markers checked in! Might need a 1.6.0.1 sooner than we'd like.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 01:21:47 +00:00
Mark Michelson
60399ff4ac Merged revisions 148144 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148144 | mmichelson | 2008-10-09 18:30:47 -0500 (Thu, 09 Oct 2008) | 10 lines

Read the callerid in the correct order and make sure to
read the Urgent flag value from the IMAP headers.

(closes issue #13652)
Reported by: jaroth
Patches:
      imapheaders.patch uploaded by jaroth (license 50)



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 23:31:27 +00:00
Tilghman Lesher
e0f75e891e Merged revisions 148120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148120 | tilghman | 2008-10-09 18:25:53 -0500 (Thu, 09 Oct 2008) | 6 lines
  
  Fix example schema
  (closes issue #12860)
   Reported by: flyn
   Patches: 
         res_ldap.conf.patch uploaded by flyn (license 503)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@148124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 23:26:42 +00:00
Michiel van Baak
de553c362d Merged revisions 147899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r147899 | mvanbaak | 2008-10-09 19:48:53 +0200 (Thu, 09 Oct 2008) | 5 lines
  
  only include this for OpenBSD. At least FreeBSD is borked when including it
  
  (closes issue #13649)
  Reported by: ys
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@147900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 17:51:25 +00:00
Tilghman Lesher
2934507592 Merged revisions 147896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r147896 | tilghman | 2008-10-09 12:46:15 -0500 (Thu, 09 Oct 2008) | 4 lines
  
  Remove "second form" of extensions, as it no longer applies.  Also, cleanup
  the grammar, formatting, and introduce several clarifications to the text.
  (Closes issue #13654)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@147897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 17:47:03 +00:00
Steve Murphy
062d3041fe Merged revisions 147807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r147807 | murf | 2008-10-09 08:17:33 -0600 (Thu, 09 Oct 2008) | 15 lines

(closes issue #13557)
Reported by: nickpeirson
Patches:
      pbx.c.patch uploaded by nickpeirson (license 579)
      replace_bzero+bcopy.patch uploaded by nickpeirson (license 579)
Tested by: nickpeirson, murf

1. replaced all refs to bzero and bcopy to memset and memmove instead.
2. added a note to the CODING-GUIDELINES
3. add two macros to asterisk.h to prevent bzero, bcopy from creeping
   back into the source
4. removed bzero from configure, configure.ac, autoconfig.h.in



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@147809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 14:56:51 +00:00
Russell Bryant
506f7e187a Remove the sample configuration for configuration sections in chan_dahdi.conf.
This code was not merged into 1.6.0.
Reported by: angler
(closes AST-119)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@147458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08 12:16:30 +00:00
Sean Bright
d3edd930a9 Merged revisions 147194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r147194 | seanbright | 2008-10-07 12:52:02 -0400 (Tue, 07 Oct 2008) | 10 lines

Merged revisions 147193 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r147193 | seanbright | 2008-10-07 12:48:30 -0400 (Tue, 07 Oct 2008) | 2 lines

Make 'imapsecret' an alias to 'imappassword' in voicemail.conf.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@147195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 16:53:40 +00:00
Sean Bright
4d5405c74d Merged revisions 147050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r147050 | seanbright | 2008-10-07 08:01:36 -0400 (Tue, 07 Oct 2008) | 8 lines

Make sure to compare the correct number of characters when special-casing
our DAHDI operator mode stuff.  Technically, it would work fine, as 'DAH'
is currently unique amongst our channel technologies, but as Jared points
out:

  <@jsmith> Sure... as long as the technology starts whith DAH.... but
            it could be DAHDOO!

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@147051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 12:03:07 +00:00
Tilghman Lesher
cdb76a9f1a Merged revisions 146928 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r146928 | tilghman | 2008-10-06 18:21:02 -0500 (Mon, 06 Oct 2008) | 3 lines
  
  Update documentation; AST_THREADSTORAGE() in trunk only takes a single
  argument.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 23:22:19 +00:00
Michiel van Baak
456b36a4c1 Blocked revisions 146925 via svnmerge
........
  r146925 | mvanbaak | 2008-10-07 01:14:33 +0200 (Tue, 07 Oct 2008) | 8 lines
  
  All ODBC parts can now use either unixodbc or iodbc.
  This allows for the ODBC parts to work on OpenBSD as well.
  
  99.99% of the work is done by seanbright (bow, bow) and I actually
  did nothing but test and yell at him that it still didn't work :)
  
  Thanks for helping out !
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 23:17:14 +00:00
Jeff Peeler
69ffdd5f69 Merged revisions 146920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146920 | jpeeler | 2008-10-06 17:59:58 -0500 (Mon, 06 Oct 2008) | 2 lines

Mvanbaak said this was needed to compile on OpenBSD, so put it in the OpenBSD section.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 23:03:17 +00:00
Michiel van Baak
49fd015123 Merged revisions 146807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r146807 | mvanbaak | 2008-10-06 23:18:13 +0200 (Mon, 06 Oct 2008) | 2 lines
  
  make aescrypt.c compile on OpenBSD again
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 21:47:56 +00:00
Tilghman Lesher
45c2df8f99 Blocked revisions 146802 via svnmerge
................
  r146802 | tilghman | 2008-10-06 16:09:05 -0500 (Mon, 06 Oct 2008) | 15 lines
  
  Merged revisions 146799 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146799 | tilghman | 2008-10-06 15:52:04 -0500 (Mon, 06 Oct 2008) | 8 lines
    
    Dialplan functions should not actually return 0, unless they have modified the
    workspace.  To signal an error (and no change to the workspace), -1 should be
    returned instead.
    (closes issue #13340)
     Reported by: kryptolus
     Patches: 
           20080827__bug13340__2.diff.txt uploaded by Corydon76 (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 21:30:42 +00:00
Sean Bright
882bad399e Blocked revisions 146738 via svnmerge
........
r146738 | seanbright | 2008-10-06 13:32:02 -0400 (Mon, 06 Oct 2008) | 1 line

Pretty-print a couple configure options
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 17:32:55 +00:00
Tilghman Lesher
eb9fe05fa0 Blocked revisions 146713 via svnmerge
................
  r146713 | tilghman | 2008-10-06 11:52:14 -0500 (Mon, 06 Oct 2008) | 16 lines
  
  Merged revisions 146711 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146711 | tilghman | 2008-10-06 11:51:21 -0500 (Mon, 06 Oct 2008) | 9 lines
    
    Check whether an extension exists in the _call method, rather than the _alloc
    method, because we need to evaluate the callerid (since that data affects
    whether an extension exists).
    (closes issue #13343)
     Reported by: efutch
     Patches: 
           20080915__bug13343.diff.txt uploaded by Corydon76 (license 14)
     Tested by: efutch
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 16:53:13 +00:00
Mark Michelson
ddc77036bd Blocked revisions 146640 via svnmerge
........
r146640 | mmichelson | 2008-10-06 10:29:56 -0500 (Mon, 06 Oct 2008) | 15 lines

This commit introduces a change to how the "joinempty"
and "leavewhenempty" options are configured in queues.conf.

Instead of using vague terms like "yes," "no," "loose," and
"strict," we now accept a comma-separated list of values
to determine when to consider a member available.

Extended details can be found in the queues.conf.sample
file. Note also that the above four referenced values are
still accepted for backwards-compatibility, but are mapped
internally to the new method of representing the option.

AST-105


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 15:36:28 +00:00
Sean Bright
c82ebdb472 Blocked revisions 146597 via svnmerge
........
r146597 | seanbright | 2008-10-05 20:36:37 -0400 (Sun, 05 Oct 2008) | 2 lines

Make NOISY_BUILD work for the calls to cp in utils/Makefile

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 00:37:11 +00:00
Sean Bright
a237e8a708 Merged revisions 146555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146555 | seanbright | 2008-10-05 20:21:49 -0400 (Sun, 05 Oct 2008) | 1 line

Quote arguments to cp so we can handle spaces in our paths.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@146556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 00:23:03 +00:00