Commit Graph

15823 Commits

Author SHA1 Message Date
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
Michiel van Baak
170c05fcc4 Merged revisions 130578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130578 | mvanbaak | 2008-07-14 01:14:03 +0200 (Mon, 14 Jul 2008) | 15 lines

Make all sed calls Posix sed compatible.
To make sure nobody commits script-modified files we first make a backup
of asterisk.tex, run the script, generate the pdf and / or html,
and put the original asterisk.tex back.
This will guard us for the stuff that happened before that someone committed 
a locally modified asterisk.tex, with changes done by this script.

(closes issue #13062)
Reported by: mvanbaak
Patches:
      sed_without-i-v3.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak

Feedback from Corydon. Thanks for taking the time to go through this.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 23:20:11 +00:00
Michiel van Baak
cab0fec957 Blocked revisions 130576 via svnmerge
........
r130576 | mvanbaak | 2008-07-14 00:59:35 +0200 (Mon, 14 Jul 2008) | 9 lines

Convert chan_skinny's open-coded linked lists to the list macros

(closes issue #12956)
Reported by: DEA
Patches:
      chan_skinny-linkedlists-v2.txt uploaded by DEA (license 3)
Tested by: DEA, mvanbaak


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 23:01:14 +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
Tilghman Lesher
21e2e2de49 Merged revisions 130515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130515 | tilghman | 2008-07-13 12:58:47 -0500 (Sun, 13 Jul 2008) | 12 lines

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

........
r130514 | tilghman | 2008-07-13 12:56:10 -0500 (Sun, 13 Jul 2008) | 4 lines

Reverting 2 changesets, as it breaks incoming IAX2 calls
(Related to issue #12963)
Reported by: mvanbaak

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 17:59:34 +00:00
Michiel van Baak
88cbe002af Merged revisions 130479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130479 | mvanbaak | 2008-07-13 16:58:40 +0200 (Sun, 13 Jul 2008) | 3 lines

restore ASTERISKVERSION marker to asterisk.tex.
This got lost in commit 97634

........


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

........
r130444 | tilghman | 2008-07-12 21:34:32 -0500 (Sat, 12 Jul 2008) | 2 lines

Unlock list before returning

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 02:35:22 +00:00
Michiel van Baak
bac969582f Blocked revisions 130374 via svnmerge
................
r130374 | mvanbaak | 2008-07-12 12:26:55 +0200 (Sat, 12 Jul 2008) | 13 lines

Blocked revisions 130373 via svnmerge

........
r130373 | mvanbaak | 2008-07-12 12:25:52 +0200 (Sat, 12 Jul 2008) | 6 lines

in 1.4 the functions still have | as argument seperator.
This commit fixes the use of RAND in the ael random function.

(closes issue #13061)
Reported by: danpwi

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-12 10:28:39 +00:00
Matthew Fredrickson
6e55f169dd Merged revisions 130293 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130293 | mattf | 2008-07-11 16:36:26 -0500 (Fri, 11 Jul 2008) | 1 line

Support new TRANSPORT definitions in libss7
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 21:39:48 +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
Tilghman Lesher
251abd9a17 Blocked revisions 130234 via svnmerge
........
r130234 | tilghman | 2008-07-11 14:56:34 -0500 (Fri, 11 Jul 2008) | 2 lines

Don't copy on NULL.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 19:57:27 +00:00
Tilghman Lesher
69c18e0bdb Blocked revisions 130232 via svnmerge
........
r130232 | tilghman | 2008-07-11 14:53:38 -0500 (Fri, 11 Jul 2008) | 2 lines

Add some debug code and add a missing release

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 19:54:51 +00:00
Tilghman Lesher
9b5c5f096a Merged revisions 130230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130230 | tilghman | 2008-07-11 14:40:55 -0500 (Fri, 11 Jul 2008) | 2 lines

Fix trunk breakage

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 19:45: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
Tilghman Lesher
f5e6714b87 Merged revisions 130170 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130170 | tilghman | 2008-07-11 13:52:42 -0500 (Fri, 11 Jul 2008) | 15 lines

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

........
r130169 | tilghman | 2008-07-11 13:51:56 -0500 (Fri, 11 Jul 2008) | 7 lines

Ensure that a destination callno of 0 will not match for frames that do not
start a dialog (new, lagrq, and ping).
(closes issue #12963)
 Reported by: russellb
 Patches: 
       chan_iax2_dup_new_fix4.patch uploaded by jpgrayson (license 492)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:53:22 +00:00
Sean Bright
2d96db5069 Merged revisions 130167 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130167 | seanbright | 2008-07-11 14:32:26 -0400 (Fri, 11 Jul 2008) | 1 line

Missed one.  Formatting only.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:33:24 +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
Tilghman Lesher
05df0355d9 Merged revisions 130126 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130126 | tilghman | 2008-07-11 12:29:24 -0500 (Fri, 11 Jul 2008) | 17 lines

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

........
r130102 | tilghman | 2008-07-11 11:50:42 -0500 (Fri, 11 Jul 2008) | 9 lines

Pass the devicestate from an underlying channel up through the Agent channel.
This should make the Agent always report the correct device state, even when
the underlying channel is used for other purposes.
(closes issue #12773)
 Reported by: davidw
 Patches: 
       20080710__bug12773.diff.txt uploaded by Corydon76 (license 14)
 Tested by: davidw

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 17:30:07 +00:00
Kevin P. Fleming
288369308e Merged revisions 130044 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130044 | kpfleming | 2008-07-11 11:18:01 -0500 (Fri, 11 Jul 2008) | 2 lines

clean up a bunch more Zaptel-related references

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 16:18:54 +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
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
Kevin P. Fleming
19e89b7b27 Merged revisions 129916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129916 | kpfleming | 2008-07-11 07:21:29 -0500 (Fri, 11 Jul 2008) | 10 lines

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

........
r129907 | kpfleming | 2008-07-11 07:15:42 -0500 (Fri, 11 Jul 2008) | 2 lines

don't attempt to set user/group ownership of extracted sound files (reported on asterisk-users)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 12:26:43 +00:00
Sean Bright
9b1925c172 Merged revisions 129864 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129864 | seanbright | 2008-07-10 20:55:06 -0400 (Thu, 10 Jul 2008) | 1 line

Fix some usages of snprintf, and clarify a couple variable names.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 01:01:39 +00:00
Tilghman Lesher
334b1ee95f Merged revisions 129804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129804 | tilghman | 2008-07-10 17:06:07 -0500 (Thu, 10 Jul 2008) | 16 lines

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

........
r129803 | tilghman | 2008-07-10 16:57:05 -0500 (Thu, 10 Jul 2008) | 8 lines

Correctly deal with duplicate NEW frames (due to retransmission).  Also, fixup
the destination call number matching to be more strict and reliable.
(closes issue #12963)
 Reported by: jpgrayson
 Patches: 
       chan_iax2_dup_new_fix3.patch uploaded by jpgrayson (license 492)
 Tested by: jpgrayson, Corydon76

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 22:07:12 +00:00
Tilghman Lesher
54d1886d1b Merged revisions 129758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129758 | tilghman | 2008-07-10 16:23:23 -0500 (Thu, 10 Jul 2008) | 10 lines

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

........
r129741 | tilghman | 2008-07-10 16:19:48 -0500 (Thu, 10 Jul 2008) | 2 lines

Oops

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 21:24:31 +00:00
Terry Wilson
0f476f87d0 Merged revisions 129738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129738 | twilson | 2008-07-10 15:56:20 -0500 (Thu, 10 Jul 2008) | 2 lines

Move phoneprov config files to be installed with 'make samples' so changes aren't inadvertently lost on a 'make install'

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 21:05:05 +00:00
Mark Michelson
7ac7889760 Blocked revisions 129734 via svnmerge
........
r129734 | mmichelson | 2008-07-10 15:33:13 -0500 (Thu, 10 Jul 2008) | 23 lines

Removed the fn2 field from the vm_state structure.

fn2 was used in three functions. In every case, it was initialized
in the function it was used in. This meant there was no need
to have it in a malloc'd structure just taking up space. Furthermore
two of the functions it was used in were completely unnecessary since
fn2 was set to exactly the same value as the vm_state's fn string.

fn2 was a char array sized at PATH_MAX. On my system, PATH_MAX is 
4096. This equates to a 4K memory savings per vm_state allocated. 
Since there is a vm_state malloc'd for every voicemail user on 
the system, this could potentially add up nicely if there are lots 
of users. In addition, a vm_state is allocated on the stack each 
time a caller calls the VoiceMailMain application, meaning that 
there is a significant stack savings with this patch too.

Of course, a single vm_state struct still takes up approximately
20K on my system (when using IMAP storage. Without IMAP storage,
there would be about another 300 bytes fewer usage), even with 
this removal. Further optimizations are probably possible, 
but most likely not as easy as this one.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 20:34:12 +00:00
Brett Bryant
f6f918d6a6 Merged revisions 129684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129684 | bbryant | 2008-07-10 14:13:12 -0500 (Thu, 10 Jul 2008) | 8 lines

Fixes a bug where the interface for a queue member gets reloaded as the state_interface, if a state_interface was set, on reload because the 
state_interface isn't stored in the ast_db.

(closes issue #13043)
Reported by: jvandal
Patches:
      app_queue.patch uploaded by jvandal (license 413)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 19:14:24 +00:00
Sean Bright
03a55751dc Merged revisions 129642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129642 | seanbright | 2008-07-10 14:19:17 -0400 (Thu, 10 Jul 2008) | 1 line

A couple more minor text changes
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 18:20:22 +00:00
Sean Bright
663c3a4f2e Merged revisions 129638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129638 | seanbright | 2008-07-10 14:16:21 -0400 (Thu, 10 Jul 2008) | 1 line

Remove extraneous \n.  Pointed out by eliel on #asterisk-dev.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 18:18:07 +00:00
Michiel van Baak
2f642bc636 Blocked revisions 129581 via svnmerge
........
r129581 | mvanbaak | 2008-07-10 18:21:16 +0200 (Thu, 10 Jul 2008) | 8 lines

Remove deprecated 'show parkedcalls' CLI command

(closes issue #13038)
Reported by: eliel
Patches:
      finish.deprecate.patch uploaded by eliel (license 64)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 16:24:40 +00:00
Russell Bryant
f6adad7c52 Merged revisions 129569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129569 | russell | 2008-07-10 11:12:51 -0500 (Thu, 10 Jul 2008) | 11 lines

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

........
r129567 | russell | 2008-07-10 11:03:59 -0500 (Thu, 10 Jul 2008) | 3 lines

Note that pbx_spool.so is the module used for call files
(inspired by a question in #asterisk)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 16:13:09 +00:00
Sean Bright
aee532472b Blocked revisions 129506 via svnmerge
................
r129506 | seanbright | 2008-07-10 10:09:18 -0400 (Thu, 10 Jul 2008) | 9 lines

Blocked revisions 129505 via svnmerge

........
r129505 | seanbright | 2008-07-10 09:57:19 -0400 (Thu, 10 Jul 2008) | 2 lines

Update svn:ignore

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 14:09:52 +00:00
Sean Bright
27ab814e73 Merged revisions 129503 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129503 | seanbright | 2008-07-10 09:54:29 -0400 (Thu, 10 Jul 2008) | 2 lines

Update svn:ignore

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 13:56:10 +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
Mark Michelson
a44c6c7dea Merged revisions 129270 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129270 | mmichelson | 2008-07-08 17:56:12 -0500 (Tue, 08 Jul 2008) | 3 lines

Fix compilation error when IMAP storage is enabled


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 22:56:55 +00:00
Mark Michelson
bd9887b558 Blocked revisions 129210 via svnmerge
................
r129210 | mmichelson | 2008-07-08 16:32:09 -0500 (Tue, 08 Jul 2008) | 10 lines

Blocked revisions 129208 via svnmerge

........
r129208 | mmichelson | 2008-07-08 16:31:51 -0500 (Tue, 08 Jul 2008) | 3 lines

Update documentation to have the correct option name


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 21:32:29 +00:00
Mark Michelson
87a53246fb Blocked revisions 129159 via svnmerge
................
r129159 | mmichelson | 2008-07-08 16:10:33 -0500 (Tue, 08 Jul 2008) | 21 lines

Blocked revisions 129158 via svnmerge

........
r129158 | mmichelson | 2008-07-08 16:09:10 -0500 (Tue, 08 Jul 2008) | 14 lines

Backport TCP-related timeouts to IMAP voicemail in 1.4
since it should solve bugs people are experiencing. Specifically,
there are times where communication with the IMAP server causes
system calls to block forever. If this should happen when querying
the mailbox so that chan_sip's do_monitor thread can send MWI to
a phone, it means that SIP calls cannot be processed any more.

The timeout options are outlined in doc/imapstorage.txt. Defaults
for the timeouts are sixty seconds.

(closes issue #12987)
Reported by: mthomasslo


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 21:16:31 +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
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
d42a2e914b Blocked revisions 129114 via svnmerge
........
r129114 | tilghman | 2008-07-08 15:17:08 -0500 (Tue, 08 Jul 2008) | 8 lines

Reduce length of time that 'asterisk -rx' waits.
(closes issue #13001)
 Reported by: eliel
 Patches: 
       20080708__bug13001.diff.txt uploaded by Corydon76 (license 14)
       20080708__bug13001.diff.txt.fixed uploaded by eliel (license 64)
 Tested by: Corydon76, eliel

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 20:17:45 +00:00