Commit Graph

16065 Commits

Author SHA1 Message Date
Russell Bryant
5b266380e2 Merged revisions 132390 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132390 | russell | 2008-07-21 09:47:41 -0500 (Mon, 21 Jul 2008) | 16 lines

Remove libresample from the Asterisk source tree.  It is now available in its
own repository, and must be installed like any other library for Asterisk to
use.  The two modules that require it are codec_resample and app_jack.

To install libresample:

$ svn co http://svn.digium.com/svn/libresample/trunk libresample
$ cd libresample
$ ./configure
$ make
$ sudo make install

This code is currently in our own repository because the build system did not
include the appropriate targets for building a dynamic library or for installing
the library.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 14:48:45 +00:00
Russell Bryant
bc50069f75 Merged revisions 132388 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132388 | russell | 2008-07-21 08:51:05 -0500 (Mon, 21 Jul 2008) | 3 lines

Enable higher quality resampling, as it doesn't have a noticeable performance
impact on my machine ..

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 13:52:04 +00:00
Kevin P. Fleming
27e5a84477 Merged revisions 132312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132312 | kpfleming | 2008-07-19 11:46:33 -0500 (Sat, 19 Jul 2008) | 10 lines

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

........
r132311 | kpfleming | 2008-07-19 11:45:52 -0500 (Sat, 19 Jul 2008) | 2 lines

grant a license exception to allow distribution of Asterisk binaries that use the UW IMAP Toolkit (which is licensed under a non-GPL-compatible license)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-19 16:47:12 +00:00
Michiel van Baak
3a0cc21c4f Merged revisions 132277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132277 | mvanbaak | 2008-07-19 12:46:12 +0200 (Sat, 19 Jul 2008) | 7 lines

fix a couple of comments in sqlite resource driver.

(closes issue #13110)
Reported by: gknispel_proformatique
Patches:
      res_config_sqlite_comments.patch uploaded by gknispel (license 261)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-19 10:47:57 +00:00
Brett Bryant
f2988cef6d Merged revisions 132242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132242 | bbryant | 2008-07-18 17:19:56 -0500 (Fri, 18 Jul 2008) | 4 lines

Fixes problem where manager users loaded from users.conf would be 
removed early (before the routine to load the configuration was 
finished) because a variable wasn't initialized.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 22:20:28 +00:00
Tilghman Lesher
7d14c24f47 Blocked revisions 132206 via svnmerge
........
r132206 | tilghman | 2008-07-18 15:57:47 -0500 (Fri, 18 Jul 2008) | 5 lines

Russell pointed out that using ast_strdupa() within a loop like this is
probably not a good idea, as we might run out of stack space.  Therefore,
changing this over to use the ast_str infrastructure for buffers is
probably a good idea.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 20:58:16 +00:00
Tilghman Lesher
a9414e2b08 Blocked revisions 132203 via svnmerge
........
r132203 | tilghman | 2008-07-18 15:41:02 -0500 (Fri, 18 Jul 2008) | 2 lines

Fix trunk devmode

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 20:42:09 +00:00
Tilghman Lesher
92ab9c80bf Merged revisions 132113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132113 | tilghman | 2008-07-18 14:09:39 -0500 (Fri, 18 Jul 2008) | 14 lines

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

........
r132112 | tilghman | 2008-07-18 14:06:10 -0500 (Fri, 18 Jul 2008) | 6 lines

Fix for Taiwanese number syntax
(closes issue #12319)
 Reported by: CharlesWang
 Patches: 
       saynumber-tw-1.4.18.1.patch uploaded by CharlesWang (license 444)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 19:10:21 +00:00
Matthew Fredrickson
c1c0583b01 Merged revisions 132108 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132108 | mattf | 2008-07-18 13:50:00 -0500 (Fri, 18 Jul 2008) | 1 line

Make sure we break the poll so that messages queued will be sent on the SS7 when using CLI commands for blocking and blocking of CICs and linksets.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 18:53:54 +00:00
Tilghman Lesher
791cf5f2ce Merged revisions 132109 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132109 | tilghman | 2008-07-18 13:50:37 -0500 (Fri, 18 Jul 2008) | 14 lines

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

........
r132107 | tilghman | 2008-07-18 13:47:50 -0500 (Fri, 18 Jul 2008) | 6 lines

Textual clarification
(closes issue #13106)
 Reported by: flefoll
 Patches: 
       config.c.br14.120173.patch-unknown-directive uploaded by flefoll (license 244)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 18:51:20 +00:00
Brett Bryant
86f0d82fc9 Merged revisions 132050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132050 | bbryant | 2008-07-18 12:55:41 -0500 (Fri, 18 Jul 2008) | 8 lines

Fix magic Revision keywords in hashtab.c and change cdr_radius.c to use 
the same keyword as the other files (patch by eliel).

(closes issue #13104)
Reported by: eliel
Patches:
      revision.patch uploaded by eliel (license 64)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 17:56:14 +00:00
Tilghman Lesher
8e886494ec Blocked revisions 132046 via svnmerge
................
r132046 | tilghman | 2008-07-18 12:39:18 -0500 (Fri, 18 Jul 2008) | 10 lines

Blocked revisions 132042 via svnmerge

........
r132042 | tilghman | 2008-07-18 12:33:42 -0500 (Fri, 18 Jul 2008) | 3 lines

Spinlock within the destroy, to allow a scheduled job to continue, if it's
waiting on the mutex which the destroy thread has.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 17:40:03 +00:00
Tilghman Lesher
7017604737 Merged revisions 131989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131989 | tilghman | 2008-07-18 12:10:34 -0500 (Fri, 18 Jul 2008) | 10 lines

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

........
r131988 | tilghman | 2008-07-18 12:10:01 -0500 (Fri, 18 Jul 2008) | 2 lines

Oops

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 17:11:10 +00:00
Tilghman Lesher
c01f4f499e Merged revisions 131986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131986 | tilghman | 2008-07-18 11:48:18 -0500 (Fri, 18 Jul 2008) | 10 lines

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

........
r131985 | tilghman | 2008-07-18 11:46:23 -0500 (Fri, 18 Jul 2008) | 2 lines

Preserve ABI compatibility with last change

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 16:49:44 +00:00
Tilghman Lesher
5abbe30e52 Merged revisions 131982 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131982 | tilghman | 2008-07-18 11:33:56 -0500 (Fri, 18 Jul 2008) | 10 lines

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

........
r131970 | tilghman | 2008-07-18 11:30:31 -0500 (Fri, 18 Jul 2008) | 2 lines

Make the ast_assert call within ast_sched_del report something useful.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 16:36:39 +00:00
Kevin P. Fleming
68c5ddc970 Merged revisions 131923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131923 | kpfleming | 2008-07-18 11:16:12 -0500 (Fri, 18 Jul 2008) | 10 lines

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

........
r131921 | kpfleming | 2008-07-18 11:15:41 -0500 (Fri, 18 Jul 2008) | 2 lines

remove the dlfcn compatibility stuff, because no platforms that Asterisk currently runs on it use it, and it doesn't build anyway

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 16:16:47 +00:00
Brett Bryant
bd279373b2 Merged revisions 131916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131916 | bbryant | 2008-07-18 10:38:22 -0500 (Fri, 18 Jul 2008) | 12 lines

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

........
r131915 | bbryant | 2008-07-18 10:34:42 -0500 (Fri, 18 Jul 2008) | 4 lines

Fix a bug in blind transfers where the BLINDTRANSFER variable isn't always set to the other end of the blind transfer.

(closes issue #12586)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 15:39:32 +00:00
Jeff Peeler
c27203aedb Merged revisions 131868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131868 | jpeeler | 2008-07-17 17:40:00 -0500 (Thu, 17 Jul 2008) | 6 lines

Add configuration option to chan_dahdi.conf to allow buffering policy and number of buffers to be configured per channel. Syntax:

buffers=<num of buffers>,<policy>

Where the number of buffers is some non-negative integer and the policy is either "full", "half", or "immediate".

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 22:45:50 +00:00
Mark Michelson
79e4d5873b Merged revisions 131824 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131824 | mmichelson | 2008-07-17 16:26:41 -0500 (Thu, 17 Jul 2008) | 10 lines

Document that the duration of dtmf may be passed to
the SendDTMF application. Also correct the default
pause between digits.

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


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 21:27:57 +00:00
Tilghman Lesher
160f124ffc Merged revisions 131791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131791 | tilghman | 2008-07-17 15:37:14 -0500 (Thu, 17 Jul 2008) | 15 lines

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

........
r131790 | tilghman | 2008-07-17 15:35:44 -0500 (Thu, 17 Jul 2008) | 7 lines

Revert part of issue #5620 (revision 6965) as it appears that it was in error.
This should fix talk call progress on analog lines.
(closes issue #12178)
 Reported by: michael-fig
 Patches: 
       20080717__bug12178.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 20:38:07 +00:00
Tilghman Lesher
8d675a8660 Merged revisions 131753 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131753 | tilghman | 2008-07-17 13:36:34 -0500 (Thu, 17 Jul 2008) | 6 lines

Fix memory leaks
(closes issue #13099)
 Reported by: gknispel_proformatique
 Patches: 
       res_config_sqlite_leak_on_error.patch uploaded by gknispel (license 261)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 18:37:22 +00:00
Brett Bryant
384d11190e Merged revisions 131717 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131717 | bbryant | 2008-07-17 13:14:42 -0500 (Thu, 17 Jul 2008) | 8 lines

Fix a memory leak in register_group_feature when attempting to register 
a feature without specifying a group or feature to register.

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

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 18:15:10 +00:00
Tilghman Lesher
d98c350ebd Merged revisions 131681 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131681 | tilghman | 2008-07-17 10:45:25 -0500 (Thu, 17 Jul 2008) | 4 lines

Fix memory leak.
(Closes issue #13096)
Reported by gknispel_proformatique

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 15:46:24 +00:00
Russell Bryant
8388731570 Blocked revisions 131643 via svnmerge
........
r131643 | russell | 2008-07-17 09:46:29 -0500 (Thu, 17 Jul 2008) | 5 lines

Instead of attempting to pass through AST_EVENT_DEVICE_STATE, use DEVICE_STATE_CHANGE
instead.  DEVICE_STATE is a state change on one server, and DEVICE_STATE_CHANGE is
the "real" state of that device across all servers sharing state.  This would have
only been a problem with distributed device state.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 14:47:02 +00:00
Tilghman Lesher
4475eb840e Blocked revisions 131606 via svnmerge
........
r131606 | tilghman | 2008-07-17 09:00:27 -0500 (Thu, 17 Jul 2008) | 7 lines

Change several 'core' commands to be 'dialplan' commands (with appropriate
deprecation, of course)
(closes issue #13016)
 Reported by: caio1982
 Patches: 
       dialplan_globals6.diff uploaded by caio1982 (license 22)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 14:01:09 +00:00
Steve Murphy
3b8753c2c0 The commit from 131570 should not be applied to 1.6.0,
as it is not as necessary, because log_show_lock in trunk
is not available in 1.6.0, and is estimated to be the
only function that might care about the lock_addr values.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 23:56:00 +00:00
Brett Bryant
da77ba005f Merged revisions 131492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131492 | bbryant | 2008-07-16 17:17:36 -0500 (Wed, 16 Jul 2008) | 14 lines

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

........
r131491 | bbryant | 2008-07-16 17:17:07 -0500 (Wed, 16 Jul 2008) | 6 lines

Fix a bug in iax2 registration that allowed peers to register with 
case-insensitive names (user_cmp_cb and peer_cmp_cb are now both 
case-sensitive).

(closes issue #13091)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 22:18:12 +00:00
Tilghman Lesher
aedfb1a4e7 Blocked revisions 131482 via svnmerge
................
r131482 | tilghman | 2008-07-16 16:50:08 -0500 (Wed, 16 Jul 2008) | 9 lines

Blocked revisions 131480 via svnmerge

........
r131480 | tilghman | 2008-07-16 16:46:06 -0500 (Wed, 16 Jul 2008) | 2 lines

Apparently, in certain cases, a callno is already destroyed when iax2_destroy is called.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 21:55:56 +00:00
Brett Bryant
19700017e1 Merged revisions 131484 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131484 | bbryant | 2008-07-16 16:54:08 -0500 (Wed, 16 Jul 2008) | 4 lines

Fixes sysinfo operator issue also fixed elsewhere in r131445.

(issue #13057)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 21:54:38 +00:00
Brett Bryant
c252f7f4eb Merged revisions 131445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131445 | bbryant | 2008-07-16 16:24:18 -0500 (Wed, 16 Jul 2008) | 9 lines

Fixes an issue with "core show sysinfo" that used the wrong operator to 
calculate the number of bytes from a sysinfo structure.
unsigned long.

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

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 21:26:13 +00:00
Russell Bryant
1d83b13558 Merged revisions 131422 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131422 | russell | 2008-07-16 15:48:27 -0500 (Wed, 16 Jul 2008) | 15 lines

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

........
r131421 | russell | 2008-07-16 15:47:53 -0500 (Wed, 16 Jul 2008) | 7 lines

Always ensure that the channel's tech_pvt reference is NULL after calling the
destroy callback.
(closes issue #13060)
Reported by: jpgrayson
Patches:
      chan_iax2_tech_pvt_crash.patch uploaded by jpgrayson (license 492)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 20:48:49 +00:00
Mark Michelson
8d78d518bf Merged revisions 131375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131375 | mmichelson | 2008-07-16 15:24:12 -0500 (Wed, 16 Jul 2008) | 22 lines

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

........
r131369 | mmichelson | 2008-07-16 15:23:02 -0500 (Wed, 16 Jul 2008) | 14 lines

Move the init_queue call back to where it used to be (changed
Sept 12 last year). It was moved then to prevent a memory leak.
Since then, the same memory leak recurred and was fixed in a 
better way.

Now it has been found that the placement of this init_queue
call can cause problems if a realtime queue has values changed
to an empty string. The problem is that the default value
for that queue parameter would not be set.

(closes issue #13084)
Reported by: elbriga


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 20:24:56 +00:00
Mark Michelson
46f51575e7 Merged revisions 131361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131361 | mmichelson | 2008-07-16 14:57:02 -0500 (Wed, 16 Jul 2008) | 9 lines

Don't try to dereference the dbfile pointer if
we know that it's NULL.

(closes issue #13092)
Reported by: gknispel_proformatique
Patches:
      trunk_sqlite_check_vars_null.patch uploaded by gknispel (license 261)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 19:57:29 +00:00
Mark Michelson
fb892b269d Merged revisions 131358 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131358 | mmichelson | 2008-07-16 14:37:42 -0500 (Wed, 16 Jul 2008) | 14 lines

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

........
r131357 | mmichelson | 2008-07-16 14:37:08 -0500 (Wed, 16 Jul 2008) | 6 lines

Apparently, "thread safety" is important, whatever
that means. :P

(Thanks Russell!)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 19:39:05 +00:00
Mark Michelson
58a8d7c521 Merged revisions 131300 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131300 | mmichelson | 2008-07-16 13:59:27 -0500 (Wed, 16 Jul 2008) | 21 lines

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

........
r131299 | mmichelson | 2008-07-16 13:57:34 -0500 (Wed, 16 Jul 2008) | 13 lines

Make absolutely certain that the transfer datastore
is removed from the calling channel once the caller
is finished in the queue. This could have weird con-
sequences when dialing local queue members when multiple
transfers occur on a single call.

Also fixed a memory leak that would occur when an
attended transfer occurred from a queue member.

(closes issue #13047)
Reported by: festr


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 18:59:59 +00:00
Steve Murphy
0559f958e0 Merged revisions 131243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131243 | murf | 2008-07-16 11:59:33 -0600 (Wed, 16 Jul 2008) | 27 lines

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

........
r131242 | murf | 2008-07-16 11:53:43 -0600 (Wed, 16 Jul 2008) | 19 lines

(closes issue #13090)
Reported by: murf

The problem was that, esoteric as it is, because the hangerupper
context immediately preceded the std-priv-extent macro, that 
the checking code accidentally would fall from traversing hangerupper
into the std-priv-exten macro, where it would hit the hangerupper
in the 'includes', and proceed into an infinite recursion.

A small fix to traverse into the statements of the context instead
of the context solves this issue.

I also added some commented out printfs for debug, which were pretty
handy in the face of a dorky gdb.

This was a problem around since the package was first written;
but evidently pretty rare in turning up in the field.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 18:20:48 +00:00
Luigi Rizzo
accfd377e7 add missing terminator argument for ast_event_subscribe().
Without it the function will randomly walk on the stack
possibly causing a panic


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 15:04:25 +00:00
Tilghman Lesher
787a601357 Merged revisions 131166 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131166 | tilghman | 2008-07-15 19:52:48 -0500 (Tue, 15 Jul 2008) | 3 lines

Fix rotate strategy
(Closes issue #13086)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 00:54:50 +00:00
Steve Murphy
d2d03eb22a Merged revisions 131129 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131129 | murf | 2008-07-15 17:36:19 -0600 (Tue, 15 Jul 2008) | 21 lines


(closes issue #12960)
Reported by: mnicholson

Spent most of the day on this bug, and the
solution was so simple. Just had to find and
understand the problem.

The problem was, that the routine to copy
the existing switches, includes, and ignorepats
from the old context to the new one, wasn't
getting called when the context is already 
existent. (In other words, if AEL is adding
a new context to the mix, they get copied,
but if pbx_config already defined a context,
then the copy wasn't happening. This made
no sense, so I moved the call to copy the 
includes & etc, no matter the case.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 23:41:22 +00:00
Russell Bryant
48b083262c Merged revisions 131072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131072 | russell | 2008-07-15 13:46:40 -0500 (Tue, 15 Jul 2008) | 5 lines

Fix a couple of places in res_agi where the agi_commands lock would not be
released, causing a deadlock.  (Reported by mvanbaak in #asterisk-dev,
discovered by bbryant's change to the lock tracking code to yell at you
if a thread exits with a lock still held)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 18:47:12 +00:00
Tilghman Lesher
3570646e54 Merged revisions 131044 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131044 | tilghman | 2008-07-15 13:25:34 -0500 (Tue, 15 Jul 2008) | 16 lines

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

........
r130959 | tilghman | 2008-07-15 12:19:13 -0500 (Tue, 15 Jul 2008) | 8 lines

astman_send_error does not need a newline appended -- the API takes care of
that for us.
(closes issue #13068)
 Reported by: gknispel_proformatique
 Patches: 
       asterisk_1_4_astman_send.patch uploaded by gknispel (license 261)
       asterisk_trunk_astman_send.patch uploaded by gknispel (license 261)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 18:29:31 +00:00
Michiel van Baak
ffe8eef604 Merged revisions 131013 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131013 | mvanbaak | 2008-07-15 19:49:48 +0200 (Tue, 15 Jul 2008) | 15 lines

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

........
r131012 | mvanbaak | 2008-07-15 19:47:15 +0200 (Tue, 15 Jul 2008) | 7 lines

remove 4 lines of redundant code.

(closes issue #13080)
Reported by: gknispel_proformatique
Patches:
      trunk_ast_cdr_setapp.patch uploaded by gknispel (license 261)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 18:00:24 +00:00
Steve Murphy
e45d4f3bf1 Merged revisions 130145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

Merging this rev from trunk to 1.6.0 was not
simple. Why? Because we've enhanced trunk to
do a [fast] merge-and-delete operation which 
also solved problems with contexts having 
entries from different registrars.
Fast as in the amount of time the contexts
are locked down. That *is* fast, but traversing
the entire dialplan looking for priorities to
delete takes more time overall.
This particular fix involved pulling in those
enhancements from trunk, along with all the
various fixes and refinements made along the
way.

Merging all this from trunk into 1.6 involved:
a. mergetrunk6 in the stuff from 130145;
b. revert all but the prop changes
c. catalog all revisions to pbx.c since 1.6.0 was forked
   (at rev 105596).
d. catalog all revisions to pbx.c in trunk since 1.6.0
   was forked, making special note of all revs that
   were not merged into 1.6.0.
e. study each rev in trunk not applied to 1.6.0, and
   determine if it was involved in the merge_and_delete
   enhancements in trunk. 25 commits were done in 1.6.0,
   all but one (106306) was a merge from trunk.
   Trunk had 22 additional changes, of which 7 were
   involved in the merge_and_delete enhancements:
    106757
    108894
    109169
    116461
    123358
    130145
    130297
f. Go to trunk and collect patches, one by one,
   of the changes made by each rev across the
   entire source tree, using svn diff -c <num> > pfile
g. Apply each patch in order to 1.6.0, and 
   resolve all failures and compilation problems
   before proceding to the next patch.
h. test the stuff.
i. profit!


........
r130145 | murf | 2008-07-11 12:24:31 -0600 (Fri, 11 Jul 2008) | 40 lines

(closes issue #13041)
Reported by: eliel
Tested by: murf

(closes issue #12960)
Reported by: mnicholson

In this 'omnibus' fix, I **think** I solved both
the problem in 13041, where unloading pbx_ael.so
caused crashes, or incomplete removal of previous
registrar'ed entries. And I added code to completely
remove all includes, switches, and ignorepats that
had a matching registrar entry, which should
appease 12960.

I also added a lot of seemingly useless brackets
around single statement if's, which helped debug 
so much that I'm leaving them there.

I added a routine to check the correlation between
the extension tree lists and the hashtab 
tables. It can be amazingly helpful when you have
lots of dialplan stuff, and need to narrow
down where a problem is occurring. It's ifdef'd
out by default.

I cleaned up the code around the new CIDmatch code.
It was leaving hanging extens with bad ptrs, getting confused
over which objects to remove, etc. I tightened
up the code and changed the call to remove_exten
in the merge_and_delete code.

I added more conditions to check for empty context
worthy of deletion. It's not empty if there are
any includes, switches, or ignorepats present.

If I've missed anything, please re-open this bug,
and be prepared to supply example dialplan code.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 13:14:07 +00:00
Tilghman Lesher
d962a11e55 Merged revisions 130890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130890 | tilghman | 2008-07-14 18:59:54 -0500 (Mon, 14 Jul 2008) | 16 lines

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

........
r130889 | tilghman | 2008-07-14 18:59:13 -0500 (Mon, 14 Jul 2008) | 8 lines

Override the callerid in all cases when the callerid is set in the user, not
just when a remote callerid is set.  Also, if not set in the user, allow the
remote CallerID to pass through.
(closes issue #12875)
 Reported by: dimas
 Patches: 
       20080714__bug12875.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 00:00:34 +00:00
Mark Michelson
9766aed395 Merged revisions 130854 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130854 | mmichelson | 2008-07-14 17:22:57 -0500 (Mon, 14 Jul 2008) | 9 lines

Fix a memory leak in the case that /dev/null cannot be
opened when running startup commands from cli.conf

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


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-14 22:24:01 +00:00
Mark Michelson
033a630385 Merged revisions 130794 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130794 | mmichelson | 2008-07-14 12:54:11 -0500 (Mon, 14 Jul 2008) | 16 lines

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

........
r130792 | mmichelson | 2008-07-14 12:50:21 -0500 (Mon, 14 Jul 2008) | 8 lines

Add a check to the CAN_EARLY_BRIDGE macro in app_dial to
be sure there are no audiohooks present on the channels
involved. This fixed a one-way audio situation I had in
my test setup. I couldn't find any open issues that suggested
one-way audio with regards to mixmonitor (or other audiohook)
usage, though.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-14 17:55:01 +00:00
Michiel van Baak
4a57bf3e3d Merged revisions 130744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130744 | mvanbaak | 2008-07-14 19:21:18 +0200 (Mon, 14 Jul 2008) | 18 lines

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

........
r130735 | mvanbaak | 2008-07-14 19:10:21 +0200 (Mon, 14 Jul 2008) | 10 lines

notify the user that dnsmgr refresh wont work when dnsmgr is not enabled.
Previously this command would automagically appear and disappear.
This was confusing.

(closes issue #12796)
Reported by: chappell
Patches:
      dnsmgr_refresh_3.diff uploaded by chappell (license 8)
Tested by: russell, chappell, mvanbaak

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-14 17:22:54 +00:00
Tilghman Lesher
44ab22fe7f Blocked revisions 130697 via svnmerge
........
r130697 | tilghman | 2008-07-14 10:44:07 -0500 (Mon, 14 Jul 2008) | 7 lines

Swap "static" and "const", so that "static" appears at the beginning of each
declaration (suppresses a warning).
(closes issue #13070)
 Reported by: gknispel_proformatique
 Patches: 
       asterisk_trunk_const_static.patch uploaded by gknispel (license 261)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-14 15:44:49 +00:00
Russell Bryant
0ea127b043 Merged revisions 129987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129987 | russell | 2008-07-11 09:22:44 -0500 (Fri, 11 Jul 2008) | 10 lines

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

........
r129970 | russell | 2008-07-11 09:18:43 -0500 (Fri, 11 Jul 2008) | 2 lines

add a simple ASTOBJ_TRYWRLOCK macro ...

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-14 10:40:53 +00:00
Russell Bryant
c75d610942 Merged revisions 130635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130635 | russell | 2008-07-14 05:39:23 -0500 (Mon, 14 Jul 2008) | 10 lines

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

........
r130634 | russell | 2008-07-14 05:38:14 -0500 (Mon, 14 Jul 2008) | 2 lines

Bump up the debug level for a message.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-14 10:40:20 +00:00