Commit Graph

536 Commits (c7b6c42ef563d3264afd850de73267d63726fdcc)

Author SHA1 Message Date
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