Commit Graph

1755 Commits

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

................
r133171 | mmichelson | 2008-07-23 14:48:03 -0500 (Wed, 23 Jul 2008) | 20 lines

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

........
r133169 | mmichelson | 2008-07-23 14:39:47 -0500 (Wed, 23 Jul 2008) | 12 lines

As suggested by seanbright, the PSEUDO_CHAN_LEN in 
app_chanspy should be set at load time, not at compile
time, since dahdi_chan_name is determined at load time.

Also changed the next_unique_id_to_use to have the 
static qualifier.

Also added the dahdi_chan_name_len variable so that
strlen(dahdi_chan_name) isn't necessary. Thanks to
seanbright for the suggestion.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@133172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 19:50:23 +00:00
Kevin P. Fleming
ccf54d5c34 Merged revisions 132964 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132964 | kpfleming | 2008-07-23 11:30:18 -0500 (Wed, 23 Jul 2008) | 10 lines

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

........
r132872 | kpfleming | 2008-07-23 06:52:18 -0500 (Wed, 23 Jul 2008) | 2 lines

minor optimization for stringfields: when a field is being set to a larger value than it currently contains and it happens to be the most recent field allocated from the currentl pool, it is possible to 'grow' it without having to waste the space it is currently using (or potentially even allocate a new pool)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 16:34:46 +00:00
Tilghman Lesher
bd2b20c845 Merged revisions 132511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132511 | tilghman | 2008-07-21 16:00:47 -0500 (Mon, 21 Jul 2008) | 2 lines

(Step 2 of 2)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 21:02:55 +00:00
Tilghman Lesher
1ab6423d16 Merged revisions 132510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132510 | tilghman | 2008-07-21 15:59:03 -0500 (Mon, 21 Jul 2008) | 5 lines

Optionally build integer-based routines for FSK tone decoding (but default
to the more accurate float-based routines).
(Closes issue #11679)
(Step 1 of 2)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 21:02:25 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
Michiel van Baak
b92a2e0e53 Merged revisions 130574 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130574 | mvanbaak | 2008-07-14 00:50:31 +0200 (Mon, 14 Jul 2008) | 16 lines

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

........
r130573 | mvanbaak | 2008-07-14 00:48:51 +0200 (Mon, 14 Jul 2008) | 8 lines

fix memory leak when originate from manager cannot create a thread

(closes issue #13069)
Reported by: gknispel_proformatique
Patches:
      asterisk_trunk_action_originate.patch uploaded by gknispel (license 261)
	  Tested by: gknispel_proformatique, mvanbaak

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 22:53:25 +00:00
Mark Michelson
ec482339b7 Merged revisions 130237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130237 | mmichelson | 2008-07-11 15:03:55 -0500 (Fri, 11 Jul 2008) | 11 lines

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

........
r130236 | mmichelson | 2008-07-11 15:03:23 -0500 (Fri, 11 Jul 2008) | 3 lines

Remove redundant logic


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 20:04:25 +00:00
Mark Michelson
feead8b757 Merged revisions 130174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130174 | mmichelson | 2008-07-11 14:14:15 -0500 (Fri, 11 Jul 2008) | 15 lines

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

........
r130173 | mmichelson | 2008-07-11 14:13:29 -0500 (Fri, 11 Jul 2008) | 7 lines

Fix a typo in audiohook_read_frame_both.

While this change has not been proven to fix any
specific issue, it is incorrect and could cause
unforeseen problems.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 19:14:50 +00:00
Brett Bryant
559bbfc457 Merged revisions 130129 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130129 | bbryant | 2008-07-11 13:09:35 -0500 (Fri, 11 Jul 2008) | 8 lines

Janitor patch to change uses of sizeof to ARRAY_LEN

(closes issue #13054)
Reported by: pabelanger
Patches:
      ARRAY_LEN.patch2 uploaded by pabelanger (license 224)
Tested by: seanbright

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:14:27 +00:00
Kevin P. Fleming
5ce44b2532 Merged revisions 129968 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129968 | kpfleming | 2008-07-11 09:16:15 -0500 (Fri, 11 Jul 2008) | 18 lines

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

........
r129966 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines

fix a flaw found while experimenting with structure alignment and padding; low-fence checking would not work properly on 64-bit platforms, because the compiler was putting 4 bytes of padding between the fence field and the allocation memory block

added a very obvious runtime warning if this condition reoccurs, so the developer who broke it can be chastised into fixing it :-)


........
r129967 | kpfleming | 2008-07-11 09:03:52 -0500 (Fri, 11 Jul 2008) | 5 lines

simplify calculation

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 14:16:55 +00:00
Mark Michelson
f68d786c86 Merged revisions 129437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129437 | mmichelson | 2008-07-09 14:40:30 -0500 (Wed, 09 Jul 2008) | 21 lines

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

........
r129436 | mmichelson | 2008-07-09 14:32:20 -0500 (Wed, 09 Jul 2008) | 13 lines

Fix a problem where inbound rfc2833 audio would be sent to the 
core instead of being P2P bridged. When the core regenerated
the rfc2833 packet for the outbound leg, the SSRC would be different
than the RTP audio on the call leg causing DTMF detection issues on
the far end.

(closes issue #12955)
Reported by: tonyredstone
Patches:
      dynamic_rtp.patch uploaded by tsearle (license 373)
Tested by: tonyredstone


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-09 19:41:31 +00:00
Matthew Fredrickson
d00a013b44 Merged revisions 129399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129399 | mattf | 2008-07-09 10:57:06 -0500 (Wed, 09 Jul 2008) | 1 line

Add Proceeding() application (#13025)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-09 16:01:49 +00:00
Sean Bright
b3ca68f90b Merged revisions 129344 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129344 | seanbright | 2008-07-09 09:44:43 -0400 (Wed, 09 Jul 2008) | 12 lines

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

........
r129343 | seanbright | 2008-07-09 09:41:21 -0400 (Wed, 09 Jul 2008) | 4 lines

Look for the system installed awk instead of assuming it's at /usr/bin/awk.

Pointed out by jmls via #asterisk-dev.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-09 13:46:07 +00:00
Brett Bryant
1b3cb408f5 Merged revisions 129156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129156 | bbryant | 2008-07-08 16:00:01 -0500 (Tue, 08 Jul 2008) | 6 lines

Fix a bug in SRV lookups where dnsmgr would discard everything but the 
first SRV result from DNS before processing weights and priorities and 
dns_parse_answer wouldn't report that there were no records in DNS 
unless a failure occured. Also fixed a bug where dnsmgr_refresh would 
report that a entry was being changed when ast_gethostbyname had failed.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 21:04:56 +00:00
Brett Bryant
b065565bd4 Merged revisions 129045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129045 | bbryant | 2008-07-08 11:40:28 -0500 (Tue, 08 Jul 2008) | 7 lines

Janitor project to convert sizeof to ARRAY_LEN macro.

(closes issue #13002)
Reported by: caio1982
Patches:
      janitor_arraylen5.diff uploaded by caio1982 (license 22)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 16:41:31 +00:00
Tilghman Lesher
631361ec04 Merged revisions 128027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r128027 | tilghman | 2008-07-04 11:06:34 -0500 (Fri, 04 Jul 2008) | 16 lines

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

........
r127973 | tilghman | 2008-07-03 22:30:30 -0500 (Thu, 03 Jul 2008) | 8 lines

Fix the 'dialplan remove extension' logic, so that it a) works with cidmatch,
and b) completes contexts correctly when the extension is ambiguous.
(closes issue #12980)
 Reported by: licedey
 Patches: 
       20080703__bug12980.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-04 16:10:32 +00:00
Kevin P. Fleming
a2a2d2d0a0 Merged revisions 127903 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r127903 | kpfleming | 2008-07-03 17:23:04 -0500 (Thu, 03 Jul 2008) | 20 lines

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

........
r127892 | kpfleming | 2008-07-03 17:18:38 -0500 (Thu, 03 Jul 2008) | 6 lines

a couple of small Solaris-related fixes

(closes issue #11885)
Reported by: snuffy, asgaroth


........
r127895 | kpfleming | 2008-07-03 17:20:16 -0500 (Thu, 03 Jul 2008) | 3 lines

remove this, it has been moved to the main Makefile


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 22:23:32 +00:00
Steve Murphy
b8002ee93e Merged revisions 127793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r127793 | murf | 2008-07-03 11:16:44 -0600 (Thu, 03 Jul 2008) | 38 lines

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

........
r127663 | murf | 2008-07-02 18:16:25 -0600 (Wed, 02 Jul 2008) | 30 lines

The CDRfix4/5/6 omnibus cdr fixes.

(closes issue #10927)
Reported by: murf
Tested by: murf, deeperror

(closes issue #12907)
Reported by: falves11
Tested by: murf, falves11


(closes issue #11849)
Reported by: greyvoip

As to 11849, I think these changes fix the core problems 
brought up in that bug, but perhaps not the more global
problems created by the limitations of CDR's themselves
not being oriented around transfers.

Reopen if necc, but bug reports are not the best
medium for enhancement discussions. We need to start
a second-generation CDR standardization effort to cover
transfers.

(closes issue #11093)
Reported by: rossbeer
Tested by: greyvoip, murf



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 19:12:14 +00:00
Tilghman Lesher
8d1f5d94e9 Merged revisions 127466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127466 | tilghman | 2008-07-02 13:31:11 -0500 (Wed, 02 Jul 2008) | 6 lines

Solaris fix
(closes issue #12949)
 Reported by: snuffy
 Patches: 
       bug_12949.diff uploaded by snuffy (license 35)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 18:31:58 +00:00
Mark Michelson
d3caa53777 Merged revisions 127157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127157 | mmichelson | 2008-07-01 16:16:00 -0500 (Tue, 01 Jul 2008) | 8 lines

Place the delay in __ast_answer prior to the channel-specific answer
callback. This change differs from commit 127113 in that now the 
channel is not set to AST_STATE_UP until after the answer callback.

(closes issue #12924)
Reported by: snyfer


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 21:16:33 +00:00
Mark Michelson
647d2c800a Merging Revision 127113 from trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 21:13:32 +00:00
Mark Michelson
307dc9d032 Make sure to only include dahdi/user.h if we have
installed DAHDI. 



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 14:57:28 +00:00
Tilghman Lesher
a12130a093 Merged revisions 125794 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r125794 | tilghman | 2008-06-27 08:54:13 -0500 (Fri, 27 Jun 2008) | 10 lines

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

........
r125793 | tilghman | 2008-06-27 08:45:03 -0500 (Fri, 27 Jun 2008) | 2 lines

In this debugging function, copy to a buffer instead of using potentially unsafe pointers.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 14:07:13 +00:00
Jason Parker
2de235d2b0 Merged revisions 125589 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r125589 | qwell | 2008-06-26 18:04:18 -0500 (Thu, 26 Jun 2008) | 9 lines

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

........
r125587 | qwell | 2008-06-26 18:03:15 -0500 (Thu, 26 Jun 2008) | 1 line

Make sure to unlock the lock_info lock (huh?).  Possible deadlock?
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 23:05:04 +00:00
Tilghman Lesher
07126be389 Merged revisions 125277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r125277 | tilghman | 2008-06-26 06:02:11 -0500 (Thu, 26 Jun 2008) | 15 lines

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

........
r125276 | tilghman | 2008-06-26 06:01:21 -0500 (Thu, 26 Jun 2008) | 7 lines

Check for rtcp structure before trying to delete schedule.
(closes issue #12872)
 Reported by: destiny6628
 Patches: 
       20080621__bug12872.diff.txt uploaded by Corydon76 (license 14)
 Tested by: destiny6628

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 11:08:34 +00:00
Kevin P. Fleming
0b30f14b33 Merged revisions 125138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r125138 | kpfleming | 2008-06-25 18:05:28 -0500 (Wed, 25 Jun 2008) | 18 lines

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

........
r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines

allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places

don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it

get app_rpt building again after the DAHDI changes

(closes issue #12911)
Reported by: tzafrir


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 23:20:35 +00:00
Tilghman Lesher
cec0e915ee Merged revisions 124396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124396 | tilghman | 2008-06-20 17:04:37 -0500 (Fri, 20 Jun 2008) | 11 lines

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

........
r124395 | tilghman | 2008-06-20 17:02:55 -0500 (Fri, 20 Jun 2008) | 3 lines

If the last character in a string to be parsed is the delimiter, then we should
count that final empty string as an additional argument.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 22:06:01 +00:00
Mark Michelson
f5ed251dc3 Merged revisions 124278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124278 | mmichelson | 2008-06-20 11:30:18 -0500 (Fri, 20 Jun 2008) | 6 lines

Change references to doc/channelvariables.txt to
doc/tex/channelvariables.tex.

This issue came up on the asterisk-dev mailing list.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 16:31:26 +00:00
Brett Bryant
d08e081337 Merged revisions 124064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124064 | bbryant | 2008-06-19 14:48:26 -0500 (Thu, 19 Jun 2008) | 2 lines

Add errors that report any locks held by threads when they are being closed.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 19:49:54 +00:00
Tilghman Lesher
b717d74470 Merged revisions 123931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123931 | tilghman | 2008-06-19 12:02:54 -0500 (Thu, 19 Jun 2008) | 13 lines

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

........
r123930 | tilghman | 2008-06-19 11:58:19 -0500 (Thu, 19 Jun 2008) | 5 lines

Change informative messages to use the _multiple variant when multiple formats
are possible.
(Closes issue #12848)
Reported by klaus3000

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 17:04:42 +00:00
Tilghman Lesher
9787f4b97d Merged revisions 123870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123870 | tilghman | 2008-06-19 11:08:29 -0500 (Thu, 19 Jun 2008) | 14 lines

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

........
r123869 | tilghman | 2008-06-19 11:07:23 -0500 (Thu, 19 Jun 2008) | 6 lines

The RDTSC instruction was introduced on the Pentium line of microprocessors,
and is not compatible with certain 586 clones, like Cyrix.  Hence, asking for
i386 compatibility was always incorrect. See http://en.wikipedia.org/wiki/RDTSC
(Closes issue #12886)
Reported by tecnoxarxa

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 16:09:28 +00:00