Commit Graph

242 Commits (ca38e818928a0d8d81efe2cd7649280e734df23e)

Author SHA1 Message Date
Russell Bryant 3c6cf5dcc5 Add some fixes that I made in regards to wideband codec handling to get
18 years ago
Russell Bryant 835df7d30f Merged revisions 108583 via svnmerge from
18 years ago
Russell Bryant b38cb44acd Merged revisions 108135 via svnmerge from
18 years ago
Russell Bryant f7e28b12fe Merged revisions 108031 via svnmerge from
18 years ago
Russell Bryant 86fe5cc800 Merged revisions 107102 via svnmerge from
18 years ago
Russell Bryant 541039ce1b Merged revisions 107099 via svnmerge from
18 years ago
Joshua Colp 733a740922 Merged revisions 106788 via svnmerge from
18 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
18 years ago
Joshua Colp 496adc6fc0 Merged revisions 106235 via svnmerge from
18 years ago
Tilghman Lesher cfc1df4c1a Whitespace changes only
18 years ago
Russell Bryant 8372a9bf08 3) In addition to merging the changes below, change trunk back to a regular
18 years ago
Joshua Colp b21ca22fb0 Merged revisions 105560 via svnmerge from
18 years ago
Jason Parker 63ab8ad66c Make sure to mask out non-audio first as well
18 years ago
Jason Parker 59bdc278be Maybe we should set the value before we test it? Fixes an issue people have been seeing (unreported?) with file playback not working.
18 years ago
Joshua Colp 227112138e Merged revisions 103801 via svnmerge from
18 years ago
Joshua Colp e54da94808 Add a non-invasive API for application level manipulation of T38 on a channel. This uses control frames (so they can even pass across IAX2) to negotiate T38 and provided a way of getting the current status of T38 using queryoption. This should by no means cause any issues and if it does I will take responsibility for it.
18 years ago
Olle Johansson f04d5fb83d Make sure we can set up calls without audio (text+video).
18 years ago
Tilghman Lesher 26755e3882 Context tracing for channels
18 years ago
Jason Parker 72bc8a7c7d Fix up some doxygen issues.
18 years ago
Joshua Colp 9587f09103 Add support for allowing a native bridge to happen when the L option is enabled. The RTP bridging could already handle this, it just needed to be enabled in the main bridging code.
18 years ago
Russell Bryant 1c74c549d7 Merged revisions 100581 via svnmerge from
18 years ago
Russell Bryant 87800e1913 Make a couple more uses of ARRAY_LEN, and convert some spaces to tabs
18 years ago
Russell Bryant e8f7cbf358 - Simplify a line with ARRAY_LEN()
18 years ago
Russell Bryant 79be2b8b0e These readlocks always fail for me on my mac, and I saw it happen again
18 years ago
Joshua Colp 1d47c036dd Some more cosmetic changes.
18 years ago
Joshua Colp 15515ec671 Add some spacing.
18 years ago
Olle Johansson b8aa3248ec Add a generic function to set the bridged call PVT unique id string
18 years ago
Russell Bryant d09fdcf61d Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec()
18 years ago
Mark Michelson e04aa9eed4 Merged revisions 98315 via svnmerge from
18 years ago
Tilghman Lesher afb2031389 Allow the uniqueid to be used for searching for a channel in the list.
18 years ago
Russell Bryant b749217bcb Merged revisions 95024 via svnmerge from
18 years ago
Russell Bryant f853918c53 Leave a note for a minor bug that was pointed out by d1mas
18 years ago
Tilghman Lesher 9c1dcfea5a Merged revisions 94767 via svnmerge from
18 years ago
Mark Michelson 5e7f167073 Merged revisions 93625 via svnmerge from
18 years ago
Olle Johansson 1e07078c60 Changes to manager events in channel.c
18 years ago
Joshua Colp 3faa47ab5b Instead of iterating through the entire epoll events array just look at the ones that will actually contain data. (props to eliel on IRC for this)
18 years ago
Jason Parker 0ef0259302 Merged revisions 90876 via svnmerge from
18 years ago
Tilghman Lesher 0147028b51 Avoid an additional function call. Reported by: eliel Patch by: eliel (Closes issue #11438)
18 years ago
Joshua Colp 46d2c050c5 Merged revisions 90548 via svnmerge from
18 years ago
Russell Bryant 53a5f22849 Merged revisions 90145 via svnmerge from
18 years ago
Joshua Colp 867b734868 Merged revisions 89577 via svnmerge from
18 years ago
Olle Johansson 595961655a Try to get channel.h and channel.c aligned in regards to ast_set_callerid as well
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 915b97d300 move internal function declarations to include/asterisk/_private.h
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Luigi Rizzo 09d9cce1d8 access channel locks through ast_channel_lock/unlock/trylock and not
18 years ago
Tilghman Lesher 5112f2b7e9 Typo
18 years ago
Tilghman Lesher 36d9a5aaf3 Add callerid to the Hangup manager event.
18 years ago
Kevin P. Fleming a34bbab643 use simpler technique for removing known entries from lists
18 years ago
Tilghman Lesher 061e5a1674 Merged revisions 89184 via svnmerge from
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Joshua Colp 0971b51cfc Remove native bridging check for DTMF based transfers. Thanks to the last batch of RTP changes it is no longer required for the media stream to go through Asterisk if DTMF is going over signalling. It will simply reinvite back as needed.
18 years ago
Mark Michelson 57c4409689 Merged revisions 88826 via svnmerge from
18 years ago
Russell Bryant 7df9905e71 Merged revisions 88709 via svnmerge from
18 years ago
Russell Bryant 6677325afc Merged revisions 88624 via svnmerge from
18 years ago
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
18 years ago
Kevin P. Fleming c6a8d45f43 Merged revisions 87069 via svnmerge from
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Russell Bryant a54eca55cf Merged revisions 86750 via svnmerge from
18 years ago
Joshua Colp 150964ab0e Merged revisions 86663 via svnmerge from
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Russell Bryant 155aaf947f Merged revisions 86330 via svnmerge from
18 years ago
Russell Bryant e97a723cf1 Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
18 years ago
Tilghman Lesher e9221b062e Merged revisions 85158 via svnmerge from
18 years ago
Joshua Colp 914cd4a7cf Merged revisions 84990 via svnmerge from
18 years ago
Dwayne M. Hubbard 71a0672560 Merged revisions 84274 via svnmerge from
18 years ago
Tilghman Lesher d3904a21c4 Merged revisions 84049 via svnmerge from
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Joshua Colp a565584d05 Fix memory issue that crept up with Russell's testing. It is *not* proper to free the frame we get in ast_write.
18 years ago
Joshua Colp 352fd9d942 Merged revisions 81437 via svnmerge from
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Russell Bryant 040a5f20f9 * Constify the uid field of channel datastores
18 years ago
Joshua Colp 9264d5007a (closes issue #10427)
18 years ago
Steve Murphy 4f98b05cd5 Don't ask me why, but waitfordigit will immediately return a 1 on my system, unless the outfd is initialized to -1 before calling the nandfds func
18 years ago
Russell Bryant 5f0c3e7dbc constify the return value of reason2str
18 years ago
Steve Murphy 526d1f39a2 Merged revisions 79099 via svnmerge from
18 years ago
Joshua Colp 22114b509d Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
18 years ago
Joshua Colp 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
18 years ago
Joshua Colp 9ef1b0a974 Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it.
18 years ago
Joshua Colp 431c60f818 Merged revisions 78275 via svnmerge from
18 years ago
Luigi Rizzo f66dbeb8f3 print formats as 0x%x instead of %d in a warning message.
19 years ago
Russell Bryant ad094d5109 Merged revisions 77785 via svnmerge from
19 years ago
Russell Bryant a2fc80d4a6 Merged revisions 77780 via svnmerge from
19 years ago
Joshua Colp 3733874f49 Merged revisions 77771 via svnmerge from
19 years ago
Joshua Colp 7bd9b905e4 Merged revisions 77460 via svnmerge from
19 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
19 years ago
Mark Michelson b37f7ab577 Merged revisions 77154 via svnmerge from
19 years ago
Russell Bryant d5b4fde291 Merged revisions 76132 via svnmerge from
19 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
19 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
19 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
19 years ago
Joshua Colp 1f86a8bc2d Merged revisions 74922 via svnmerge from
19 years ago
Joshua Colp 8f3a5481dc Merged revisions 74888 via svnmerge from
19 years ago
Joshua Colp f4943f3211 Merged revisions 73355 via svnmerge from
19 years ago
Joshua Colp 73d33590ba Merged revisions 72888 via svnmerge from
19 years ago
Joshua Colp 809c1398d7 Merged revisions 72257 via svnmerge from
19 years ago
Joshua Colp 7feaaaaf04 Merged revisions 72148 via svnmerge from
19 years ago
Steve Murphy cd97d6a687 Merged revisions 70062 via svnmerge from
19 years ago