Commit Graph

809 Commits (2fc71fe5635300526b0ad9bbcbc60da2b102d6a1)

Author SHA1 Message Date
Tilghman Lesher 2fc71fe563 If the socket dies (read returns 0=EOF), return immediately.
18 years ago
Mark Michelson f1696e2133 If a thread holds no locks, do not print any information on the thread when issuing
18 years ago
Russell Bryant 4a1081e590 Don't use a channel before checking for channel allocation failure.
18 years ago
Tilghman Lesher 273afe2080 Don't print the terminating NUL. (Closes issue #12589)
18 years ago
Tilghman Lesher 869b7b2b4d Separate verbose output from CLI output, by using a preamble.
18 years ago
Tilghman Lesher dceb0835da '#' is another reserved character for URIs that also needs to be escaped.
18 years ago
Russell Bryant 2f6cbc76ec Improve some broken cookie parsing code. Previously, manager login over HTTP
18 years ago
Russell Bryant 74694c686d Fix an issue that caused getting the correct next channel to not always work.
18 years ago
Russell Bryant f8848a7fe8 Store the manager session ID explicitly as 4 byte ID instead of a ulong. The
18 years ago
Joshua Colp d4ebf1dff1 Instead of stopping dialplan execution when SayNumber attempts to say a large number that it can not print out a message informing the user and continue on.
18 years ago
Russell Bryant b3a211bdc3 I thought I was going to be able to leave 1.4 alone, but that was not the case.
18 years ago
Russell Bryant c8c2c33550 Don't destroy a manager session if poll() returns an error of EAGAIN.
18 years ago
Mark Michelson f32e7af11a Clearing up error messages so they make a bit more sense. Also removing a redundant error
18 years ago
Russell Bryant 46c685af6c Remove redundant safety net. The check for the autoservice channel list state
18 years ago
Mark Michelson 171a6a24bb Add prototype for ast_dsp_frame_freed. I'm not sure how this was
18 years ago
Mark Michelson 71b704ef78 It was possible for a reference to a frame which was part of a freed DSP to still be
18 years ago
Mark Michelson 524efc5cd5 Increase the retry count when attempting to show channels. This apparently
18 years ago
Mark Michelson f689fffa71 Save a local copy of the generate callback prior to unlocking the channel in
18 years ago
Joshua Colp 19b8841503 Don't change the SSRC when a new source comes into play, this might happen quite often and depending on the remote side... they might not like this.
18 years ago
Jason Parker 6007dc7814 It's possible that a channel can have an async goto on the successful execution of an application as well.
18 years ago
Mark Michelson 1a9b7dc5c5 Fix 1.4 build when LOW_MEMORY is enabled.
18 years ago
Jason Parker 6d08d42e0e Only try to prefix language if we are not using an absolute path (suffix it otherwise).
18 years ago
Jason Parker 6ba9909eda Work around some silliness caused by sys/capability.h - this should fix compile errors a number of users have been experiencing.
18 years ago
Joshua Colp 8c03119ce5 If audio suddenly gets fed into one side of a channel after a lapse of frames flush the other factory so that old audio does not remain in the factory causing the sync code to not execute.
18 years ago
Mark Michelson 7892ddd9f5 This fix prevents a deadlock that was experienced in chan_local. There was
18 years ago
Joshua Colp 2cfae0a8f3 Pass in the path to Zaptel for systems that install Zaptel headers in a separate location.
18 years ago
Joshua Colp 27da06a930 One thing at a time... let's get 1.4 building.
18 years ago
Dwayne M. Hubbard 0f7c06dc26 add a Zaptel timer check to verify the timer is responding when Zaptel support is compiled into Asterisk and Zaptel drivers are loaded. This will help people not waste their valuable time debugging side effects.
18 years ago
Mark Michelson b4cf033072 Fix a race condition in the manager. It is possible that a new manager event
18 years ago
Joshua Colp 65767b4290 Disable Packet2Packet bridging when we need to feed DTMF frames into the core. Some implementations do not like how we switch between things.
18 years ago
Mark Michelson f4c389df5c Initialize the __res_state structure used for dns purposes
18 years ago
Joshua Colp 214973a574 Ensure that we do not exceed the hold's maximum size with a single frame.
18 years ago
Tilghman Lesher cb67f98a5a For FreeBSD, at least, the ifa_addr element could be NULL.
18 years ago
Steve Murphy 8a02ac6f79 These small documentation updates made in response to a query in
18 years ago
Jason Parker 7fbcd155c1 Put this flag back so we don't change the API.
18 years ago
Jason Parker 22078d33d4 Remove excessive smoother optimization that was causing audio glitches (small "pops")
18 years ago
Joshua Colp be84adc952 Add an option (transmit_silence) which transmits silence during both Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases.
18 years ago
Russell Bryant 478de3ebb9 Shorten the ast_waitfor() timeout from 500 ms to 50 ms in the autoservice thread.
18 years ago
Joshua Colp 996d3a1c2e Make sure that the mark bit does not incorrectly cause video frame timestamps to be calculated as if they are audio frames.
18 years ago
Steve Murphy 88b0da7c6c (closes issue #11442)
18 years ago
Russell Bryant 1dae97f2aa Tweak spacing in a recent change because I'm very picky.
18 years ago
Joshua Colp 5fda7910c6 Put a maximum limit on the number of payloads accepted, and also make sure a given payload does not exceed our maximum value.
18 years ago
Mark Michelson 29a32cf040 Fix a logic flaw in the code that stores lock info which is displayed
18 years ago
Jason Parker 4501c61d73 Backport revision 106439 from trunk. I didn't realize this was broken in 1.4 as well.
18 years ago
Michiel van Baak c16da7c25b add missing break to case AST_CONTROL_SRCUPDATE
18 years ago
Russell Bryant efa3b46cdf Fix another issue that was causing crashes in chanspy. This introduces a new
18 years ago
Russell Bryant a169524ff6 (closes issue #12187, reported by atis, fixed by me after some brainstorming
18 years ago
Joshua Colp 4a8d87fe98 Add a trigger mode that triggers on both read and write. The actual function that returns the combined audio frame though will wait until both sides have fed in audio, or until one side stops (such as the case when you call Wait).
18 years ago
Russell Bryant 2016f5ba10 Destroy the channel lock after the channel datastores.
18 years ago
Kevin P. Fleming 9f2d2cea4b check for compiler support for -fno-strict-overflow before using it (tested with Debian's gcc 4.3, 4.1 and 3.4)
18 years ago