Commit Graph

532 Commits

Author SHA1 Message Date
Russell Bryant 0e2c86820b Use spaces instead of tabs in the help text for a CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54149 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 06:10:11 +00:00
Russell Bryant df48a3b1be Simplify WELCOME_MESSAGE to be a single function call instead of one for each
line.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 06:02:57 +00:00
Russell Bryant 4300a7a6cd - Constify the format string passed to ast_cli()
- Simplify printing out the warranty and license


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 05:57:52 +00:00
Russell Bryant 8f8df3e5a9 Merged revisions 54103 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54103 | russell | 2007-02-12 13:17:08 -0600 (Mon, 12 Feb 2007) | 2 lines

Change ast_set_state_callback() to ast_dial_set_state_callback()

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 19:18:33 +00:00
Russell Bryant 2a5477b35e Merged revisions 54066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54066 | russell | 2007-02-12 11:58:43 -0600 (Mon, 12 Feb 2007) | 4 lines

- Add the ability to register a callback to monitor state changes in an
  asynchronous dial operation.
- Rename the various references to "status" to "state" in the dial API

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 18:01:15 +00:00
Russell Bryant 10c4a5fef7 Simplify a small bit of logic.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 15:40:23 +00:00
Olle Johansson 4ca354f3f8 Fix debug handling in acl.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53914 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-11 19:15:55 +00:00
Paul Cadach 85ad583544 Merged revisions 53879 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53879 | pcadach | 2007-02-10 01:07:11 -0800 (Сбт, 10 Фев 2007) | 1 line

Provide correct DTMF duration
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:21:22 +00:00
Russell Bryant 5715b49c30 Merged revisions 53810 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines

Merge team/russell/sla_rewrite

This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4.  It is now functional and ready for testing.  However, I will be
adding some additional features over the next week, as well.

For information on how to set this up, see configs/sla.conf.sample 
and doc/sla.txt.

In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:

chan_sip:
 - Add the ability to indicate HOLD state in NOTIFY messages.
 - Queue HOLD and UNHOLD control frames even if the channel is not bridged to
   another channel.

linkedlists.h:
 - Add support for rwlock based linked lists.

dial.c:
 - Add the ability to run ast_dial_start() without a reference channel to
   inherit information from.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:40:57 +00:00
Joshua Colp cd1973e4bc It is with pleasure that I announce the return of rawman support through the HTTP server. (issue #9013 reported by Jynger)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 20:39:41 +00:00
Tilghman Lesher 588fcc7be7 Merged revisions 53532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53532 | tilghman | 2007-02-08 07:47:54 -0600 (Thu, 08 Feb 2007) | 2 lines

Issue 9007 - Mutex not released on early return

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 13:50:33 +00:00
Russell Bryant 4284fb1f4a Merged revisions 53497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53497 | russell | 2007-02-07 17:52:45 -0600 (Wed, 07 Feb 2007) | 6 lines

When building libdb1.a, put the additional flags needed at the beginning of
ASTCFLAGS, instead of at the end.  This way, we ensure that we find the local
headers first before accidentally trying to use headers that exist in
locations specified in the ASTCFLAGS passed from the main Makefile.
(issue #8637, ovi)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 23:56:46 +00:00
Russell Bryant ef5aba253e Merged revisions 53464 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53464 | russell | 2007-02-07 14:07:39 -0600 (Wed, 07 Feb 2007) | 4 lines

The clean target actually needs to run "distclean" on editline.  This is
because we need to make sure that its configure script gets executed again,
because the CFLAGS we want to pass to editline may have changed.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 20:09:58 +00:00
Joshua Colp 8f6d9918a7 Merged revisions 53434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53434 | file | 2007-02-07 12:53:03 -0500 (Wed, 07 Feb 2007) | 2 lines

We can not reliably do P2P bridging with DTMF passing back with compensation if we need to listen for DTMF frames. (issue #8962 reported by caio1982)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:57:37 +00:00
Russell Bryant dfb5ef7f55 Merged revisions 53429 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53429 | russell | 2007-02-07 11:39:31 -0600 (Wed, 07 Feb 2007) | 7 lines

When parsing the NTP timestamp in a sender report message, you are supposed to
take the low 16 bits of the integer part, and the high 16 bits of the
fractional part.  However, the code here was erroneously taking the low 16 bits
of the fractional part.  It then shifted the result 16 bits down, so the result
was always zero.  This fix makes it grab the appropriate high 16 bits, instead.
(issue #8991, pointed out by andre_abrantes)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:46:42 +00:00
Tilghman Lesher 5f3b3d2358 Merged revisions 53246 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53246 | tilghman | 2007-02-06 01:00:52 -0600 (Tue, 06 Feb 2007) | 10 lines

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

........
r53245 | tilghman | 2007-02-06 00:58:28 -0600 (Tue, 06 Feb 2007) | 2 lines

Issue 8987 - Status could return two responses (mnicholson)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-06 07:07:22 +00:00
Olle Johansson f303a4db46 Doxygen formatting changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 21:55:01 +00:00
Joshua Colp 2cc011e005 Merged revisions 53120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53120 | file | 2007-02-02 11:15:22 -0600 (Fri, 02 Feb 2007) | 2 lines

Correct a copy/pasted error message line for RTCP.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 17:16:05 +00:00
Joshua Colp 3388474e15 Merged revisions 53118 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53118 | file | 2007-02-02 10:59:53 -0600 (Fri, 02 Feb 2007) | 10 lines

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

........
r53117 | file | 2007-02-02 10:58:09 -0600 (Fri, 02 Feb 2007) | 2 lines

Pass the glob expanded filename to process_text_line so that error messages contain the actual filename, not the original include one. (issue #8959 reported by tzafrir)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 17:01:04 +00:00
Joshua Colp 880e319b7a Clean up ast_device_state. It's pretty now!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 00:58:09 +00:00
Joshua Colp 8a889843ba Switch the devicestate thread to operate the same way as the logging thread. Pops all entries off the list to be processed, resets the list back to a clean state, and processes each entry. The thread won't have to acquire the list lock again until it checks to see if there are more to process.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 00:49:14 +00:00
Joshua Colp ae64c71d65 Read/write lockify the devicestate stuff a bit.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-02 00:39:01 +00:00
Joshua Colp 721c7b3372 Merged revisions 53072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53072 | file | 2007-02-01 13:33:33 -0600 (Thu, 01 Feb 2007) | 2 lines

Add missing 'F' letter to getopt so it magically becomes a valid option. (issue #8960 reported by tzafrir)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 19:34:54 +00:00
Tilghman Lesher e5304e54cc Merged revisions 53070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53070 | tilghman | 2007-02-01 13:21:20 -0600 (Thu, 01 Feb 2007) | 10 lines

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

........
r53069 | tilghman | 2007-02-01 13:13:53 -0600 (Thu, 01 Feb 2007) | 2 lines

No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 19:27:22 +00:00
Joshua Colp 431c93b025 Make trunk compile under dev mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 17:41:02 +00:00
Joshua Colp 493126cf0c Merged revisions 53052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53052 | file | 2007-01-31 18:24:20 -0600 (Wed, 31 Jan 2007) | 2 lines

When going on hold have the side that was put on hold reinvite back to Asterisk. When going off hold have the side that was taken off hold reinvited back to the other party.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 00:24:50 +00:00
Joshua Colp fa66a0bf03 Merged revisions 53050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53050 | file | 2007-01-31 18:19:48 -0600 (Wed, 31 Jan 2007) | 2 lines

Add more frame types to forward in the RTP bridge loops.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 00:23:19 +00:00
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines

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

........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines

Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:35:15 +00:00
Russell Bryant 7ca426c5b4 Merged revisions 53040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53040 | russell | 2007-01-31 11:45:05 -0600 (Wed, 31 Jan 2007) | 11 lines

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

........
r53039 | russell | 2007-01-31 11:41:51 -0600 (Wed, 31 Jan 2007) | 3 lines

Use the proper format string to print unsigned values in the rtp debug output.
(issue #8954, wmis)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:45:43 +00:00
Russell Bryant 83e2ed50e6 Merged revisions 52904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52904 | russell | 2007-01-30 11:19:39 -0600 (Tue, 30 Jan 2007) | 17 lines

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

........
r52903 | russell | 2007-01-30 11:12:04 -0600 (Tue, 30 Jan 2007) | 9 lines

The SIGHUP handler was implemented to allow admins to send SIGHUP to a running
Asterisk process to reload the configuration.  However, doing the actual reload
in the signal handler itself is a very bad thing to do, because the reload
process includes calling non-reentrant functions such as malloc/calloc/etc.
If Asterisk is running in the background, then the reload will happen
immediately.  However, if running in console mode, the reload doesn't work
until something is typed at the console.  That sort of defeats the purpose,
but I don't see an easy way to get around it at this point.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 17:23:56 +00:00
Russell Bryant f351f4278a Merged revisions 52695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52695 | russell | 2007-01-29 16:58:09 -0600 (Mon, 29 Jan 2007) | 2 lines

Add a missing quotation mark.  This was pointed out by jcmoore on #asterisk-dev.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 22:58:35 +00:00
Russell Bryant 9e1370e6c6 Merged revisions 52688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52688 | russell | 2007-01-29 16:55:41 -0600 (Mon, 29 Jan 2007) | 3 lines

Remove a recursive lock of the manager session.  This was pointed out by 
zandbelt in issue #8711.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 22:57:16 +00:00
Russell Bryant 5dfed82cb9 Merged revisions 52647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52647 | russell | 2007-01-29 15:36:56 -0600 (Mon, 29 Jan 2007) | 3 lines

ASTLDFLAGS needs to be passed to the editline configure script as LDFLAGS.
(issue #8928, zandbelt)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:37:31 +00:00
Russell Bryant 2d0e8864aa Merged revisions 52645 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52645 | russell | 2007-01-29 15:26:27 -0600 (Mon, 29 Jan 2007) | 6 lines

Fix a problem with packet-to-packet bridging and DTMF mode translation.  P2P
bridging can only be used when the DTMF modes don't match if the core is
monitoring DTMF in both directions.  Then, the core will handle the translation.
Otherwise, this bridging method can not be used.
(issue #8936)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:27:34 +00:00
Joshua Colp a1d764c00a Only use locking for bridge information if intense P2P bridging is enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 21:03:07 +00:00
Russell Bryant 9540b7fcea The changes for trunk are less extensive, but include
- changing the actionlock to a rwlock
 - not locking the session before doing the action callback
The crash issue in 8711 should not be an issue here.


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

........
r52611 | russell | 2007-01-29 14:39:20 -0600 (Mon, 29 Jan 2007) | 10 lines

The session lock can not be held while calling action callbacks.  If so, then
when the WaitEvent callback gets called, then no event can happen because the
session can't be locked by another thread.  Also, the session needs to be
locked in the HTTP callback when it reads out the output string.  This fixes
the deadlock reported in both 8711 and 8934.
Regarding issue 8711, there still may be an issue.  If there is a second action
requested before the processing of the first action is finished, there could
still be some corruption of the output string buffer used to build the result.
(issue #8711, #8934)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 20:51:24 +00:00
Joshua Colp b1b339e612 Add core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:49:04 +00:00
Russell Bryant 1f7fb2b0a6 Merged revisions 52494,52506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52494 | jdixon | 2007-01-28 22:18:36 -0600 (Sun, 28 Jan 2007) | 4 lines

Fixed problem with jitterbuf, whereas it would not complain about, and
would allow itself to be overfilled (per the max_jitterbuf parameter). Now
it rejects any data over and above that size, and complains about it.

........
r52506 | russell | 2007-01-29 10:54:27 -0600 (Mon, 29 Jan 2007) | 5 lines

Clean up a few things in the last commit to the adaptive jitterbuffer code.
 - Specifically indicate to the compiler that the "dropem" variable only
   needs one but.
 - Change formatting to conform to coding guidelines.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:03:31 +00:00
Joshua Colp 2d3301a1ed Merged revisions 52335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52335 | file | 2007-01-26 18:46:47 -0500 (Fri, 26 Jan 2007) | 2 lines

Fix core show file formats CLI command.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-26 23:49:29 +00:00
Joshua Colp 820d80f5a7 Convert some more stuff to read/write lists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-26 22:55:06 +00:00
Joshua Colp e6f894b27a Add DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 22:49:24 +00:00
Joshua Colp 7b561b95bd Merged revisions 52265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52265 | file | 2007-01-25 14:18:33 -0500 (Thu, 25 Jan 2007) | 10 lines

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

........
r52264 | file | 2007-01-25 14:15:29 -0500 (Thu, 25 Jan 2007) | 2 lines

Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 19:20:51 +00:00
Joshua Colp 9826fc599b Merged revisions 52049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52049 | file | 2007-01-24 13:20:05 -0500 (Wed, 24 Jan 2007) | 2 lines

Merge in dialing API and the app_page that uses it. (issue #BE-118)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 18:23:07 +00:00
Olle Johansson a9849288de Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 09:31:26 +00:00
Olle Johansson ec67ab7602 Adding some doxygen for udptl.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 08:56:22 +00:00
Russell Bryant dab41a355d Merged revisions 51848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51848 | russell | 2007-01-23 18:59:58 -0600 (Tue, 23 Jan 2007) | 14 lines

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

........
r51843 | russell | 2007-01-23 18:57:28 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix an issue related to synchronization of recordings when using Monitor().
The bug is a miscalculation of the amount to seek the stream for writing to
disk when the number of samples coming in and out of a channel do not match up.
(issue #8298, #8887, report and patch by guillecabeza, patch files created and
 testing done by whoiswes)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 01:00:57 +00:00
Joshua Colp 68c1f5338f Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:22:50 +00:00
Russell Bryant ac884e0c3a Merged revisions 51781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51781 | russell | 2007-01-23 16:04:01 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix some bugs in process_message().  The manager session lock needs to be held
when sending some sort of response, or calling one of the manager action
callbacks.  This resolves an issue where people using the GUI would get random
crashes when they start clicking around a lot.
(issue #8711, reported and debugged by zandbelt)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:09:23 +00:00
Russell Bryant 8137080816 Merged revisions 51750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51750 | russell | 2007-01-23 15:33:15 -0600 (Tue, 23 Jan 2007) | 4 lines

When traversing the list of manager actions, the iterator needs to be
initialized to the list head *after* locking the list.  Also, lock the actions
list in one place it is being accessed where it was not being done.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 21:38:31 +00:00
Steve Murphy 4182cd1184 Merged revisions 51683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51683 | murf | 2007-01-23 11:58:27 -0700 (Tue, 23 Jan 2007) | 1 line

via 8748 (callerid.c loses name when returning PRIVATE_NUMBER flag), the user suggested this mod, saying it would allow 'WITHHELD' to appear in the name field, which would be useful
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 19:11:53 +00:00