Commit Graph

599 Commits (645af85225ad0611e6130250819a3502fe3b2173)

Author SHA1 Message Date
Steve Murphy a181678820 Merged revisions 77942 via svnmerge from
19 years ago
Joshua Colp 97885fed58 (closes issue #10351)
19 years ago
Joshua Colp 68c221f69a Add some fixes for building on Solaris.
19 years ago
Joshua Colp 8e5dfb3cf9 Whoops, I meant R_5 not R5.
19 years ago
Joshua Colp bc7150c380 Extend autoconf logic to determine which version of gethostbyname_r is on the system.
19 years ago
Jim Dixon cd1614fcd8 Made VAST improvements in DTMF receiver in RADIO_RELAX mode (thanx Steve
19 years ago
Jason Parker 25017ad181 Applications like SayAlpha() should not hang up the channel if you
19 years ago
Russell Bryant 0a2331cf26 file and I both committed changes for issue #10301. Remove a duplicated
19 years ago
Russell Bryant e533cabf1c (closes issue #10301)
19 years ago
Joshua Colp 33abae518a (closes issue #10301)
19 years ago
Joshua Colp 8fa7c1e9b0 (closes issue #10302)
19 years ago
Mark Michelson dbfdbbf4cc Fixes to get ast_backtrace working properly. The AST_DEVMODE macro was never defined so the majority of ast_backtrace never
19 years ago
Tilghman Lesher bf9ffe0d09 Missed one
19 years ago
Tilghman Lesher e9a1a42967 Oops, that builtin define should be all-lowercase.
19 years ago
Mark Michelson ccb0f924af chan->emulate_dtmf_duration is an unsigned int, not a signed int, so use %u instead of %d in the format string
19 years ago
Luigi Rizzo 19ec0f8fe1 set the sequence number in a frame for all frame types
19 years ago
Tilghman Lesher c7336cd3ff Found another place where we should be using the umask (thanks jcmoore)
19 years ago
Jason Parker 24f0e6a947 Eliminate a compiler warning with gcc 4.2 by constifying a char *
19 years ago
Russell Bryant 7f9bf7e970 Use the define that specifies the default length of an artificially created
19 years ago
Russell Bryant c83a0b2a3c cast arguments to ast_log so that it builds without warnings for me
19 years ago
Joshua Colp 396e723f17 Ensure that the pointer to STUN data does not go to unaccessible memory. (ASA-2007-017)
19 years ago
Russell Bryant 0a1a04137e (closes issue #10209)
19 years ago
Kevin P. Fleming d0cb9b141d Merged revisions 75304 via svnmerge from
19 years ago
Joshua Colp 7152afccd5 Whoops... didn't want this to be returned to 0 each iteration.
19 years ago
Joshua Colp 26acd893d3 When waiting for a digit ensure that a begin frame was received with it, not just an end frame. (issue #10084 reported by rushowr)
19 years ago
Jason Parker 7e0ab0fa62 Don't use #if to check if something is defined - use #ifdef instead.
19 years ago
Jason Parker d4a7eb584f Merged revisions 74373 via svnmerge from
19 years ago
Joshua Colp 49584ec434 Merged revisions 74264 via svnmerge from
19 years ago
Tilghman Lesher befa215f7b Doxygen formatting fixes; fixes errors while 'make progdocs'. (Closes issue #10104)
19 years ago
Joshua Colp a979d44c9c Give Agent channel names priority when doing CDR merging. (issue #10011 reported by krtorio)
19 years ago
Joshua Colp 0e80607e17 Merged revisions 73349 via svnmerge from
19 years ago
Steve Murphy ad36e954a7 Removing expr floating patch from 1.4; too much of a behavior change. If you want this fix, try trunk instead. bug 9508.
19 years ago
Steve Murphy adc13be87b support for floating point numbers added to ast_expr2 $\[...\] exprs. Fixes bug 9508, where the expr code fails with fp numbers. The MATH function returns fp numbers by default, so this fix is considered necessary.
19 years ago
Russell Bryant 76164559c9 Remove a bogus comment and add proper locking to the handler function for the
19 years ago
Joshua Colp a3716070d1 Added additional DTMF debug messages for when emulation occurs.
19 years ago
Luigi Rizzo f870ccffff Use !defined(HAVE_GETHOSTBYNAME_R) to check for absence
19 years ago
Joshua Colp fe753c0846 Minor change for older GCC versions.
19 years ago
Tilghman Lesher 6ffbaa32f3 Issue 10055 - Change memory allocation to use the heap for a command, since the output has the potential to overflow the stack (as it did here)
19 years ago
Luigi Rizzo 475e73e27d Add -Wdeclaration-after-statement to AST_DEVMODE flags to catch
19 years ago
Brett Bryant 7c5fef5e74 Merged revisions 72373 via svnmerge from
19 years ago
Brett Bryant a241f406da Merged revisions 72333 via svnmerge from
19 years ago
Brett Bryant b2cc514f08 Merged revisions 72259 via svnmerge from
19 years ago
Joshua Colp a61fb24363 Merged revisions 72256 via svnmerge from
19 years ago
Joshua Colp 60990f0c73 Make the ast_read_noaudio API call behave better under circumstances where DTMF emulation was happening and a generator was setup. (issue #10065 reported by stevefeinstein)
19 years ago
Russell Bryant d528f7791d Only output debug information related to RTCP timestamps when RTCP debug
19 years ago
Jason Parker 8a7cb1ec48 Don't dereference a pointer that may be NULL here.
19 years ago
Joshua Colp 879bad257f Fix it so 1.4 actually compiles on my box.
19 years ago
Russell Bryant b52d259c91 Merged revisions 71358 via svnmerge from
19 years ago
Tilghman Lesher 2e702c85eb Merged revisions 71288 via svnmerge from
19 years ago
Steve Murphy 6f6ffbb5c5 This patch is meant to fix 8433; where clid and src are lost via bridging.
19 years ago
Jason Parker e107da04b4 Merged revisions 71065 via svnmerge from
19 years ago
Brett Bryant a835f994ec Merged revisions 71064 via svnmerge from
19 years ago
Steve Murphy 533dbc02ff My conditions for merging amaflags info was naive; DOCUMENTATION is the default, although null is possible; theft of user-settable fields is not good. Just copy them, leave them alone.
19 years ago
Steve Murphy b13f79ad5b Merged revisions 70948 via svnmerge from
19 years ago
Joshua Colp 164b3bca49 Do not Packet2Packet bridge if packetization settings do not allow it. (issue #9117 reported by phsultan)
19 years ago
Steve Murphy e7c040283e Via complaints aired in asterisk-users, I submit these changes, which allow cdr updates to see macro context/exten, whether hung up or not
19 years ago
Joshua Colp 00a80bcb7d Put the speex packetization values back in but disable it when setting up the smoother.
19 years ago
Joshua Colp 9c76e929c9 Don't do packetization/smoother stuff with speex, it doesn't work.
19 years ago
Steve Murphy c05bb13de9 Merged revisions 70053 via svnmerge from
19 years ago
Joshua Colp 8b71bbd6ed Merged revisions 69992 via svnmerge from
19 years ago
Joshua Colp b6bd3b483e Merged revisions 69986 via svnmerge from
19 years ago
Joshua Colp c77b8b9467 Fix for building on PowerPC under Linux.
19 years ago
Joshua Colp 2cce26c0ce Remember the DNS lookup done when dnsmgr is called for the first time so that it does not needlessly spit out changed messages when the host really didn't change.
19 years ago
Jason Parker dbfc0c7daa Merged revisions 69469 via svnmerge from
19 years ago
Kevin P. Fleming ae82d97c6d use ast_localtime() in every place localtime_r() was being used
19 years ago
Russell Bryant 45ad7fcec8 Fix some problems with saying dates and times for the "tw" langauge
19 years ago
Joshua Colp 8e544d1422 Merged revisions 69127 via svnmerge from
19 years ago
Russell Bryant 3fb6ac7fb7 In ast_channel_make_compatible(), just return if the channels' read and write
19 years ago
Joshua Colp 8c01036a9f Merged revisions 68921 via svnmerge from
19 years ago
Joshua Colp 080acbfd16 Merged revisions 68682 via svnmerge from
19 years ago
Joshua Colp 058f617af9 Merged revisions 68397 via svnmerge from
19 years ago
Joshua Colp 14bde42bb6 Merged revisions 68368 via svnmerge from
19 years ago
Russell Bryant 08a7d6a06b Merged revisions 68351 via svnmerge from
19 years ago
Russell Bryant 452167fa3c Include stdarg.h for build issues on Solaris
19 years ago
Joshua Colp ac65d7f143 Fix logic when doing a name based channel search for a structure when you want to start from a specific point in the channel list. (issue #9324 reported by slavon)
19 years ago
Joshua Colp 928e69408e Properly handle cases where a stream can't be written to. (issue #9757 reported by junky)
19 years ago
Russell Bryant e7dd69eea8 Merged revisions 67715 via svnmerge from
19 years ago
Joshua Colp 1f6872a45e Merged revisions 67649 via svnmerge from
19 years ago
Joshua Colp 7fb76769a8 Fix plc_samples warning when registering a translator. (issue #9897 reported by xylome)
19 years ago
Joshua Colp 26268d3a9a Merged revisions 67593 via svnmerge from
19 years ago
Russell Bryant 9dd7be2f58 Handle a failure in malloc() in ast_safe_string_alloc()
19 years ago
Russell Bryant 6d6cd29a87 Fix a problem that showed itself by causing Zap channel names to be completely
19 years ago
Russell Bryant d5fd0cff73 When shutting down "gracefully", go through and run the unload() callbacks for
19 years ago
Steve Murphy 7609f70e20 This typo has been here since 1.4 forked. It has been the source of heartburn to many a dialplan/CDR programmer.
19 years ago
Russell Bryant 9074935852 Add a missing \n. (pointed out by jcmoore on IRC)
19 years ago
Joshua Colp 13afc81f91 Handle cases where a frame may have no data. (issue #9519 reported by dmb)
19 years ago
Tilghman Lesher 8f6ec33fef Merged revisions 66127 via svnmerge from
19 years ago
Russell Bryant a4c142d73d if the string field init fails, clean up the stuff that was allocated already
19 years ago
Joshua Colp dec3b2e618 Fix slinfactory logic when dealing with frames coming in that may already be in the signed linear format.
19 years ago
Russell Bryant 11d6381ec0 Check the result of ast_string_field_init() in ast_channel_alloc()
19 years ago
Russell Bryant a2a73cde51 Make 1.4 build on my machine, too..
19 years ago
Kevin P. Fleming 521b241738 don't use uninitialized variables
19 years ago
Joshua Colp 533144b170 Add the ability to blacklist certain commands from being executed using the Command AMI action. (issue #9240 reported by junky)
19 years ago
Jason Parker b4ea07a7eb Fix handling of zero-length frames when a codec is capable of native PLC.
19 years ago
Joshua Colp 9f88eccda6 I like it when the RTP stack compiles myself...
19 years ago
Russell Bryant f32662deb4 Fix the calculation of the RTT for RTCP. The previous code would result in
19 years ago
Steve Murphy 2419b6cfb8 Ugh. The svnmerge didn't catch the shift from cdr.c to main/cdr.c, and neither did I. This is the remainder of the 9717 patch, the fix for the run-away FAIL status for a call
19 years ago
Joshua Colp 656739534c Merged revisions 64275 via svnmerge from
19 years ago
Joshua Colp aff63fba76 Fix scenario where if a phone that simply called Echo() put itself on hold it could never get off hold.
19 years ago
Steve Murphy 8c635fb2c1 As per 9570, worrisome CDR warnings have been removed, that are either not helpful, or not relevant.
19 years ago
Olle Johansson 7583e21359 Add hangupcause when we lack codecs for transcoding
19 years ago
Jason Parker e0cac0c477 Hide manager password from "manager show user foo".
19 years ago
Russell Bryant 7d478ee342 When MD5 authentication is not possible because there is no challenge present,
19 years ago
Russell Bryant 2465ea2cfa Strip terminal escape sequences from CLI command output that is going to be
19 years ago
Doug Bailey a75d0f5329 Add test for negative offsets in cid data to prevent infinite loops.
19 years ago
Joshua Colp 7deba0a857 Use the DTMF frame on the channel when returning a DTMF frame from AST_FRAME_NULL or AST_FRAME_VOICE.
19 years ago
Russell Bryant da55121999 Modify ast_senddigit_begin() to use the same assumptions used elsewhere in the
19 years ago
Russell Bryant e9fab07122 Only call ast_senddigit_begin() in ast_senddigit() if the channel has a
19 years ago
Joshua Colp 99cdfb2542 Merged revisions 63285 via svnmerge from
19 years ago
Olle Johansson 53929c4f01 Don't remove configuration from memory just because one section failed.
19 years ago
Olle Johansson d48415f678 Stop the video stream when you stop playback of all streams for a call
19 years ago
Kevin P. Fleming 9c638b6507 improve loader a bit, by avoiding trying to initialize embedded modules twice and avoiding trying to load modules from disk when they have been loaded already during the 'preload' pass (reported by blitzrage on IRC, patch by me)
19 years ago
Russell Bryant 796acdbbdb Fix YADB (Yet Another DTMF Bug) ((C) Russell Bryant, 2007, TM, Patent Pending).
19 years ago
Russell Bryant ff3e3ba129 Merge changes from team/russell/inband_dtmf ...
19 years ago
Russell Bryant ae7a38d87b Backport the change that only went in to trunk that fixes the command manager
19 years ago
Steve Murphy d2c7601c21 Merged revisions 62737 via svnmerge from
19 years ago
Steve Murphy 55f4eb3e3d a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
19 years ago
Russell Bryant 63a37f4755 When serving dynamic content, include a Cache-Control header to instruct the
19 years ago
Joshua Colp 5c35c59bb4 Merged revisions 62368 via svnmerge from
19 years ago
Russell Bryant a53ebcf546 If no variables were passed into pbx_substitute_variables_helper_full(), then
19 years ago
Olle Johansson b0121ca8a3 Issue #9608 - fix some annoying DEBUG messages not controlled by option_debug (DEA). Thanks!
19 years ago
Joshua Colp 230dc4ad88 Missed an ast_app_group_discard during merge. Thanks blitzrage!
19 years ago
Joshua Colp 19a9e28b09 Merged revisions 61958 via svnmerge from
19 years ago
Joshua Colp 1d4adc0174 Merged revisions 61804 via svnmerge from
19 years ago
Russell Bryant 5bee74171d Merged revisions 61786 via svnmerge from
19 years ago
Russell Bryant 456cad8a47 Improve DTMF handling in ast_read() even more in response to a discussion on
19 years ago
Russell Bryant bdd29c22c2 Add a few more state changes in handle_frame_ownerless() so that the SLA code
19 years ago
Russell Bryant 215adb35b6 Some dialplan functions, such as CUT(), expect to operate on variables on a
19 years ago
Russell Bryant baab073219 Ensure that digits passing through Asterisk have a reasonable minimum length.
19 years ago
Jason Parker 9378347264 Avoid invalid seqno cycling detection.
19 years ago
Jason Parker bb59c9520b Merged revisions 61704 via svnmerge from
19 years ago
Russell Bryant 477ff09bdf Remove a stray debug message introduced by a recent commit.
19 years ago
Russell Bryant 70eb19121e Fix the UpdateConfig manager action to properly treat "variables" and "objects"
19 years ago
Tilghman Lesher 6db075dd98 Bug 9557 - simple reason why reading a function always returned NULL
19 years ago
Olle Johansson 521e1698e1 Clean upp formatting, add some doxygen stuff while we're in cleaning mode... Thanks Kevin!
19 years ago
Olle Johansson 0ef4dad39c Issue #9554 - Improve RTCP (Dave Troy)
19 years ago
Steve Murphy b74884a9cd This is a fix to the way CDR merge handles the data that results from ForkCDR.
19 years ago
Russell Bryant 63ef5e53b0 Add "svgz" to the mimetypes table. (issue #9510, bkruse)
19 years ago
Russell Bryant 706e448e28 File upload support was added to solve some needs for the Asterisk GUI.
19 years ago
Steve Murphy 18ad368048 Finished up a previous fix to overcome a compiler warning; the app NoCDR() has been updated to mark the channel CDR as POST_DISABLED instead of destroying the CDR; this way its flags are propagated thru a bridge and the CDR is actually dropped. The cases where only one channel in a bridge has a CDR was cleaned up.
19 years ago
Kevin P. Fleming bf4969f66e fix up some warnings found using --enable-dev-mode
19 years ago
Kevin P. Fleming 7d50ba6b85 remove some more stuff we don't need
19 years ago
Russell Bryant de8c29f5cb Remove another directory that should no longer be there
19 years ago
Russell Bryant 96c472353a Remove various files that I thought I already removed.
19 years ago
Steve Murphy 7d5a79a0b9 This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
19 years ago
Tilghman Lesher a5872f439b Merged revisions 60849 via svnmerge from
19 years ago
Tilghman Lesher 86fc0a3c03 Fix --enable-dev-mode
19 years ago
Tilghman Lesher f32fa7f2ee Merged revisions 60660 via svnmerge from
19 years ago
Russell Bryant 06ff84b549 To be able to achieve the things that we would like to achieve with the
19 years ago
Russell Bryant 01b09027f7 Add the MIME type for gif by request from Pari
19 years ago