Commit Graph

15587 Commits

Author SHA1 Message Date
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
Tilghman Lesher
ce6304e162 Blocked revisions 123544 via svnmerge
........
r123544 | tilghman | 2008-06-17 16:42:42 -0500 (Tue, 17 Jun 2008) | 7 lines

Add an option, specifying maximum analysis time for talk detection.
(closes issue #12149)
 Reported by: davevg
 Patches: 
       app_talkdetect.c.diff uploaded by davevg (license 209)
       (Plus a few additional cleanups by moi)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:43:27 +00:00
Mark Michelson
aec2526866 Blocked revisions 123541 via svnmerge
........
r123541 | mmichelson | 2008-06-17 16:33:40 -0500 (Tue, 17 Jun 2008) | 3 lines

Put quotes around "test"


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:34:01 +00:00
Mark Michelson
f552bb9242 Blocked revisions 123526 via svnmerge
........
r123526 | mmichelson | 2008-06-17 16:26:31 -0500 (Tue, 17 Jun 2008) | 13 lines

_ys pointed out in #asterisk-bugs that he was experiencing
a memory leak when running the astobj2 test CLI command. After
searching, it appears the leak was in the command handler itself.

Each object was allocated (recount = 1) and then linked into
a container (refounct = 2). Then at the end of the function, 
the container was unreffed, causing all the objects to have
their refcount decremented by one, leaving the refcount for
all objects allocated in that function at 1. I've now added
an extra unref to the mix so that the refcount equals zero
when the container is unreffed.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:28:02 +00:00
Mark Michelson
00d9f25e41 Merged revisions 123486 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123486 | mmichelson | 2008-06-17 15:28:47 -0500 (Tue, 17 Jun 2008) | 12 lines

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

........
r123485 | mmichelson | 2008-06-17 15:26:38 -0500 (Tue, 17 Jun 2008) | 4 lines

Make chan_sip build under dev mode with compilers >= GCC 4.2
Thanks to jpeeler for alerting me of this


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:30:00 +00:00
Steve Murphy
609bf84b71 block 123448 from trunk; it doesn't apply here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:23:26 +00:00
Mark Michelson
6c849f921f Blocked revisions 123456 via svnmerge
........
r123456 | mmichelson | 2008-06-17 15:19:49 -0500 (Tue, 17 Jun 2008) | 3 lines

Add the same fix from revision 123271 to container_destruct_debug.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:21:08 +00:00
Steve Murphy
0539ac3c7b Blocked 123446 (the cdr_tds.c fix) from 1.6.0, because it's a fix to new code in trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123447 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:05:42 +00:00
Tilghman Lesher
e41ffcbca3 Merged revisions 123392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123392 | tilghman | 2008-06-17 13:57:45 -0500 (Tue, 17 Jun 2008) | 11 lines

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

........
r123391 | tilghman | 2008-06-17 13:56:53 -0500 (Tue, 17 Jun 2008) | 3 lines

Fix 3 more places where failure to lock the structure could cause the wrong lock to be
unlocked.  (Closes issue #12795)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 19:01:33 +00:00
Jeff Peeler
83eedba78a Merged revisions 123238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123238 | jpeeler | 2008-06-16 18:05:18 -0500 (Mon, 16 Jun 2008) | 1 line

Fix some (more) variables that were forgotten to be renamed, related to 117658
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:28:56 +00:00
Jeff Peeler
8e008e0878 Blocked revisions 122243-122244 via svnmerge
........
r122243 | jpeeler | 2008-06-12 12:39:38 -0500 (Thu, 12 Jun 2008) | 2 lines

Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message.  Fixes crash bug. (from mattf r121857, moving from chan_zap to chan_dahdi)

........
r122244 | jpeeler | 2008-06-12 12:49:37 -0500 (Thu, 12 Jun 2008) | 2 lines

Fix pseudo channel allocation errors on startup when using SS7. (from mattf r121914, moving from chan_zap to chan_dahdi)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:28:05 +00:00
Tilghman Lesher
83b5751b10 Blocked revisions 123358 via svnmerge
........
r123358 | tilghman | 2008-06-17 13:23:01 -0500 (Tue, 17 Jun 2008) | 6 lines

If we don't match registrar when destroying a context, it can cause a crash.
(closes issue #12835)
 Reported by: ys
 Patches: 
       pbx.c.diff uploaded by ys (license 281)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:25:53 +00:00
Mark Michelson
01ec6ca9b1 Merged revisions 123334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123334 | mmichelson | 2008-06-17 13:09:54 -0500 (Tue, 17 Jun 2008) | 19 lines

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

........
r123333 | mmichelson | 2008-06-17 13:09:16 -0500 (Tue, 17 Jun 2008) | 11 lines

Cisco BTS sends SIP responses with a tab between the Cseq number and
SIP request method in the Cseq: header. Asterisk did not handle this
properly, but with this patch, all is well.

(closes issue #12834)
Reported by: tobias_e
Patches:
      12834.patch uploaded by putnopvut (license 60)
Tested by: tobias_e


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:10:30 +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
Mark Michelson
8c4f56f424 Merged revisions 123275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123275 | mmichelson | 2008-06-17 10:57:43 -0500 (Tue, 17 Jun 2008) | 20 lines

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

........
r123274 | mmichelson | 2008-06-17 10:56:55 -0500 (Tue, 17 Jun 2008) | 12 lines

davidw pointed out that the holdtime calculation used by
app_queue does not use "boxcar" filtering as the comments
say. The term "boxcar" means that the number of samples used
to calculate stays constant, with new samples replacing the
oldest ones. The queue holdtime calculation uses all holdtime
samples collected since the queue was loaded, so the comment
has been changed to be accurate.

(closes issue #12781)
Reported by: davidw


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 15:58:21 +00:00
Russell Bryant
020dce48e9 Merged revisions 123272 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123272 | russell | 2008-06-17 10:52:13 -0500 (Tue, 17 Jun 2008) | 12 lines

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

........
r123271 | russell | 2008-06-17 10:48:31 -0500 (Tue, 17 Jun 2008) | 4 lines

Fix a memory leak in astobj2 that was pointed out by seanbright.  When a container
got destroyed, the underlying bucket list entry for each object that was in the
container at that time did not get free'd.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 15:52:36 +00:00
Tilghman Lesher
0d3b20487c Blocked revisions 123201 via svnmerge
........
r123201 | tilghman | 2008-06-16 16:31:43 -0500 (Mon, 16 Jun 2008) | 2 lines

Oopsie, breakage

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 21:33:14 +00:00
Jeff Peeler
2248db67c7 Fix some variables that were forgotten to be renamed, related to 117658. Couldn't merge from trunk since the chan_dahdi transition has not occurred here yet
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 21:20:08 +00:00
Chris Tooley
447203ca39 Blocked revisions 123115 via svnmerge
........
r123115 | ctooley | 2008-06-16 15:02:06 -0500 (Mon, 16 Jun 2008) | 1 line

Changes response to the ExternalIVR() P command from pipe delimited to comma delimited.  closes issue #12804
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 21:20:07 +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
Jeff Peeler
281411716a Blocked revisions 123166 via svnmerge
........
r123166 | jpeeler | 2008-06-16 16:15:12 -0500 (Mon, 16 Jun 2008) | 1 line

Fix some variables that were forgotten to be renamed, related to 117658
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 21:18:28 +00:00
Tilghman Lesher
0c73588085 Merged revisions 123114 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123114 | tilghman | 2008-06-16 14:57:05 -0500 (Mon, 16 Jun 2008) | 10 lines

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

........
r123113 | tilghman | 2008-06-16 14:50:12 -0500 (Mon, 16 Jun 2008) | 2 lines

Port "hasvoicemail" change from SIP to other channel drivers

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 20:03:18 +00:00
Tilghman Lesher
acd50c01bc Merged revisions 123111 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123111 | tilghman | 2008-06-16 14:23:51 -0500 (Mon, 16 Jun 2008) | 16 lines

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

........
r123110 | tilghman | 2008-06-16 14:21:58 -0500 (Mon, 16 Jun 2008) | 8 lines

People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue #12855)
 Reported by: PLL
 Patches: 
       20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: PLL

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 19:24:44 +00:00
Sean Bright
003cbe46dc Blocked revisions 123076 via svnmerge
........
r123076 | seanbright | 2008-06-16 13:33:10 -0400 (Mon, 16 Jun 2008) | 1 line

Last commit for a bit, minor cleanups and move the lock initialization.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 17:33:52 +00:00
Chris Tooley
a89916022e Fixes and closes bug number 12804
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 17:29:06 +00:00
Sean Bright
ff61c559ea Blocked revisions 123044 via svnmerge
........
r123044 | seanbright | 2008-06-16 13:14:11 -0400 (Mon, 16 Jun 2008) | 1 line

Convert to use stringfields.  Still some more work to do on config load/reload.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 17:14:47 +00:00
Sean Bright
20a0553d25 Blocked revisions 122834 via svnmerge
........
r122834 | seanbright | 2008-06-15 23:33:03 -0400 (Sun, 15 Jun 2008) | 1 line

Resurrected app_fax
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 17:09:14 +00:00
Sean Bright
c3d4dd7fff Blocked revisions 123009,123041 via svnmerge
........
r123009 | seanbright | 2008-06-16 11:25:03 -0400 (Mon, 16 Jun 2008) | 1 line

Coding guidelines stuff only.
........
r123041 | seanbright | 2008-06-16 12:29:18 -0400 (Mon, 16 Jun 2008) | 1 line

Remove some unused variables
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 17:07:01 +00:00
Russell Bryant
648a3aea44 Blocked revisions 122977 via svnmerge
........
r122977 | russell | 2008-06-16 08:31:36 -0500 (Mon, 16 Jun 2008) | 2 lines

Note that only one timing interface should get loaded.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 13:31:49 +00:00
Russell Bryant
8c0488cb30 Blocked revisions 122926 via svnmerge
........
r122926 | russell | 2008-06-16 08:03:40 -0500 (Mon, 16 Jun 2008) | 4 lines

Add a "timing test" CLI command.  It opens a timer and configures it for
50 ticks per second, and then counts to see how many ticks it actually
gets in a second.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 13:03:58 +00:00
Russell Bryant
5429dcc618 Blocked revisions 122923 via svnmerge
........
r122923 | russell | 2008-06-16 07:48:11 -0500 (Mon, 16 Jun 2008) | 5 lines

 - Fix a typo in a timing API call
 - Convert the last part of channel.c over to use the timing API.  This would
   not have made a difference when using the dahdi timing module.  I noticed
   it when trying to use another timing source.  Oops.  :)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 12:49:00 +00:00
Joshua Colp
caedf75d2c Merged revisions 122920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122920 | file | 2008-06-16 09:32:02 -0300 (Mon, 16 Jun 2008) | 14 lines

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

........
r122919 | file | 2008-06-16 09:31:09 -0300 (Mon, 16 Jun 2008) | 6 lines

Only compare the first 15 characters so that even if the charset is specified we still accept it as SDP.
(closes issue #12803)
Reported by: lanzaandrea
Patches:
      chan_sip.c.diff uploaded by lanzaandrea (license 496)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 12:32:56 +00:00
Joshua Colp
eb2df0bf9e Merged revisions 122870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122870 | file | 2008-06-16 09:09:54 -0300 (Mon, 16 Jun 2008) | 14 lines

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

........
r122869 | file | 2008-06-16 09:08:28 -0300 (Mon, 16 Jun 2008) | 6 lines

Don't send a BYE on a dialog that is already gone during a REFER.
(closes issue #12865)
Reported by: flefoll
Patches:
      chan_sip.c.br14.121495.patch-ALREADYGONE uploaded by flefoll (license 244)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 12:10:50 +00:00
Tilghman Lesher
7566296c88 Blocked revisions 122802 via svnmerge
........
r122802 | tilghman | 2008-06-15 10:21:16 -0500 (Sun, 15 Jun 2008) | 8 lines

Add some more IAX2-specific information about the channel to the CHANNEL()
function and begin the transition from SIPCHANINFO() to just using CHANNEL().
(closes issue #12856)
 Reported by: mostyn
 Patches: 
       iax_and_sip_channel_info.patch uploaded by mostyn (license 398)
       (with some additional cleanup by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-15 15:22:39 +00:00
Tilghman Lesher
6e4ad86b78 Blocked revisions 122766 via svnmerge
........
r122766 | tilghman | 2008-06-13 17:52:20 -0500 (Fri, 13 Jun 2008) | 2 lines

Document the input for ast_realtime_require_field()

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 22:53:19 +00:00
Tilghman Lesher
ce015bd721 Blocked revisions 122716 via svnmerge
........
r122716 | tilghman | 2008-06-13 16:50:28 -0500 (Fri, 13 Jun 2008) | 2 lines

Properly detect the size of char/varchar fields

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 22:01:34 +00:00
Mark Michelson
8940e86621 Merged revisions 122714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122714 | mmichelson | 2008-06-13 16:45:21 -0500 (Fri, 13 Jun 2008) | 17 lines

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

........
r122713 | mmichelson | 2008-06-13 16:44:53 -0500 (Fri, 13 Jun 2008) | 9 lines

Short circuit the loop in autoservice_run if there are no channels to poll.
If we continued, then the result would be calling poll() with a NULL
pollfd array. While this is fine with POSIX's poll(2) system call, those
who use Asterisk's internal poll mechanism (Darwin systems) would have
a failed assertion occur when poll is called.

(related to issue #10342)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 21:47:53 +00:00
Tilghman Lesher
2a666f21b4 Merged revisions 122557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r122557 | tilghman | 2008-06-13 09:15:07 -0500 (Fri, 13 Jun 2008) | 7 lines

Convert one more delimiter to use comma.
(closes issue #12850)
 Reported by: bcnit
 Patches: 
       20080613__bug12850.diff.txt uploaded by Corydon76 (license 14)
 Tested by: bcnit

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 14:15:56 +00:00
Russell Bryant
33bb0de90b Blocked revisions 122526 via svnmerge
........
r122526 | russell | 2008-06-13 07:53:08 -0500 (Fri, 13 Jun 2008) | 3 lines

Do not allow res_timing_dahdi to be unloaded.  We can re-enable this once we
add automatic use count handling for timing modules.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 12:53:42 +00:00
Russell Bryant
684ca6bc77 Blocked revisions 122523 via svnmerge
........
r122523 | russell | 2008-06-13 07:45:50 -0500 (Fri, 13 Jun 2008) | 11 lines

Merge changes from timing branch

 - Convert chan_iax2 to use the timing API
 - Convert usage of timing in the core to use the timing API instead of
   using DAHDI directly
 - Make a change to the timing API to add the set_rate() function
 - change the timing core to use a rwlock
 - merge a timing implementation, res_timing_dahdi

Basic testing was successful using res_timing_dahdi

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 12:46:16 +00:00
Michiel van Baak
53e887f56b Blocked revisions 122493 via svnmerge
........
r122493 | mvanbaak | 2008-06-13 13:20:47 +0200 (Fri, 13 Jun 2008) | 9 lines

Implement call parking in chan_skinny.

(closes issue #11342)
Reported by: DEA
Patches:
      chan_skinny-park.txt uploaded by DEA (license 3)
      chan_skinny-park-v2.diff.txt uploaded by mvanbaak (license 7)
Tested by: DEA, mvanbaak

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 11:21:57 +00:00
Jeff Peeler
c902b29042 Merged revisions 122433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r122433 | jpeeler | 2008-06-12 18:08:37 -0500 (Thu, 12 Jun 2008) | 4 lines

(closes issue 0012193)
Reported by: davidw
Patch by: Corydon76, modified by me to work properly with ParkAndAnnounce app

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-13 00:18:02 +00:00
Mark Michelson
541cd0a771 Blocked revisions 122461 via svnmerge
........
r122461 | mmichelson | 2008-06-12 18:58:01 -0500 (Thu, 12 Jun 2008) | 5 lines

Fix a segfault by not trying to store a stack address for
long-term use. Instead use the heap. I can't believe this
never happened *once* in my developer branch when I was testing.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 23:58:26 +00:00
Mark Michelson
b38ba0d12d Blocked revisions 122399 via svnmerge
........
r122399 | mmichelson | 2008-06-12 16:23:02 -0500 (Thu, 12 Jun 2008) | 4 lines

Recommitting revision 122228, which was accidentally reverted
as a result of commit 122234.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 21:23:47 +00:00
Russell Bryant
63dd30cfb2 Blocked revisions 122371 via svnmerge
........
r122371 | russell | 2008-06-12 15:38:52 -0500 (Thu, 12 Jun 2008) | 2 lines

Complete the documentation for the timing API.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 20:39:14 +00:00
Mark Michelson
d8873c2856 Merged revisions 122312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122312 | mmichelson | 2008-06-12 13:53:17 -0500 (Thu, 12 Jun 2008) | 17 lines

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

........
r122311 | mmichelson | 2008-06-12 13:50:58 -0500 (Thu, 12 Jun 2008) | 9 lines

Properly play a holdtime message if the announce-holdtime option is
set to "once."

(closes issue #12842)
Reported by: ramonpeek
Patches:
      patch001.diff uploaded by ramonpeek (license 266)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 18:54:01 +00:00
Russell Bryant
c1bc5f317e Merged revisions 122262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122262 | russell | 2008-06-12 13:23:54 -0500 (Thu, 12 Jun 2008) | 11 lines

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

........
r122259 | russell | 2008-06-12 13:22:44 -0500 (Thu, 12 Jun 2008) | 3 lines

Fix some race conditions that cause ast_assert() to report that chan_iax2 tried
to remove an entry that wasn't in the scheduler

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 18:24:33 +00:00
Russell Bryant
f31433df6a Blocked revisions 122241 via svnmerge
........
r122241 | russell | 2008-06-12 12:38:27 -0500 (Thu, 12 Jun 2008) | 3 lines

Get default entity ID determination working on Linux again
(closes issue #12839)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 17:38:46 +00:00
Mark Michelson
192213cb84 Blocked revisions 122228 via svnmerge
........
r122228 | mmichelson | 2008-06-12 11:25:09 -0500 (Thu, 12 Jun 2008) | 12 lines

Merging the work done in the queue-log-atxfer branch. The
net result of this work is that attended transfers made
by queue members will now show up in the queue_log as a 
TRANSFER message instead of COMPLETECALLER as it had been.

As far as the details go, I created a datastore which is
attached to the calling channel just prior to when the caller
is bridged with the queue member. If the calling channel
is masqueraded, then during the "fixup" portion, the TRANSFER
will be logged and the datastore will be removed.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 16:28:14 +00:00
Tilghman Lesher
a435acefbe Merged revisions 122174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122174 | tilghman | 2008-06-12 10:26:07 -0500 (Thu, 12 Jun 2008) | 16 lines

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

........
r122137 | tilghman | 2008-06-12 10:18:39 -0500 (Thu, 12 Jun 2008) | 8 lines

Flipflop the sections for two options, since the section for 'X' (exit context)
may otherwise absorb keypresses meant for 's' (admin/user menu).
(closes issue #12836)
 Reported by: blitzrage
 Patches: 
       20080611__bug12836.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 15:27:34 +00:00