Commit Graph

568 Commits (ca6908125357b3c270f6f013b0999b8c46513ed7)

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