Commit Graph

677 Commits (9aa3d2dd7ff0953d87840e5d0873404caa95186f)

Author SHA1 Message Date
Joshua Colp 0f82a9bbf1 (closes issue #10650)
18 years ago
Russell Bryant c95389856a Remove the typedefs on ao2_container and ao2_iterator. This is simply because
18 years ago
Joshua Colp 63669c4496 (closes issue #10476)
18 years ago
Joshua Colp 7e7eef085c (closes issue #10610)
18 years ago
Mark Michelson e0b90d3b06 Making match_by_addr into ao2_match_by_addr and making it available
18 years ago
Steve Murphy 07f7547e84 via issue 10599, where 'CDR already initialized' messages are being generated. Since all channels will have an init'd CDR attached at creation time, this message is now particularly useless. Removed.
18 years ago
Joshua Colp d080d7bfc4 (closes issue #10603)
18 years ago
Russell Bryant 8399112981 If chan_h323 is not being built, don't use g++ to do the final link of Asterisk.
18 years ago
Joshua Colp 968be2def2 (closes issue #10562)
18 years ago
Russell Bryant 1959929a2a Improve the debouncing logic in the DTMF detector to fix some reliability
18 years ago
Steve Murphy d96548ab3c From a complaint by jmls, I realize that the message in cdr_disposition is unnecessary. To get failure disposition, just return -1; no use having more than one case do that.
18 years ago
Tilghman Lesher 02d6a884bb Make the deprecation warning inline with the code, instead of only in documentation (closes issue #10549)
18 years ago
Russell Bryant b2c65cf51d This is a hack to maintain old behavior of chan_iax2. This ensures that if
18 years ago
Russell Bryant 851b4e474c When converting this code to use the list macros, I changed it so objects are
18 years ago
Russell Bryant 566371bd50 Merge changes from team/russell/iax_refcount.
18 years ago
Joshua Colp d13b192018 (closes issue #10526)
18 years ago
Steve Murphy 4b5a9ae533 This patch solves problem 1 in 8126; it should not slow down the alaw codec, but should prevent signal degradation via multiple trips thru the codec. Fossil estimates the twice thru this codec will prevent fax from working. 4-6 times thru would result hearable, noticeable, voice degradation.
18 years ago
Jason Parker f1cb3f70b7 Don't send a semicolon over the wire in sip notify messages.
18 years ago
Joshua Colp 6dbbfcdc25 (closes issue #10440)
18 years ago
Steve Murphy 241769b53c From a user complaint on #asterisk, I have forced pbx_spool to explain what reason codes mean, when they are logged
18 years ago
Steve Murphy 0c21db3e79 Re bug behavior mentioned in #asterisk, made this tweak to code, to prevent hundreds of log messages from being generated
18 years ago
Steve Murphy 2544c0be73 This will help debug; from a question asked on #asterisk
18 years ago
Joshua Colp c3ba2c8fc6 Don't bother having the core pass through or emulate begin DTMF frames when in an ast_waitstream. It only cares about the end of DTMF.
18 years ago
Joshua Colp d76d2c5214 Add additional DTMF log messages to help when debugging issues.
18 years ago
Jason Parker e4f15628bb Fix an issue with using UpdateConfig (manager action) where escaped semicolons
18 years ago
Joshua Colp 88b982d7ff (closes issue #10355)
18 years ago
Mark Michelson 05ba4d90d4 Changed the behavior of sip's realtime_peer function to match the corresponding way of matching for non-realtime peers.
19 years ago
Russell Bryant 2f41cceb1f Add some improvements to lock debugging. These changes take effect
19 years ago
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
Russell Bryant ab5c3cd84e Merged revisions 60134 via svnmerge from
19 years ago
Russell Bryant 9634ee4bbf Merged revisions 59886 via svnmerge from
19 years ago
Russell Bryant 6408918920 Merged revisions 59608 via svnmerge from
19 years ago
Jason Parker 40252c62c9 Add linux-uclibc host arch..."thingy". Sorry, I don't know what it's called...
19 years ago
Steve Murphy 798039b4d8 several changes via kpflemings review
19 years ago
Steve Murphy 9c69e34f62 These mods fix CDR issues from 8221, 8593, 8680, 8743, and perhaps others. Mainly with CDRs generated from transfer situations.
19 years ago
Russell Bryant 6cdc236f09 Merged revisions 59357 via svnmerge from
19 years ago
Steve Murphy 85cdf6218e Fix for 9257; by eliminating the globals in main/config.c, we make it thread-safe, which is a minimum requirement.
19 years ago
Russell Bryant fa97f6c381 The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
19 years ago
Steve Murphy 19e8d3fdcb A fix for the flex input files, DONT_COMPILE, and STANDALONE_AEL
19 years ago
Joshua Colp 27911f2128 Add svg mimetype for pari.
19 years ago
Tilghman Lesher 007ee1324d Fix defines for inline stack backtraces (only used by developers anyway)
19 years ago
Russell Bryant 1b8da31130 Making these documentation changes in the 1.4 branch upset various people, so
19 years ago
Tilghman Lesher b6bd80b7f2 Refashion dump command to match common syntax and update the resulting appdocs TeX file
19 years ago
Tilghman Lesher 6278d5c65b Expand deprecation warnings from simply warning on use to the builtin documentation.
19 years ago
Russell Bryant c474809cdf Merge changes from svn/asterisk/team/russell/LaTeX_docs.
19 years ago
Joshua Colp dd1a0aa1dd Allow RFC2833 compensation to compensate for even stupider implementations by queueing up the end frame at the start, not the actual end. (issue #8963 reported by AndrewZ)
19 years ago
Joshua Colp 2b3c0dc1e4 Make early SDP seeding even smarter! We have to check codecs in the make_compatible function too. (issue #9221 reported by marcelbarbulescu)
19 years ago
Joshua Colp add0cad065 Merged revisions 58388 via svnmerge from
19 years ago
Kevin P. Fleming 690da7f074 this change was not needed; fclose() handles closing the file descriptor already
19 years ago
Kevin P. Fleming 8a2e3d0b8b fix two cases where HTTP session file descriptors would not be closed
19 years ago
Joshua Colp 240355d78b Ensure we have (or should have) at least one matching codec before attempting early bridge SDP seeding. (issue #9221 reported by marcelbarbulescu)
19 years ago