Commit Graph

16443 Commits

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

................
r149205 | mmichelson | 2008-10-14 18:04:44 -0500 (Tue, 14 Oct 2008) | 20 lines

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

........
r149204 | mmichelson | 2008-10-14 18:00:01 -0500 (Tue, 14 Oct 2008) | 12 lines

Add a tolerance period for sync-triggered audiohooks
so that if packetization of audio is close (but not equal)
we don't end up flushing the audiohooks over small
inconsistencies in synchronization.

Related to issue #13005, and solves the issue
for most people who were experiencing the problem.
However, a small number of people are still experiencing
the problem on long calls, so I am not closing
the issue yet


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:05:14 +00:00
Mark Michelson
4e44db9dee Merged revisions 149201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r149201 | mmichelson | 2008-10-14 17:41:13 -0500 (Tue, 14 Oct 2008) | 20 lines

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

........
r149200 | mmichelson | 2008-10-14 17:40:42 -0500 (Tue, 14 Oct 2008) | 12 lines

Update the queue with the correct number of calls and
whether the call was completed within the service level
when a transfer takes place. This way, we do not "break"
the leastrecent and fewestcalls strategies by not logging
a call until after the transferred call has ended.

(closes issue #13395)
Reported by: Marquis
Patches:
      app_queue.c.transfer.patch uploaded by Marquis (license 32)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 22:43:08 +00:00
Tilghman Lesher
e65c411c8f Merged revisions 149199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149199 | tilghman | 2008-10-14 17:38:06 -0500 (Tue, 14 Oct 2008) | 8 lines
  
  Add additional memory debugging to several core APIs, and fix several memory
  leaks found with these changes.
  (Closes issue #13505, closes issue #13543)
  Reported by: mav3rick, triccyx
   Patches: 
         20081001__bug13505.diff.txt uploaded by Corydon76 (license 14)
   Tested by: mav3rick, triccyx
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 22:42:17 +00:00
Mark Michelson
0fa430ed59 Merged revisions 149131 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r149131 | mmichelson | 2008-10-14 16:08:48 -0500 (Tue, 14 Oct 2008) | 15 lines

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

........
r149130 | mmichelson | 2008-10-14 15:49:02 -0500 (Tue, 14 Oct 2008) | 7 lines

Don't allow reserved characters to be used in register
lines in sip.conf.

(closes issue #13570)
Reported by: putnopvut


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 21:09:15 +00:00
Tilghman Lesher
80b2a0379f Merged revisions 149062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r149062 | tilghman | 2008-10-14 15:16:48 -0500 (Tue, 14 Oct 2008) | 13 lines
  
  Merged revisions 149061 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r149061 | tilghman | 2008-10-14 15:09:06 -0500 (Tue, 14 Oct 2008) | 6 lines
    
    Check correct values in the return of ast_waitfor(); also, get rid of a
    possible memory leak.
    (closes issue #13658)
     Reported by: explidous
     Patch by: me
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 20:17:34 +00:00
Leif Madsen
7ffd0b0fcf Merged revisions 149040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r149040 | lmadsen | 2008-10-14 15:35:54 -0400 (Tue, 14 Oct 2008) | 5 lines
  
  Add missing documentation for SipShowRegistry action and RegistryEntry event.
  (closes issue #13342)
  Reported and patch by: Laureano
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@149060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:42:09 +00:00
Leif Madsen
c0be6bc68f Blocked revisions 148991 via svnmerge
................
  r148991 | lmadsen | 2008-10-14 15:21:54 -0400 (Tue, 14 Oct 2008) | 10 lines
  
  Blocked revisions 148990 via svnmerge
  
  ........
    r148990 | lmadsen | 2008-10-14 15:05:12 -0400 (Tue, 14 Oct 2008) | 4 lines
    
    Add in some missing updates to the CHANGES file for sip.conf
    (closes issue #13100)
    Reported and patch by: gknispel_proformatique
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:26:27 +00:00
Tilghman Lesher
a3ffa5e0b4 Blocked revisions 148988 via svnmerge
................
  r148988 | tilghman | 2008-10-14 14:03:44 -0500 (Tue, 14 Oct 2008) | 9 lines
  
  Merged revisions 148987 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148987 | tilghman | 2008-10-14 14:03:08 -0500 (Tue, 14 Oct 2008) | 2 lines
    
    Some compilers warn, some don't.  Fixing.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:04:17 +00:00
Tilghman Lesher
81253add70 Merged revisions 148985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148985 | tilghman | 2008-10-14 13:58:19 -0500 (Tue, 14 Oct 2008) | 6 lines
  
  App is ignoring 'p' parameter -- initial pause.
  (closes issue #13617)
   Reported by: alecdavis
   Patches: 
         app_sms.13oct.diff.txt uploaded by alecdavis (license 585)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148986 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 18:59:43 +00:00
Tilghman Lesher
99b53314ad Merged revisions 148917 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148917 | tilghman | 2008-10-14 12:46:48 -0500 (Tue, 14 Oct 2008) | 11 lines
  
  Merged revisions 148916 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148916 | tilghman | 2008-10-14 12:41:08 -0500 (Tue, 14 Oct 2008) | 4 lines
    
    Ensure that mail headers are 7-bit clean, even when UTF-8 characters are used
    in headers like 'Subject' and 'To'.
    Closes AST-107.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 17:49:00 +00:00
Mark Michelson
242e1079ff 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.1@148915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 17:39:39 +00:00
Tilghman Lesher
40b39ff8aa Merged revisions 148868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148868 | tilghman | 2008-10-14 10:15:45 -0500 (Tue, 14 Oct 2008) | 6 lines
  
  API differences in spandsp 0.0.6pre1 and higher
  (closes issue #13688)
   Reported by: irroot
   Patches: 
         app_fax-span6.patch uploaded by irroot (license 52) with minor modifications by me
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 15:18:10 +00:00
Kevin P. Fleming
a6aaf36b47 Merged revisions 148754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148754 | kpfleming | 2008-10-14 13:31:40 +0200 (Tue, 14 Oct 2008) | 2 lines
  
  fix some references to the owner of a private structure that may not be present
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 11:35:52 +00:00
Kevin P. Fleming
c99e35bb04 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.1@148740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 10:35:27 +00:00
Kevin P. Fleming
721b1fb84c Merged revisions 148695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148695 | kpfleming | 2008-10-14 11:31:50 +0200 (Tue, 14 Oct 2008) | 1 line
  
  ensure that *all* fields in the req structure are cleared out before reusing it; has_to_tag was not cleared, which caused the second incoming call over a TCP socket to fail if pedantic checking was enabled
........



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 09:33:34 +00:00
Kevin P. Fleming
4cc69860bb 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.1@148614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 08:08:40 +00:00
Steve Murphy
c6fc68ab1a Merged revisions 148519 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
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.1@148562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-13 17:56:13 +00:00
Olle Johansson
99f52e9ef4 Merged revisions 148471 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148471 | oej | 2008-10-13 17:32:55 +0200 (MÃ¥n, 13 Okt 2008) | 4 lines

Sending a 403 after a 200 is considered very bad.

(found at SIPit)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-13 15:36:44 +00:00
Mark Michelson
ba35b01146 Merged revisions 148376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148376 | mmichelson | 2008-10-10 16:21:45 -0500 (Fri, 10 Oct 2008) | 13 lines

The logic used when checking a peer got changed subtly
in the "kill the user" commit and caused calls relying
on the insecure setting to not work properly. I changed
for finding a peer back to how it was prior to that 
commit.

(closes issue #13644)
Reported by: pj
Patches:
      13644_trunkv2.patch uploaded by putnopvut (license 60)
Tested by: pj


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 21:22:19 +00:00
Mark Michelson
550d48fe7d 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.1@148375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 21:19:33 +00:00
Tilghman Lesher
322cbd9993 Blocked revisions 148329 via svnmerge
........
  r148329 | tilghman | 2008-10-10 13:59:58 -0500 (Fri, 10 Oct 2008) | 3 lines
  
  Reset continuation items at the beginning of each context (suggested by
  kpfleming).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 19:00:34 +00:00
Tilghman Lesher
bf73bc5960 Blocked revisions 148325 via svnmerge
........
  r148325 | tilghman | 2008-10-10 13:31:38 -0500 (Fri, 10 Oct 2008) | 8 lines
  
  Add keyword "same", which allows you to create multiple steps in a dialplan,
  without needing to respecify an extension pattern multiple times.
  (closes issue #13632)
   Reported by: blitzrage
   Patches: 
         20081006__bug13632.diff.txt uploaded by Corydon76 (license 14)
   Tested by: blitzrage, Corydon76
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 18:32:22 +00:00
Tilghman Lesher
6757fc24bc Merged revisions 148268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148268 | tilghman | 2008-10-10 11:31:31 -0500 (Fri, 10 Oct 2008) | 14 lines
  
  Merged revisions 148257 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r148257 | tilghman | 2008-10-10 11:25:31 -0500 (Fri, 10 Oct 2008) | 7 lines
    
    User not notified of temporary greeting, if ODBC storage is in use.
    (closes issue #13659)
     Reported by: moliveras
     Patches: 
           20081009__bug13659.diff.txt uploaded by Corydon76 (license 14)
     Tested by: moliveras
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 16:37:12 +00:00
Sean Bright
5f980bc229 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.1@148240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-10 01:33:34 +00:00
Mark Michelson
502f661694 Merged revisions 148160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r148160 | mmichelson | 2008-10-09 18:54:59 -0500 (Thu, 09 Oct 2008) | 14 lines

The priority was unnecessary for the manager atxfer, so it has
been removed. Furthermore, now we actually use the Context argument
passed to set the transfer context and don't error out if no
context is specified.

This addresses the actual problems outlined in issue 12158. Regarding
the other points brought up, regarding the inability to not transfer
to extensions which cannot be represented by DTMF, it is not enough of
a constraint that it is worth attempting to rework the feature.

(closes issue #12158)
Reported by: davidw


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 23:55:32 +00:00
Mark Michelson
87564d3669 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.1@148151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 23:31:57 +00:00
Tilghman Lesher
60bc53dda4 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.1@148128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 23:27:21 +00:00
Mark Michelson
49ea791733 Merged revisions 148112 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r148112 | mmichelson | 2008-10-09 18:15:33 -0500 (Thu, 09 Oct 2008) | 26 lines

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

........
r146026 | murf | 2008-10-03 12:12:54 -0500 (Fri, 03 Oct 2008) | 18 lines

(closes issue #13579)
Reported by: dwagner

(closes issue #13584)
Reported by: dwagner
Tested by: murf, putnopvut

The thought occurred to me that the res= from the extension spawn
was ending up being returned from the bridge.

"Thou shalt not poison the return value". Made the change
and it appears to allow blind xfers to work as normal.

If I'm wrong, reopen the bugs. But it looks good to me!

Many thanks to putnopvut for helping me reproduce this!


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 23:20:08 +00:00
Tilghman Lesher
450658f10a Merged revisions 148010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r148010 | tilghman | 2008-10-09 15:00:46 -0500 (Thu, 09 Oct 2008) | 1 line
  
  Publish MOH files in sln16 format
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 20:01:38 +00:00
Tilghman Lesher
4fba97612a Merged revisions 148000 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r148000 | tilghman | 2008-10-09 14:39:34 -0500 (Thu, 09 Oct 2008) | 11 lines
  
  Merged revisions 147997 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r147997 | tilghman | 2008-10-09 14:38:33 -0500 (Thu, 09 Oct 2008) | 4 lines
    
    When blank, callerid name and number should display "unknown caller" in voicemail
    emails.
    (Closes issue #13643)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@148006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 19:40:43 +00:00
Jeff Peeler
7bb1b2746b Merged revisions 147952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r147952 | jpeeler | 2008-10-09 14:27:32 -0500 (Thu, 09 Oct 2008) | 6 lines

(closes issue #13139)
Reported by: krisk84
Tested by: krisk84

This change prevents a call that is placed in the parkinglot to be picked up before the PBX is finished. If another extension dials the parking extension before the PBX thread has completed at minimum warnings will occur about the PBX not properly being terminated. At worst, a crash could occur.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 19:28:31 +00:00
Michiel van Baak
df779dd50c 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.1@147901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 17:54:05 +00:00
Tilghman Lesher
9dcca39b83 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.1@147898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 17:47:57 +00:00
Steve Murphy
2c1bfe7643 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.1@147811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-09 15:06:21 +00:00
Mark Michelson
97766e8a6d Merged revisions 147714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r147714 | mmichelson | 2008-10-08 17:32:37 -0500 (Wed, 08 Oct 2008) | 8 lines

Some small tweaks regarding realtime conference announcements.

(closes issue #13522)
Reported by: DEA
Patches:
      meetme-rt-fixes.txt uploaded by DEA (license 3)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08 22:33:43 +00:00
Kevin P. Fleming
540aa6e4ed Merged revisions 147689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r147689 | kpfleming | 2008-10-08 17:26:55 -0500 (Wed, 08 Oct 2008) | 9 lines
  
  Merged revisions 147681 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r147681 | kpfleming | 2008-10-08 17:22:09 -0500 (Wed, 08 Oct 2008) | 3 lines
    
    when parsing a text configuration option, ensure that the buffer on the stack is actually large enough to hold the legal values of that option, and also ensure that sscanf() knows to stop parsing if it would overrun the buffer (without these changes, specifying "buffers=...,immediate" would overflow the buffer on the stack, and could not have worked as expected)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08 22:27:26 +00:00
Tilghman Lesher
63f2ef93b7 Merged revisions 147592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r147592 | tilghman | 2008-10-08 14:08:32 -0500 (Wed, 08 Oct 2008) | 8 lines
  
  Correct a typo in the help; also, ensure that the date and time are correctly
  set, if not specified in the message.
  (Closes issue #13594, closes issue #13595)
  Reported by: alecdavis
   Patches: 
         20081001__bug13595.diff.txt uploaded by Corydon76 (license 14)
   Tested by: alecdavis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08 19:09:25 +00:00
Mark Michelson
cade4d842b Merged revisions 147518 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r147518 | file | 2008-10-08 09:53:51 -0500 (Wed, 08 Oct 2008) | 9 lines

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

........
  r147517 | file | 2008-10-08 11:51:42 -0300 (Wed, 08 Oct 2008) | 2 lines
  
  If we receive DTMF make sure that the state of the speech structure goes back to being not ready. (issue #LUMENVOX-8)
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-08 15:10:08 +00:00
Tilghman Lesher
c31a6b5d92 Blocked revisions 147262 via svnmerge
........
  r147262 | tilghman | 2008-10-07 12:44:32 -0500 (Tue, 07 Oct 2008) | 3 lines
  
  Allow people to select the old console behavior of white text on a black
  background, by using the startup flag '-B'.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 17:46:08 +00:00
Sean Bright
ec036b2990 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.1@147196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 16:54:35 +00:00
Jeff Peeler
550b71bbd8 Merged revisions 147146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r147146 | jpeeler | 2008-10-07 11:04:45 -0500 (Tue, 07 Oct 2008) | 3 lines

Explicitly setting these fields to NULL was done because I wasn't sure if they would be NULL otherwise. Since they will be set automatically, removing.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 16:05:07 +00:00
Richard Mudgett
5ae260b720 Merged revisions 147011 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r147011 | rmudgett | 2008-10-06 21:02:39 -0500 (Mon, 06 Oct 2008) | 1 line
  
  Independent change from branch issue8824 that is not part of COLP. (-r142574 rmudgett)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@147100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 15:06:25 +00:00
Sean Bright
b0d673495e 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.1@147052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 12:03:57 +00:00
Terry Wilson
a7b8580d0c Merged revisions 146970 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r146970 | twilson | 2008-10-06 19:02:19 -0500 (Mon, 06 Oct 2008) | 2 lines
  
  A blind transfer to the parking thread would cause a segfault because copy_request accesses dst->data w/o being able to tell whether it is proerly initialized
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-07 00:13:06 +00:00
Tilghman Lesher
69eb9d08ac 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.1@146930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 23:22:55 +00:00
Michiel van Baak
e82a0fc799 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.1@146927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 23:20:10 +00:00
Jeff Peeler
595d37e746 Merged revisions 146923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146923 | jpeeler | 2008-10-06 18:08:21 -0500 (Mon, 06 Oct 2008) | 3 lines

Similar to r143204, masquerade the channel in the case of Park being called from AGI.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 23:08:51 +00:00
Jeff Peeler
54fda83a25 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.1@146921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 23:03:05 +00:00
Jeff Peeler
cd1a30c6c7 Merged revisions 146883 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146883 | jpeeler | 2008-10-06 17:26:25 -0500 (Mon, 06 Oct 2008) | 12 lines

This commit squashes together three commits because the wrong approach was originally used. (One of the commits was only one line.)

1) r143204:
The main change here was to masquerade the channel if the channel that was to be parked was running a PBX on it. The PBX thread can then maintain full control of the channel (the zombie) as it expects to while allowing the parking thread full control of the real (parked) channel.

2) r143270:
Changed park_call_full to hold the parkinglot lock a little longer, which protects the parkeduser struct from being freed out from underneath. Made sure that the parking extension is added to the parking context while holding the lock thereby ensuring that there are no spurious warnings from removal attempts when a hangup occurs while the parking lot is being announced.

3) r143475: (the one liner)
compare peer and chan instead of looking at the parked user (pu), which could have possibly already have been freed by the parking thread


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 22:26:47 +00:00
Jeff Peeler
2fb8519c52 Merged revisions 146877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146877 | jpeeler | 2008-10-06 17:08:40 -0500 (Mon, 06 Oct 2008) | 1 line

fix some comment placement
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 22:09:06 +00:00