asterisk/asterisk.git
14 years agoPermit data fields to contain more than 255 characters.
Tilghman Lesher [Wed, 15 Oct 2008 19:07:39 +0000 (19:07 +0000)]
Permit data fields to contain more than 255 characters.
(closes issue #13631)
 Reported by: seanbright
 Patches:
       20081015__bug13631.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage

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

14 years agoOnly set buf to blank before the goto.
Tilghman Lesher [Wed, 15 Oct 2008 17:16:00 +0000 (17:16 +0000)]
Only set buf to blank before the goto.

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

14 years agoWhen using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
Tilghman Lesher [Wed, 15 Oct 2008 16:41:54 +0000 (16:41 +0000)]
When using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
malloc() with an ast_free (which, of course, doesn't match up with known
allocated memory, so the free fails).
(closes issue #13702)
 Reported by: eliel
 Patches:
       codec_lpc10_lpcini.c uploaded by eliel (license 64)

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

14 years agoMinor spacing change
Tilghman Lesher [Wed, 15 Oct 2008 15:30:21 +0000 (15:30 +0000)]
Minor spacing change
(closes issue #13697)
 Reported by: alecdavis
 Patches:
       app_echo.bug13697.103249.diff.txt uploaded by alecdavis (license 585)

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

14 years agoAdding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
Olle Johansson [Wed, 15 Oct 2008 13:52:13 +0000 (13:52 +0000)]
Adding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
We're going to try to get time to fix this and kpfleming believes that there's code in ao2
so that we can solve it...

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

14 years agoMerged revisions 149452 via svnmerge from
Kevin P. Fleming [Wed, 15 Oct 2008 11:26:36 +0000 (11:26 +0000)]
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/trunk@149487 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoreverting this change... had not read the commit list yet, didn't realize the code...
Kevin P. Fleming [Wed, 15 Oct 2008 10:16:29 +0000 (10:16 +0000)]
reverting this change... had not read the commit list yet, didn't realize the code had been upgraded

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

14 years agodo complete version check for SpanDSP, since the app_fax code is not compatible with...
Kevin P. Fleming [Wed, 15 Oct 2008 09:59:12 +0000 (09:59 +0000)]
do complete version check for SpanDSP, since the app_fax code is not compatible with 0.0.6 yet

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

14 years agobuilding this module depends on res_agi being built as well
Kevin P. Fleming [Wed, 15 Oct 2008 08:55:47 +0000 (08:55 +0000)]
building this module depends on res_agi being built as well

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

14 years agoFixing sytax errors ;-)
Olle Johansson [Wed, 15 Oct 2008 07:45:09 +0000 (07:45 +0000)]
Fixing sytax errors ;-)

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

14 years agoWhen specifying an invalid timeout to Dial, take it
Mark Michelson [Tue, 14 Oct 2008 23:57:46 +0000 (23:57 +0000)]
When specifying an invalid timeout to Dial, take it
to mean that no timeout is desired.

(closes issue #13625)
Reported by: atis

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

14 years agoMerged revisions 149266 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:44:44 +0000 (23:44 +0000)]
Merged revisions 149266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r149266 | mmichelson | 2008-10-14 18:43:58 -0500 (Tue, 14 Oct 2008) | 4 lines

Change this warning to an error message. Suggestion
comes from Sean Bright. Thanks Sean!

........

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

14 years agoMerged revisions 149207 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:15:04 +0000 (23:15 +0000)]
Merged revisions 149207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r149207 | mmichelson | 2008-10-14 18:10:26 -0500 (Tue, 14 Oct 2008) | 9 lines

Call register_peer_exten even in the case that the peer's
IP/port does not change.

(closes issue #13309)
Reported by: dimas
Patches:
      v2-13309.patch uploaded by dimas (license 88)

........

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

14 years agoMerged revisions 149204 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:04:44 +0000 (23:04 +0000)]
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/trunk@149205 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 149200 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 22:41:13 +0000 (22:41 +0000)]
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/trunk@149201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd additional memory debugging to several core APIs, and fix several memory
Tilghman Lesher [Tue, 14 Oct 2008 22:38:06 +0000 (22:38 +0000)]
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/trunk@149199 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 149130 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 21:08:48 +0000 (21:08 +0000)]
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/trunk@149131 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 149061 via svnmerge from
Tilghman Lesher [Tue, 14 Oct 2008 20:16:48 +0000 (20:16 +0000)]
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/trunk@149062 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd missing documentation for SipShowRegistry action and RegistryEntry event.
Leif Madsen [Tue, 14 Oct 2008 19:35:54 +0000 (19:35 +0000)]
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/trunk@149040 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBlocked revisions 148990 via svnmerge
Leif Madsen [Tue, 14 Oct 2008 19:21:54 +0000 (19:21 +0000)]
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/trunk@148991 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 148987 via svnmerge from
Tilghman Lesher [Tue, 14 Oct 2008 19:03:44 +0000 (19:03 +0000)]
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/trunk@148988 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoApp is ignoring 'p' parameter -- initial pause.
Tilghman Lesher [Tue, 14 Oct 2008 18:58:19 +0000 (18:58 +0000)]
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/trunk@148985 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 148916 via svnmerge from
Tilghman Lesher [Tue, 14 Oct 2008 17:46:48 +0000 (17:46 +0000)]
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/trunk@148917 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 148912 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 17:38:06 +0000 (17:38 +0000)]
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/trunk@148913 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAPI differences in spandsp 0.0.6pre1 and higher
Tilghman Lesher [Tue, 14 Oct 2008 15:15:45 +0000 (15:15 +0000)]
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/trunk@148868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump...
Joshua Colp [Tue, 14 Oct 2008 15:00:41 +0000 (15:00 +0000)]
Fix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump the reference count up before we add it to the scheduler, duh.

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

14 years agoAllow MWI registration for all configured lines.
Doug Bailey [Tue, 14 Oct 2008 14:18:46 +0000 (14:18 +0000)]
Allow MWI registration for all configured lines.

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

14 years agofix some references to the owner of a private structure that may not be present
Kevin P. Fleming [Tue, 14 Oct 2008 11:31:40 +0000 (11:31 +0000)]
fix some references to the owner of a private structure that may not be present

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

14 years agoMerged revisions 148736 via svnmerge from
Kevin P. Fleming [Tue, 14 Oct 2008 10:33:14 +0000 (10:33 +0000)]
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/trunk@148738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agothis structure should be static
Kevin P. Fleming [Tue, 14 Oct 2008 10:32:01 +0000 (10:32 +0000)]
this structure should be static

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

14 years agoensure that *all* fields in the req structure are cleared out before reusing it;...
Kevin P. Fleming [Tue, 14 Oct 2008 09:31:50 +0000 (09:31 +0000)]
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/trunk@148695 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdding some clarifications
Olle Johansson [Tue, 14 Oct 2008 09:16:59 +0000 (09:16 +0000)]
Adding some clarifications

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

14 years agoMerged revisions 148611 via svnmerge from
Kevin P. Fleming [Tue, 14 Oct 2008 08:06:45 +0000 (08:06 +0000)]
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/trunk@148612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerge realtime_update2 branch, which adds a new realtime API call named
Tilghman Lesher [Tue, 14 Oct 2008 00:08:52 +0000 (00:08 +0000)]
Merge realtime_update2 branch, which adds a new realtime API call named
'update2', which permits updates which match across multiple columns, instead
of requiring all tables to have a single unique identifier.  All of the other
API calls with the exception of 'update' already had the ability to match on
multiple fields, so it was a missing and very desireable feature that an API
call implementing an update should have this, too.

This does not change any outward performance of Asterisk, but it should make
life easier for application developers who use the RealTime framework.

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

14 years agoHmmm. Nobody (but me) is interested in seeing
Steve Murphy [Mon, 13 Oct 2008 17:14:38 +0000 (17:14 +0000)]
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/trunk@148519 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- Doxygen formatting. (tss tss)
Olle Johansson [Mon, 13 Oct 2008 15:56:33 +0000 (15:56 +0000)]
- Doxygen formatting. (tss tss)
- Fixing language

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

14 years agoHighlightning even more bugs in the current tcp/tls implementation.
Olle Johansson [Mon, 13 Oct 2008 15:49:01 +0000 (15:49 +0000)]
Highlightning even more bugs in the current tcp/tls implementation.

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

14 years agoSending a 403 after a 200 is considered very bad.
Olle Johansson [Mon, 13 Oct 2008 15:32:55 +0000 (15:32 +0000)]
Sending a 403 after a 200 is considered very bad.

(found at SIPit)

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

14 years agofix the 'agi show commands' CLI function.
Michiel van Baak [Sun, 12 Oct 2008 09:19:23 +0000 (09:19 +0000)]
fix the 'agi show commands' CLI function.

(closes issue #13666)
Reported by: eliel
Patches:
      res_agi.c.patch uploaded by eliel (license 64)

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

14 years agoThe logic used when checking a peer got changed subtly
Mark Michelson [Fri, 10 Oct 2008 21:21:45 +0000 (21:21 +0000)]
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/trunk@148376 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMake sure that the inUse and inRinging fields for
Mark Michelson [Fri, 10 Oct 2008 21:18:10 +0000 (21:18 +0000)]
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/trunk@148373 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoReset continuation items at the beginning of each context (suggested by
Tilghman Lesher [Fri, 10 Oct 2008 18:59:58 +0000 (18:59 +0000)]
Reset continuation items at the beginning of each context (suggested by
kpfleming).

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

14 years agoAdd keyword "same", which allows you to create multiple steps in a dialplan,
Tilghman Lesher [Fri, 10 Oct 2008 18:31:38 +0000 (18:31 +0000)]
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/trunk@148325 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 148257 via svnmerge from
Tilghman Lesher [Fri, 10 Oct 2008 16:31:31 +0000 (16:31 +0000)]
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/trunk@148268 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDon't include logger.h in asterisk.h by default as it is causing problems building
Sean Bright [Fri, 10 Oct 2008 00:42:13 +0000 (00:42 +0000)]
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/trunk@148200 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoThe priority was unnecessary for the manager atxfer, so it has
Mark Michelson [Thu, 9 Oct 2008 23:54:59 +0000 (23:54 +0000)]
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/trunk@148160 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRead the callerid in the correct order and make sure to
Mark Michelson [Thu, 9 Oct 2008 23:30:47 +0000 (23:30 +0000)]
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/trunk@148144 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix example schema
Tilghman Lesher [Thu, 9 Oct 2008 23:25:53 +0000 (23:25 +0000)]
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/trunk@148120 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 146026 via svnmerge from
Mark Michelson [Thu, 9 Oct 2008 23:15:33 +0000 (23:15 +0000)]
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/trunk@148112 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoReverting format addition for now
Tilghman Lesher [Thu, 9 Oct 2008 21:47:02 +0000 (21:47 +0000)]
Reverting format addition for now

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

14 years agoFudges for wav16, just like wav49
Tilghman Lesher [Thu, 9 Oct 2008 21:37:23 +0000 (21:37 +0000)]
Fudges for wav16, just like wav49

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

14 years agoAdd native 16kHz format for wav file format.
Tilghman Lesher [Thu, 9 Oct 2008 21:36:01 +0000 (21:36 +0000)]
Add native 16kHz format for wav file format.
(Closes issue #13657)

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

14 years agoPublish MOH files in sln16 format
Tilghman Lesher [Thu, 9 Oct 2008 20:00:46 +0000 (20:00 +0000)]
Publish MOH files in sln16 format

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

14 years agoMerged revisions 147997 via svnmerge from
Tilghman Lesher [Thu, 9 Oct 2008 19:39:34 +0000 (19:39 +0000)]
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/trunk@148000 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago(closes issue #13139)
Jeff Peeler [Thu, 9 Oct 2008 19:27:32 +0000 (19:27 +0000)]
(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/trunk@147952 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBlocked revisions 147941 via svnmerge
Jeff Peeler [Thu, 9 Oct 2008 18:57:05 +0000 (18:57 +0000)]
Blocked revisions 147941 via svnmerge

........
r147941 | jpeeler | 2008-10-09 13:56:00 -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 worse, a crash could occur.

........

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

14 years agoonly include this for OpenBSD. At least FreeBSD is borked when including it
Michiel van Baak [Thu, 9 Oct 2008 17:48:53 +0000 (17:48 +0000)]
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/trunk@147899 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRemove "second form" of extensions, as it no longer applies. Also, cleanup
Tilghman Lesher [Thu, 9 Oct 2008 17:46:15 +0000 (17:46 +0000)]
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/trunk@147896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMake phoneprov case-insensitive to remove the func_strings dependency of the default...
Terry Wilson [Thu, 9 Oct 2008 17:04:11 +0000 (17:04 +0000)]
Make phoneprov case-insensitive to remove the func_strings dependency of the default config

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

14 years agofix some CLI commands we borked during devcon2008
Michiel van Baak [Thu, 9 Oct 2008 17:01:24 +0000 (17:01 +0000)]
fix some CLI commands we borked during devcon2008
Thanks rmudget for letting me know and providing hints on how to fix it best.

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

14 years ago(closes issue #13557)
Steve Murphy [Thu, 9 Oct 2008 14:17:33 +0000 (14:17 +0000)]
(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/trunk@147807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago*whistle*
Joshua Colp [Thu, 9 Oct 2008 01:43:07 +0000 (01:43 +0000)]
*whistle*

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

14 years agoAdd support for subscribing to a voice mailbox on a remote SIP server and making...
Joshua Colp [Thu, 9 Oct 2008 01:40:49 +0000 (01:40 +0000)]
Add support for subscribing to a voice mailbox on a remote SIP server and making the new/old message count available to local devices. (issue #AST-77)

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

14 years agoSome small tweaks regarding realtime conference announcements.
Mark Michelson [Wed, 8 Oct 2008 22:32:37 +0000 (22:32 +0000)]
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/trunk@147714 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 147681 via svnmerge from
Kevin P. Fleming [Wed, 8 Oct 2008 22:26:55 +0000 (22:26 +0000)]
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/trunk@147689 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd some examples of IMAP accounts.
Sean Bright [Wed, 8 Oct 2008 20:07:06 +0000 (20:07 +0000)]
Add some examples of IMAP accounts.

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

14 years agoCorrect a typo in the help; also, ensure that the date and time are correctly
Tilghman Lesher [Wed, 8 Oct 2008 19:08:32 +0000 (19:08 +0000)]
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/trunk@147592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 147517 via svnmerge from
Joshua Colp [Wed, 8 Oct 2008 14:53:51 +0000 (14:53 +0000)]
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/trunk@147518 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdjust commented default trunkmtu value to match documentation above it
Bradley Latus [Wed, 8 Oct 2008 12:28:43 +0000 (12:28 +0000)]
Adjust commented default trunkmtu value to match documentation above it

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

14 years agoKeep up with shadow warnings. One day I'll actually enable this in the Makefile.
Sean Bright [Wed, 8 Oct 2008 12:15:06 +0000 (12:15 +0000)]
Keep up with shadow warnings.  One day I'll actually enable this in the Makefile.

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

14 years agoWhen echoing our copies, strip off ASTTOPDIR from the front of the source file.
Sean Bright [Wed, 8 Oct 2008 12:07:19 +0000 (12:07 +0000)]
When echoing our copies, strip off ASTTOPDIR from the front of the source file.

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

14 years agoMove the DAHDI-to-DAHDI operator mode check from app_dial into chan_dahdi
Sean Bright [Tue, 7 Oct 2008 21:34:44 +0000 (21:34 +0000)]
Move the DAHDI-to-DAHDI operator mode check from app_dial into chan_dahdi
so we don't have to hardcode anything.

(closes issue #13636)
Reported by: seanbright
Patches:
      13636.diff uploaded by seanbright (license 71)
Reviewed by: russellb, putnopvut

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

14 years agoMake format_vorbis_ogg compile on OpenBSD
Michiel van Baak [Tue, 7 Oct 2008 20:15:27 +0000 (20:15 +0000)]
Make format_vorbis_ogg compile on OpenBSD

(closes issue #13639)
Reported by: mvanbaak
Patches:
      2008100700_oggsupportOBSD.diff.txt uploaded by mvanbaak (license 7)
      2008100700_oggsupportOBSD-configurescript.diff.txt uploaded by mvanbaak (license 7)
Tested by: mvanbaak

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

14 years agomake this work on OpenBSD
Michiel van Baak [Tue, 7 Oct 2008 19:26:09 +0000 (19:26 +0000)]
make this work on OpenBSD

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

14 years agoMake sure the configs on OpenBSD are in /etc/asterisk by default
Michiel van Baak [Tue, 7 Oct 2008 18:53:34 +0000 (18:53 +0000)]
Make sure the configs on OpenBSD are in /etc/asterisk by default

(closes issue #13641)
Reported by: jtodd

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

14 years agouse pkill instead of killall to be more portable
Michiel van Baak [Tue, 7 Oct 2008 18:00:48 +0000 (18:00 +0000)]
use pkill instead of killall to be more portable

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

14 years agoThis was flawed. The issue that I was trying to address was addressed by
Sean Bright [Tue, 7 Oct 2008 18:00:14 +0000 (18:00 +0000)]
This was flawed.  The issue that I was trying to address was addressed by
adding the imapsecret alias for imappassword.  Will rethink this one and
give it another shot on a rainy day TBD.

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

14 years agofix wording as pointed out by Corydon
Michiel van Baak [Tue, 7 Oct 2008 17:49:23 +0000 (17:49 +0000)]
fix wording as pointed out by Corydon

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

14 years agoAllow people to select the old console behavior of white text on a black
Tilghman Lesher [Tue, 7 Oct 2008 17:44:32 +0000 (17:44 +0000)]
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/trunk@147262 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 147193 via svnmerge from
Sean Bright [Tue, 7 Oct 2008 16:52:02 +0000 (16:52 +0000)]
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/trunk@147194 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoOr not.
Sean Bright [Tue, 7 Oct 2008 16:44:00 +0000 (16:44 +0000)]
Or not.

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

14 years agoThere was a boo-boo in TFOT that is causing some confusion on the mailing lists
Sean Bright [Tue, 7 Oct 2008 16:40:24 +0000 (16:40 +0000)]
There was a boo-boo in TFOT that is causing some confusion on the mailing lists
so include 'imapsecret' as an alias to 'imappassword' (and print a little notice
nudging users toward the right option name).

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

14 years agoExplicitly setting these fields to NULL was done because I wasn't sure if they would...
Jeff Peeler [Tue, 7 Oct 2008 16:04:45 +0000 (16:04 +0000)]
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/trunk@147146 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoIf we encounter something in mailbox options that we don't grok, then
Sean Bright [Tue, 7 Oct 2008 14:59:33 +0000 (14:59 +0000)]
If we encounter something in mailbox options that we don't grok, then
spit out a warning instead of just silently ignoring it.

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

14 years agoMake sure to compare the correct number of characters when special-casing
Sean Bright [Tue, 7 Oct 2008 12:01:36 +0000 (12:01 +0000)]
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/trunk@147050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoIndependent change from branch issue8824 that is not part of COLP. (-r142574 rmudgett)
Richard Mudgett [Tue, 7 Oct 2008 02:02:39 +0000 (02:02 +0000)]
Independent change from branch issue8824 that is not part of COLP. (-r142574 rmudgett)

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

14 years agoA blind transfer to the parking thread would cause a segfault because copy_request...
Terry Wilson [Tue, 7 Oct 2008 00:02:19 +0000 (00:02 +0000)]
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/trunk@146970 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoUpdate documentation; AST_THREADSTORAGE() in trunk only takes a single
Tilghman Lesher [Mon, 6 Oct 2008 23:21:02 +0000 (23:21 +0000)]
Update documentation; AST_THREADSTORAGE() in trunk only takes a single
argument.

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

14 years agoAll ODBC parts can now use either unixodbc or iodbc.
Michiel van Baak [Mon, 6 Oct 2008 23:14:33 +0000 (23:14 +0000)]
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/trunk@146925 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoSimilar to r143204, masquerade the channel in the case of Park being called from...
Jeff Peeler [Mon, 6 Oct 2008 23:08:21 +0000 (23:08 +0000)]
Similar to r143204, masquerade the channel in the case of Park being called from AGI.

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

14 years agoMvanbaak said this was needed to compile on OpenBSD, so put it in the OpenBSD section.
Jeff Peeler [Mon, 6 Oct 2008 22:59:58 +0000 (22:59 +0000)]
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/trunk@146920 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoThis commit squashes together three commits because the wrong approach was originally...
Jeff Peeler [Mon, 6 Oct 2008 22:26:25 +0000 (22:26 +0000)]
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/trunk@146883 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix some comment placement
Jeff Peeler [Mon, 6 Oct 2008 22:08:40 +0000 (22:08 +0000)]
fix some comment placement

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

14 years agoExplicitly set args in park_call_exec NULL so in the case of no options being passed...
Jeff Peeler [Mon, 6 Oct 2008 22:03:01 +0000 (22:03 +0000)]
Explicitly set args in park_call_exec NULL so in the case of no options being passed in, there
 is no garbage attempted to be used. Also, do not set args to unknown value again if there are
 no options passed in.

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

14 years agomake aescrypt.c compile on OpenBSD again
Michiel van Baak [Mon, 6 Oct 2008 21:18:13 +0000 (21:18 +0000)]
make aescrypt.c compile on OpenBSD again

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

14 years agoMerged revisions 146799 via svnmerge from
Tilghman Lesher [Mon, 6 Oct 2008 21:09:05 +0000 (21:09 +0000)]
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/trunk@146802 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoPretty-print a couple configure options
Sean Bright [Mon, 6 Oct 2008 17:32:02 +0000 (17:32 +0000)]
Pretty-print a couple configure options

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

14 years agoMerged revisions 146711 via svnmerge from
Tilghman Lesher [Mon, 6 Oct 2008 16:52:14 +0000 (16:52 +0000)]
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/trunk@146713 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 146643 via svnmerge from
Kevin P. Fleming [Mon, 6 Oct 2008 16:03:37 +0000 (16:03 +0000)]
Merged revisions 146643 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r146643 | kpfleming | 2008-10-06 10:57:49 -0500 (Mon, 06 Oct 2008) | 8 lines

  ensure that the private structure for pseudo channels is created without 'leaking' configuration data from other configured channels

  (closes issue #13555)
  Reported by: jeffg
  Patches:
        issue_13555.patch uploaded by kpfleming (license 421)
  Tested by: jeffg
........

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

14 years agoThis commit introduces a change to how the "joinempty"
Mark Michelson [Mon, 6 Oct 2008 15:29:56 +0000 (15:29 +0000)]
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/trunk@146640 65c4cc65-6c06-0410-ace0-fbb531ad65f3