Commit Graph

1707 Commits

Author SHA1 Message Date
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
Kevin P. Fleming
de75687750 Merged revisions 132643 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132643 | kpfleming | 2008-07-22 14:59:10 -0500 (Tue, 22 Jul 2008) | 10 lines

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

........
r132641 | kpfleming | 2008-07-22 14:49:11 -0500 (Tue, 22 Jul 2008) | 2 lines

use renamed libpri API call for controlling this feature (was improperly named before)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 20:03:35 +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
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
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
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
Kevin P. Fleming
f95462f418 Merged revisions 130040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130040 | kpfleming | 2008-07-11 10:57:17 -0500 (Fri, 11 Jul 2008) | 12 lines

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

........
r130039 | kpfleming | 2008-07-11 10:41:56 -0500 (Fri, 11 Jul 2008) | 4 lines

add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today

(related to issue #13042)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 16:05:02 +00:00
Tilghman Lesher
7d9d663991 Merged revisions 129152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129152 | tilghman | 2008-07-08 15:30:29 -0500 (Tue, 08 Jul 2008) | 16 lines

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

........
r129149 | tilghman | 2008-07-08 15:27:47 -0500 (Tue, 08 Jul 2008) | 8 lines

Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
registered.
(closes issue #12885)
 Reported by: ibc
 Patches: 
       20080701__bug12885__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: ibc

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 20:31:43 +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
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
Kevin P. Fleming
eeda7c996b Merged revisions 127767 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127767 | kpfleming | 2008-07-03 11:22:02 -0500 (Thu, 03 Jul 2008) | 2 lines

some minor fixes found while working on issue #12911 (and block the rev from 1.4 since the equivalent is already here)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 16:24:57 +00:00
Sean Bright
bbf18851a6 Merged revisions 126226,126513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r126226 | seanbright | 2008-06-28 17:28:16 -0400 (Sat, 28 Jun 2008) | 8 lines

Merge in changes from my cdr-tds-conversion branch.  This changes the internal
implementation from using the volatile libtds, to using the db-lib front end.
The unintended side effect of this is that we support (at least) versions 0.62
through 0.82 of the FreeTDS distribution without any #ifdef ugliness.

(closes issue #12844)
Reported by: jcollie

........
r126513 | seanbright | 2008-06-30 07:57:42 -0400 (Mon, 30 Jun 2008) | 4 lines

Cast a few more strings to char *, so that we can compile cleanly against
FreeTDS 0.60.  Update the docs to reflect that we can now compile and run
against all modern releases of FreeTDS (0.60 through 0.82)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 14:29:18 +00:00
Russell Bryant
38999877fb Merged revisions 126574 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r126574 | russell | 2008-06-30 11:07:25 -0500 (Mon, 30 Jun 2008) | 18 lines

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

........
r126573 | russell | 2008-06-30 11:05:08 -0500 (Mon, 30 Jun 2008) | 10 lines

Fix a typo in the non-DEBUG_THREADS version of the recently added DEADLOCK_AVOIDANCE()
macro.  This caused the lock to not actually be released, and as a result, not
avoid deadlocks at all.  This resolves the issues reported in the last while about
Asterisk locking up all over the place (and most commonly, in chan_iax2).

(closes issue #12927)
(closes issue #12940)
(closes issue #12925)
(potentially closes others ...)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@126575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-30 16:09:52 +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
Philippe Sultan
ca5d70859b Merged revisions 125703 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r125703 | phsultan | 2008-06-27 09:28:17 +0200 (Fri, 27 Jun 2008) | 1 line

Fix a compile time error that occurs if OpenSSL is not installed. Reported by Noel Morais on the users mailing list
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 07:41:54 +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
441da04c0b Merged revisions 124966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124966 | tilghman | 2008-06-24 20:08:37 -0500 (Tue, 24 Jun 2008) | 15 lines

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

........
r124965 | tilghman | 2008-06-24 19:46:24 -0500 (Tue, 24 Jun 2008) | 7 lines

Pvt deadlock causes some channels to get stuck in Reserved status.
(closes issue #12621)
 Reported by: fabianoheringer
 Patches: 
       20080612__bug12621.diff.txt uploaded by Corydon76 (license 14)
 Tested by: fabianoheringer

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 01:13:38 +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
6891a31c38 Merged revisions 123546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123546 | bbryant | 2008-06-17 16:46:57 -0500 (Tue, 17 Jun 2008) | 5 lines

Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using 
them, and memory does not get free'd causing strange issues with SIP. 

This code was originally written by russellb in the team/group/issue_11972/ branch.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:57:15 +00:00
Jeff Peeler
f089bbf663 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:08:09 +00:00
Steve Murphy
3a1b062a16 Merged revisions 123165 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123165 | murf | 2008-06-16 14:43:46 -0600 (Mon, 16 Jun 2008) | 19 lines

(closes issue #12689)
Reported by: ys

Many thanks to ys for doing the research on this problem.
I didn't think it would be best to unlock the contexts
and then relock them after the remove_extension2() call,
so I added an extra arg to remove_extension2() and set it
appropriately in each call. There were not that many.

I considered forcing the code to lock the contexts before
the call to remove_extension2(), but that would require
a slightly greater degree of changes, especially since
the find_context_locked is local to pbx.c

I did a simple sanity test to make sure the code doesn't
mess things up in general.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 21:19:23 +00:00
Steve Murphy
ebdf1fea15 Merged revisions 122091 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122091 | murf | 2008-06-12 08:28:01 -0600 (Thu, 12 Jun 2008) | 45 lines

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

........
r122046 | murf | 2008-06-12 07:47:34 -0600 (Thu, 12 Jun 2008) | 37 lines

(closes issue #10668)
Reported by: arkadia
Tested by: murf, arkadia

Options added to forkCDR() app and the CDR() func to
remove some roadblocks for CDR applications.

The "show application ForkCDR" output was upgraded
to more fully explain the inner workings of forkCDR.

The A option was added to forkCDR to force the
CDR system to NOT change the disposition on the
original CDR, after the fork. This involves
ast_cdr_answer, _busy, _failed, and so on.

The T option was added to forkCDR to force 
obedience of the cdr LOCKED flag in the
ast_cdr_end, all the disposition changing
funcs (ast_cdr_answer, etc), and in the
ast_cdr_setvar func.

The CHANGES file was updated to explain ALL
the new options added to satisfy this bug report
(and some requests made verbally and via 
email, irc, etc, over the past months/year)

The 's' option was added to the CDR() func,
to force it to skip LOCKED cdr's in the
chain.

Again, the new options should be totally transparent
to existing apps! Current behavior of CDR,
forkCDR, and the rest of the CDR system should
not change one little bit. Until you add the
new options, at least!


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 14:38:46 +00:00
Tilghman Lesher
405f86563f Merged revisions 121855 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121855 | tilghman | 2008-06-11 12:44:39 -0500 (Wed, 11 Jun 2008) | 3 lines

Expand CDR uniqueid field to 150 chars, to account for maximum systemname.
(Closes issue #12831)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 17:45:37 +00:00
Tilghman Lesher
ac54d54fc5 Merged revisions 120171 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120171 | tilghman | 2008-06-03 17:05:16 -0500 (Tue, 03 Jun 2008) | 5 lines

Move compatibility options into asterisk.conf, default them to on for upgrades,
and off for new installations.  This includes the translation from pipes to commas
for pbx_realtime and the EXEC command for AGI, as well as the change to the Set
application not to support multiple variables at once.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 22:08:56 +00:00
Russell Bryant
19721dea99 Merged revisions 119799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119799 | russell | 2008-06-02 10:57:43 -0500 (Mon, 02 Jun 2008) | 4 lines

After determining that the version of spandsp installed is an acceptable version,
do a build and link test to ensure that the library is usable, and that libtiff
is also available

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:58:41 +00:00
Russell Bryant
d206a81d8d Merged revisions 119795 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119795 | russell | 2008-06-02 10:43:40 -0500 (Mon, 02 Jun 2008) | 2 lines

Add a configure script check for spandsp

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:46:07 +00:00
Tilghman Lesher
caab83a81b Merged revisions 119296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119296 | tilghman | 2008-05-30 11:10:46 -0500 (Fri, 30 May 2008) | 8 lines

Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
properly.
(closes issue #12760)
 Reported by: Corydon76
 Patches: 
       20080530__bug12760.diff.txt uploaded by Corydon76 (license 14)
 Tested by: tim_ringenbach, Corydon76

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 16:11:31 +00:00
Tilghman Lesher
ef98b16564 Merged revisions 118955,118957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118955 | tilghman | 2008-05-29 12:35:19 -0500 (Thu, 29 May 2008) | 11 lines

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

........
r118953 | tilghman | 2008-05-29 12:20:16 -0500 (Thu, 29 May 2008) | 3 lines

Add some debugging code that ensures that when we do deadlock avoidance, we
don't lose the information about how a lock was originally acquired.

........

................
r118957 | tilghman | 2008-05-29 12:39:50 -0500 (Thu, 29 May 2008) | 10 lines

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

........
r118954 | tilghman | 2008-05-29 12:33:01 -0500 (Thu, 29 May 2008) | 2 lines

Define also when not DEBUG_THREADS

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 17:42:28 +00:00
Philippe Sultan
4d5394383f Merged revisions 118644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118644 | phsultan | 2008-05-28 16:10:48 +0200 (Wed, 28 May 2008) | 10 lines

Changed to temporary namespaces to match with latest XEPs. As soon as
Jingle is completely standardized, we can set those namespaces to their
final values.

Added two attributes to the jingle_pvt struct to store the content
name attributes. Reported by Robert McQueen on Telepathy's framework
mailing list :
http://lists.freedesktop.org/archives/telepathy/2008-May/001971.html

Keeping working on our Jingle stack!
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 14:13:16 +00:00
Russell Bryant
5794734668 Merged revisions 118556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118556 | russell | 2008-05-27 14:27:48 -0500 (Tue, 27 May 2008) | 6 lines

Add printf format attribute for vasprintf().
(closes issue #12729)
Reported by: snuffy
Patches:
      bug_12729.diff uploaded by snuffy (license 35)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-27 19:28:19 +00:00
Russell Bryant
b365d27f4d Merged revisions 118328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118328 | russell | 2008-05-27 09:51:13 -0500 (Tue, 27 May 2008) | 2 lines

Add printf attribute to asprintf

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-27 14:51:43 +00:00
Brett Bryant
aec651c6d6 Merged revisions 118161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118161 | bbryant | 2008-05-23 16:19:42 -0500 (Fri, 23 May 2008) | 3 lines

Add new functionality to http server that requires manager authentication for any path that includes a directory named 'private'. This patch also 
requires manager authentication for any POST's being sent to the server as well to help secure uploads.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-23 21:37:07 +00:00
Russell Bryant
6d4d094baa Merged revisions 118049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118049 | russell | 2008-05-23 07:37:31 -0500 (Fri, 23 May 2008) | 17 lines

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

........
r118048 | russell | 2008-05-23 07:30:53 -0500 (Fri, 23 May 2008) | 9 lines

Don't declare a function that takes variable arguments as inline, because it's
not valid, and on some compilers, will emit a warning.

http://gcc.gnu.org/onlinedocs/gcc/Inline.html#Inline

(closes issue #12289)
Reported by: francesco_r
Patches by Tilghman, final patch by me

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-23 12:37:58 +00:00
Tilghman Lesher
aaccfd2de9 Merged revisions 117088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117088 | tilghman | 2008-05-19 11:07:09 -0500 (Mon, 19 May 2008) | 10 lines

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

........
r117086 | tilghman | 2008-05-19 11:05:05 -0500 (Mon, 19 May 2008) | 2 lines

The addition of usleep(2) within ast_assert requires the inclusion of the unistd.h header

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 16:07:53 +00:00
Tilghman Lesher
0d4da58df8 Merged revisions 116694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116694 | tilghman | 2008-05-15 17:05:47 -0500 (Thu, 15 May 2008) | 4 lines

Add an extra check in ast_strlen_zero, and make ast_assert() not print the
file, line, and function name twice.
(Closes issue #12650)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-15 22:07:30 +00:00
Russell Bryant
8b3150e282 Merged revisions 116469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116469 | russell | 2008-05-14 16:40:43 -0500 (Wed, 14 May 2008) | 12 lines

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

........
r116463 | russell | 2008-05-14 16:32:00 -0500 (Wed, 14 May 2008) | 4 lines

Add ast_assert(), which can be used to handle fatal errors.  It is only compiled
in if dev-mode is enabled, and only aborts if DO_CRASH is defined.
(inspired by issue #12650)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 21:41:09 +00:00
Mark Michelson
0ea1c980a0 Merged revisions 116089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116089 | mmichelson | 2008-05-13 18:54:01 -0500 (Tue, 13 May 2008) | 20 lines

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

........
r116088 | mmichelson | 2008-05-13 18:47:49 -0500 (Tue, 13 May 2008) | 12 lines

A change to the way channel locks are handled when DEBUG_CHANNEL_LOCKS is defined.

After debugging a deadlock, it was noticed that when DEBUG_CHANNEL_LOCKS
is enabled in menuselect, the actual origin of channel locks is obscured
by the fact that all channel locks appear to happen in the function
ast_channel_lock(). This code change redefines ast_channel_lock to be a
macro which maps to __ast_channel_lock(), which then relays the proper
file name, line number, and function name information to the core lock
functions so that this information will be displayed in the case that
there is some sort of locking error or core show locks is issued.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 23:58:34 +00:00
Matthew Fredrickson
77705a0808 Merged revisions 115600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115600 | mattf | 2008-05-10 22:23:05 -0500 (Sat, 10 May 2008) | 1 line

Add Zap MTP2 support to chan_zap
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11 03:27:05 +00:00
Joshua Colp
1d5d0976cc Merged revisions 115580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115580 | file | 2008-05-09 13:36:58 -0300 (Fri, 09 May 2008) | 10 lines

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

........
r115579 | file | 2008-05-09 13:34:08 -0300 (Fri, 09 May 2008) | 2 lines

Improve res_ninit and res_ndestroy autoconf logic on the Darwin platform.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-09 16:38:38 +00:00
Russell Bryant
09d71ed55f Merged revisions 115513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115513 | russell | 2008-05-07 12:28:19 -0500 (Wed, 07 May 2008) | 19 lines

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

................
r115512 | russell | 2008-05-07 11:24:09 -0500 (Wed, 07 May 2008) | 11 lines

Merged revisions 115511 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r115511 | russell | 2008-05-07 11:22:49 -0500 (Wed, 07 May 2008) | 3 lines

Remove remnants of dlinkedlists.  I didn't actually use them in the final version
of my IAX2 improvements.

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07 17:36:44 +00:00
Joshua Colp
0ed86b307e Merged revisions 115328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115328 | file | 2008-05-05 19:13:57 -0300 (Mon, 05 May 2008) | 10 lines

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

........
r115327 | file | 2008-05-05 19:10:05 -0300 (Mon, 05 May 2008) | 2 lines

Make sure that either the main speex library contains preprocess functions or that speexdsp does. If both fail then speex stuff can not be built.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05 22:17:05 +00:00
Tilghman Lesher
c8753fb014 Merged revisions 115309 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115309 | tilghman | 2008-05-05 14:57:28 -0500 (Mon, 05 May 2008) | 10 lines

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

........
r115308 | tilghman | 2008-05-05 14:55:55 -0500 (Mon, 05 May 2008) | 2 lines

Err, the documentation on the return value of ast_odbc_backslash_is_escape is exactly backwards.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05 19:58:25 +00:00
Joshua Colp
7ccc4fe461 Merged revisions 115280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115280 | file | 2008-05-03 22:52:00 -0300 (Sat, 03 May 2008) | 10 lines

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

........
r115279 | file | 2008-05-03 22:50:59 -0300 (Sat, 03 May 2008) | 2 lines

For my next trick I will make these work with what our autoconf header file gives us.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-04 01:53:02 +00:00
Mark Michelson
78673e20fc Merged revisions 115197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115197 | mmichelson | 2008-05-02 09:28:55 -0500 (Fri, 02 May 2008) | 14 lines

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

........
r115196 | mmichelson | 2008-05-02 09:28:19 -0500 (Fri, 02 May 2008) | 6 lines

Clarify a comment that was, well, just wrong. It turns out that
ignoring the way that macros expand. Instead, I have clarified in the
comment why the macro will work even if the scheduler id for the
task to be deleted changes during the execution of the macro.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-02 14:29:49 +00:00
Tilghman Lesher
23d923acc3 Merged revisions 115104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115104 | tilghman | 2008-05-01 18:21:13 -0500 (Thu, 01 May 2008) | 10 lines

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

........
r115102 | tilghman | 2008-05-01 18:20:25 -0500 (Thu, 01 May 2008) | 2 lines

Change the comment of deprecated to an actual compiler deprecation

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-01 23:22:02 +00:00
Russell Bryant
9f1ccdbea3 Add the dlinkedlists implementation from trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114909 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-30 20:20:46 +00:00