Commit Graph

773 Commits (8ad4cb901b97fa077a9420bb9c9901512101c01e)

Author SHA1 Message Date
Matthew Nicholson 0d4726b0a2 Merged revisions 223225 via svnmerge from
16 years ago
David Vossel 9456ab2724 Deadlock in channel masquerade handling
16 years ago
Tilghman Lesher a4ece92018 Merged revisions 221200 via svnmerge from
16 years ago
Kevin P. Fleming 8c30540269 Correct sense of logic test committed in revision 220494.
16 years ago
Kevin P. Fleming aabdc575a5 Don't use hash-based lookups for ast_channel_get_by_name_prefix().
16 years ago
Matthew Nicholson b27a54b8de Merged revisions 219136 via svnmerge from
16 years ago
Tilghman Lesher 40c13bd1b0 Merged revisions 214701 via svnmerge from
16 years ago
David Vossel 2794b198ce Merged revisions 214194 via svnmerge from
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Russell Bryant 724c1239fc Fix up some issues with getting a channel by "name".
16 years ago
Tilghman Lesher feced6672c Merged revisions 210913 via svnmerge from
16 years ago
Richard Mudgett 28ad5ced1a Initial minimum ast_party_caller support.
16 years ago
Mark Michelson 214453904e Fix order and redundancy of channel rename manager events in ast_do_masquerade.
16 years ago
Kevin P. Fleming 0a6e06c7ff Rework of T.38 negotiation and UDPTL API to address interoperability problems
16 years ago
Russell Bryant 44301c95d2 Merged revisions 207360 via svnmerge from
16 years ago
Kevin P. Fleming 8b878c8303 Improve handling of AST_CONTROL_T38 and AST_CONTROL_T38_PARAMETERS for non-T.38-capable channels.
16 years ago
Matthew Nicholson fd6a49beac Moved trigger for BRIDGE_END CEL event so that it is more accurate.
16 years ago
Tilghman Lesher b5f6eac49e Allow trunk to once again compile under MALLOC_DEBUG
16 years ago
Joshua Colp 59c1998d67 Improve T.38 negotiation by exchanging session parameters between application and channel.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Russell Bryant 2affa3e999 Merged revisions 202496 via svnmerge from
16 years ago
Mark Michelson d8cc968adc Merged revisions 201450 via svnmerge from
16 years ago
Kevin P. Fleming 4c0265664e Merged revisions 200991 via svnmerge from
16 years ago
Mark Michelson afcbf2e14f Merged revisions 200360 via svnmerge from
16 years ago
Eliel C. Sardanons dabfa94fdc Release the allocated channel decreasing the reference counter.
16 years ago
Mark Michelson 554456f0fc Use ast_channel_unref to instead of ast_free on a newly created channel.
16 years ago
David Vossel c42344b319 ast_call_forward() todo notes and originate flag copy.
16 years ago
David Vossel 3830c415c7 Generic call forward api, ast_call_forward()
16 years ago
Mark Michelson 298d745fb4 Add the ability to execute connected line interception macros.
16 years ago
Russell Bryant 8580871fd4 Constify the ast_frame arg to ast_queue_frame().
16 years ago
Matthew Nicholson c8b0c41ed8 Merged revisions 198068 via svnmerge from
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Russell Bryant 7e350686d6 Declare private data as static.
16 years ago
Kevin P. Fleming ec5116f80c Properly account for memory allocated for channels and datastores
16 years ago
Jeff Peeler 7224c99375 Merged revisions 191488 via svnmerge from
16 years ago
Richard Mudgett fb030f24ef Fix a small memory leak on error in ast_channel_alloc().
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Mark Michelson 4988c07e6d Merged revisions 189277 via svnmerge from
16 years ago
Mark Michelson bdcf8fca81 Don't let ast_channel_alloc fail if explicitly passed NULL cid_name or cid_number.
16 years ago
Tilghman Lesher 1030a25ac9 Modify headers and macros, according to Russell's suggestions on the -dev list
16 years ago
Joshua Colp abcc0b9397 Add support for allowing the channel driver to handle transcoding.
16 years ago
Jeff Peeler f57fddb5bb Add timer for features so that backup bridge config can go away
16 years ago
Mark Michelson 5d645640e6 Merged revisions 186984 via svnmerge from
16 years ago
Mark Michelson 630bf109bb Merged revisions 186832 via svnmerge from
16 years ago
Mark Michelson 6f53ed4c67 This commit introduces COLP/CONP and Redirecting party information into Asterisk.
16 years ago
Joshua Colp 2d9c6ef3d5 Add better support for relaying success or failure of the ast_transfer() API call.
16 years ago
Russell Bryant 083e57a5e5 Merged revisions 185771 via svnmerge from
16 years ago
Kevin P. Fleming 9381bff79d Improve timing interface to remember which provider provided a timer
16 years ago
Russell Bryant 2ad737608c Put siren7 and siren14 in ast_best_codec() just so they're in there somewhere.
16 years ago
Joshua Colp 10b7b842dc Fix an issue where a T38 control frame would get dropped.
16 years ago
Russell Bryant 0bdd99ad64 Merged revisions 182810 via svnmerge from
16 years ago
Russell Bryant 9d6ba51d05 Tweak the handling of the frame list inside of ast_answer().
16 years ago
Kevin P. Fleming 16b9280ba9 correct logic flaw in ast_answer() changes in r182525
16 years ago
Kevin P. Fleming d11b6386a5 Improve behavior of ast_answer() to not lose incoming frames
16 years ago
Joshua Colp 5308112806 Fix a memory leak in the ast_answer / __ast_answer API call.
16 years ago
Russell Bryant c61a3f2878 Make handling of the BRIDGE_PLAY_SOUND variable thread-safe.
16 years ago
Russell Bryant ffc7510e7a Make handling of the BRIDGEPVTCALLID variable thread-safe.
16 years ago
Russell Bryant 29cfabf335 Merged revisions 181423 via svnmerge from
16 years ago
David Vossel 979eb709ae app_read does not break from prompt loop with user terminated empty string
16 years ago
Russell Bryant cfa0d9c0ce Merged revisions 179741 via svnmerge from
16 years ago
Joshua Colp a65727949c Merged revisions 179671 via svnmerge from
16 years ago
Russell Bryant d9b034a430 Merged revisions 179608 via svnmerge from
16 years ago
Jeff Peeler aa81288bab Merged revisions 179536 via svnmerge from
16 years ago
Russell Bryant 0c0479602e Merged revisions 179461 via svnmerge from
16 years ago
Jeff Peeler f40edf2793 Merged revisions 176701 via svnmerge from
16 years ago
Russell Bryant c461d29b0b Update the timing API to have better support for multiple timing interfaces.
16 years ago
Russell Bryant 4ec301360c Merge a large set of updates to the Asterisk indications API.
16 years ago
Russell Bryant 96326f5aa1 Make the causes array static, and remove the type name as it is not needed.
16 years ago
Mark Michelson 47ebea6a8d Fix 'd' option for app_dial and add new option to Answer application
16 years ago
Joshua Colp 8435535300 Tell the device state core a change happened when a channel is freed but not a specific state.
16 years ago
Olle Johansson 84053c05c7 Add extensions and context on manager event when new channel is created.
17 years ago
Joshua Colp 3fd61d729c Merged revisions 170648 via svnmerge from
17 years ago
Mark Michelson dccc06063f Merged revisions 170392 via svnmerge from
17 years ago
Russell Bryant ef6ad2b53c Merged revisions 168561 via svnmerge from
17 years ago
Mark Michelson 859ae78977 Merged revisions 166568 via svnmerge from
17 years ago
Tilghman Lesher 18e07935ed Merged revisions 166509 via svnmerge from
17 years ago
Mark Michelson 9733b30ff0 Adding a new dialplan function AUDIOHOOK_INHERIT
17 years ago
Russell Bryant c9eb01c899 Merged revisions 164201 via svnmerge from
17 years ago
Joshua Colp 035a7552d6 Since chan_sip is callback devicestate driven do not pass in actual states, pass in unknown so we get asked. Additionally do not pass in an actual device state value in ast_setstate since the channel may be callback driven.
17 years ago
Russell Bryant 7fcac067b2 Merged revisions 163448 via svnmerge from
17 years ago
Russell Bryant fb242bc8fd Fix the "failed" extension for outgoing calls.
17 years ago
Sean Bright 48522988ab In order to move away from nested function use, some changes to the recently introduced
17 years ago
Steve Murphy f7c20e0dec Merged revisions 154685 via svnmerge from
17 years ago
Sean Bright 086a52d9d1 Introduce a new API call ast_channel_search_locked, which iterates through the
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Russell Bryant 511ce6b2bf Use the ast_str API call to reset the string instead of manually editing its internals
17 years ago
Russell Bryant fbe13cfb86 Modify ast_answer() to not hold the channel lock while calling ast_safe_sleep()
17 years ago
Steve Murphy 0f0c10993c Merged revisions 141156 via svnmerge from
17 years ago
Steve Murphy 2fceed7f6d Merged revisions 140690 via svnmerge from
17 years ago
Steve Murphy 1c79a23b8e Merged revisions 140670 via svnmerge from
17 years ago
Tilghman Lesher fdd92290af Convert deprecated routines to the new names.
17 years ago
Sean Bright 790fde68d9 Another batch of files from RSW. The remaining apps and a few more
17 years ago
Sean Bright b69c8e6ab5 Another big chunk of changes from the RSW branch. Bunch of stuff from main/
17 years ago
Mark Michelson 9b5b8246c5 Fix a calculation error I had made in the poll. The poll
17 years ago
Mark Michelson ed4e6bf52b Scrap the 500 ms delay when Asterisk auto-answers a channel.
17 years ago
Tilghman Lesher 700d4501b8 Merged revisions 135949 via svnmerge from
17 years ago
Mark Michelson 89c2844242 Merged revisions 135841,135847,135850 via svnmerge from
17 years ago
Steve Murphy 5eaf8450d6 Merged revisions 135799 via svnmerge from
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Kevin P. Fleming 6291cd19bf remove remaining Zaptel references in various places
17 years ago
Tilghman Lesher 0c23159464 Deprecate *_device_state_* APIs in favor of *_devstate_* APIs
17 years ago
Tilghman Lesher c780a443bf Merged revisions 133649 via svnmerge from
17 years ago
Brett Bryant d185405755 Janitor project to convert sizeof to ARRAY_LEN macro.
17 years ago
Steve Murphy bc2cfb3e81 Merged revisions 127663 via svnmerge from
17 years ago
Mark Michelson 37db658b1f Place the delay in __ast_answer prior to the channel-specific answer
17 years ago
Kevin P. Fleming 8cdb1f7f41 change the process of inserting a delay into the ast_answer() path so that we don't tell the calling channel that it has been answered unutil after the delay; for a single-thread call this won't matter all, but for a dual-thread call (using chan_local) this may fix the problem in issue 12924
17 years ago
Russell Bryant 02b1317d0f - add get_max_rate timing API call
17 years ago
Kevin P. Fleming fd4a60c459 Merged revisions 125132 via svnmerge from
17 years ago
Tilghman Lesher 56654fc0f2 Merged revisions 123930 via svnmerge from
17 years ago
Russell Bryant e27a98ce5a - Fix a typo in a timing API call
17 years ago
Russell Bryant b6457ecf4c Merge changes from timing branch
17 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
17 years ago
Tilghman Lesher 1af7ea2df1 Merged revisions 122130 via svnmerge from
17 years ago
Tilghman Lesher 467c6f5f90 Merged revisions 121861 via svnmerge from
17 years ago
Joshua Colp 610faf1132 Merged revisions 121442 via svnmerge from
17 years ago
Russell Bryant 85a631f767 arbitrary formatting change to test a mantis change
17 years ago
Russell Bryant 0bee0c65b2 Minor formatting change to test a mantis change ...
17 years ago
Russell Bryant 90cb28f89c Merged revisions 121280 via svnmerge from
17 years ago
Russell Bryant 51051ce949 Add lock tracking for rwlocks. Previously, lock.h only had the ability to
17 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
17 years ago
Russell Bryant 7d2d373d6f Minor formatting change to test a mantis change ...
17 years ago
Russell Bryant 08f91c1192 Merged revisions 116463 via svnmerge from
17 years ago
Mark Michelson b6aef57619 Merged revisions 116088 via svnmerge from
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
17 years ago
Russell Bryant 96638d7bb5 re-add a fix that got lost with a recent change
17 years ago
Jason Parker efb767e432 Convert several DEBUG logs into ast_debug.
17 years ago
Mark Michelson 0270776ca5 Merged revisions 114117 via svnmerge from
17 years ago
Mark Michelson 9ddc843fbe Merged revisions 114106 via svnmerge from
17 years ago
Mark Michelson be02a94138 Merged revisions 113065 via svnmerge from
17 years ago
Joshua Colp 738e4ec94e Add a special dialplan variable to chan_sip which will cause an audio file to be played upon completion of an attended transfer.
17 years ago
Russell Bryant 3c6cf5dcc5 Add some fixes that I made in regards to wideband codec handling to get
17 years ago
Russell Bryant 835df7d30f Merged revisions 108583 via svnmerge from
17 years ago
Russell Bryant b38cb44acd Merged revisions 108135 via svnmerge from
17 years ago
Russell Bryant f7e28b12fe Merged revisions 108031 via svnmerge from
17 years ago
Russell Bryant 86fe5cc800 Merged revisions 107102 via svnmerge from
17 years ago
Russell Bryant 541039ce1b Merged revisions 107099 via svnmerge from
17 years ago
Joshua Colp 733a740922 Merged revisions 106788 via svnmerge from
17 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
17 years ago
Joshua Colp 496adc6fc0 Merged revisions 106235 via svnmerge from
17 years ago
Tilghman Lesher cfc1df4c1a Whitespace changes only
17 years ago
Russell Bryant 8372a9bf08 3) In addition to merging the changes below, change trunk back to a regular
17 years ago
Joshua Colp b21ca22fb0 Merged revisions 105560 via svnmerge from
17 years ago
Jason Parker 63ab8ad66c Make sure to mask out non-audio first as well
17 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.
17 years ago
Joshua Colp 227112138e Merged revisions 103801 via svnmerge from
17 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.
17 years ago
Olle Johansson f04d5fb83d Make sure we can set up calls without audio (text+video).
17 years ago
Tilghman Lesher 26755e3882 Context tracing for channels
17 years ago
Jason Parker 72bc8a7c7d Fix up some doxygen issues.
17 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.
18 years ago
Russell Bryant ad094d5109 Merged revisions 77785 via svnmerge from
18 years ago
Russell Bryant a2fc80d4a6 Merged revisions 77780 via svnmerge from
18 years ago
Joshua Colp 3733874f49 Merged revisions 77771 via svnmerge from
18 years ago
Joshua Colp 7bd9b905e4 Merged revisions 77460 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Mark Michelson b37f7ab577 Merged revisions 77154 via svnmerge from
18 years ago
Russell Bryant d5b4fde291 Merged revisions 76132 via svnmerge from
18 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.
18 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.
18 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.
18 years ago
Joshua Colp 1f86a8bc2d Merged revisions 74922 via svnmerge from
18 years ago
Joshua Colp 8f3a5481dc Merged revisions 74888 via svnmerge from
18 years ago
Joshua Colp f4943f3211 Merged revisions 73355 via svnmerge from
18 years ago
Joshua Colp 73d33590ba Merged revisions 72888 via svnmerge from
18 years ago
Joshua Colp 809c1398d7 Merged revisions 72257 via svnmerge from
18 years ago
Joshua Colp 7feaaaaf04 Merged revisions 72148 via svnmerge from
18 years ago
Steve Murphy cd97d6a687 Merged revisions 70062 via svnmerge from
18 years ago
Joshua Colp afe63aec33 Merged revisions 69987 via svnmerge from
18 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Russell Bryant cf06bdb312 Merged revisions 69010 via svnmerge from
18 years ago
Joshua Colp b3475e429a Minor code cleanup.
18 years ago
Joshua Colp a9043635ed Change channel list to read/write list... I'm crazy.
18 years ago
Joshua Colp eb56cb6b92 Merged revisions 68683 via svnmerge from
18 years ago
Joshua Colp ef7b38e065 Merged revisions 68157 via svnmerge from
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant 18101ff0e3 Merged revisions 67716 via svnmerge from
18 years ago
Russell Bryant 2b25070414 Merged revisions 66076 via svnmerge from
18 years ago
Russell Bryant 9065eb1054 Merged revisions 66070 via svnmerge from
18 years ago
Russell Bryant 90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
18 years ago
Joshua Colp f02ea9e076 Merged revisions 64240 via svnmerge from
18 years ago
Olle Johansson 78d3244554 Merged revisions 64157 via svnmerge from
18 years ago
Joshua Colp 9427cf5dd6 Merged revisions 63698 via svnmerge from
18 years ago
Russell Bryant 56254ee491 Merged revisions 63612 via svnmerge from
18 years ago
Russell Bryant 39dd02d542 Merged revisions 63608 via svnmerge from
18 years ago
Joshua Colp 5394364048 Merged revisions 63286 via svnmerge from
18 years ago
Russell Bryant 1e3b1a576c Merged revisions 62942 via svnmerge from
18 years ago
Russell Bryant 255f151582 Merged revisions 62789 via svnmerge from
18 years ago
Steve Murphy fe7068a51b Merged revisions 62689 via svnmerge from
18 years ago
Russell Bryant 007fa5e0be Merged revisions 62005 via svnmerge from
18 years ago
Joshua Colp 8b2b3e172b Merged revisions 61805 via svnmerge from
18 years ago
Russell Bryant 94459660a3 Merged revisions 61781 via svnmerge from
18 years ago
Russell Bryant fa0e814a69 Merged revisions 61763 via svnmerge from
18 years ago
Tilghman Lesher 47dd5a15af Issue 6082 - New DTMF event for manager
18 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
18 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
18 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
18 years ago
Tilghman Lesher 590cb3a6fa Expand datastores to add the notion of inheritance. This will be needed for
18 years ago
Russell Bryant b4a29c3782 Constify the list of codec preferences.
18 years ago
Tilghman Lesher b0f60e7496 Merged revisions 56685 via svnmerge from
18 years ago
Olle Johansson 75d387acbc Doxygen additions, corrections
18 years ago
Joshua Colp afc99294fa Merged revisions 56231 via svnmerge from
18 years ago
Olle Johansson ba32ee49d0 Adding Realtime Text support (T.140) to Asterisk
19 years ago
Joshua Colp 8470ee5cd0 Merged revisions 54290 via svnmerge from
19 years ago
Russell Bryant 10c4a5fef7 Simplify a small bit of logic.
19 years ago
Paul Cadach 85ad583544 Merged revisions 53879 via svnmerge from
19 years ago
Russell Bryant dab41a355d Merged revisions 51848 via svnmerge from
19 years ago
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
19 years ago
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
19 years ago
Luigi Rizzo 5b9114fa73 include "asterisk/zapata.h" to get the zaptel headers.
19 years ago
Jason Parker 11dd11e5a1 Merged revisions 51241 via svnmerge from
19 years ago
Joshua Colp c71d6c12f7 Don't hold channel lock while sleeping/waiting for audio stream to get setup. (issue #8834 reported by phsultan)
19 years ago
Joshua Colp d986f00e73 Merged revisions 50727 via svnmerge from
19 years ago
Kevin P. Fleming 17ea9c930e make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
19 years ago
Kevin P. Fleming 1439e0fa75 when a channel gets automatically answered by an application, sleep a bit to give the audio path (for VOIP channels) time to be setup
19 years ago
Tilghman Lesher 33d5a8a582 Reduce duplication of code (Issue 6542)
19 years ago
Joshua Colp a9c3429b07 Merged revisions 49675 via svnmerge from
19 years ago
Kevin P. Fleming 3f7899c9da small formatting fix
19 years ago
Kevin P. Fleming adca0ff14b Merged revisions 49006 via svnmerge from
19 years ago
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
19 years ago
Luigi Rizzo a2e6c6277f same as in other places, check that generator->release is not NULL
19 years ago
Luigi Rizzo b6d1722c83 remove ast_safe_string_alloc() - it is completely
19 years ago
Luigi Rizzo 1122621981 constify ast_state2str() and note it is not reentrant.
19 years ago
Russell Bryant 17a2888d2e Staticize one, and Constify a bunch of usage strings for CLI commands.
19 years ago
Olle Johansson e3b099c12a Formatting fix
19 years ago
Luigi Rizzo d7b26b6bf8 set pointers to NULL after freeing memory to avoid multiple free()
19 years ago
Steve Murphy 6dcb17baaf This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
19 years ago
Paul Cadach fc58bec502 Merged revisions 44809 via svnmerge from
19 years ago
Joshua Colp 0f15e43add Merged revisions 47707 via svnmerge from
19 years ago
Steve Murphy 2e375b388e This mod via bug 7531
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Tilghman Lesher a8d3ee89c6 Merged revisions 46078 via svnmerge from
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago
Russell Bryant 40b8afd54f Merged revisions 45441 via svnmerge from
19 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
19 years ago
Joshua Colp b5f2589e33 Add Masquerade manager event which trips when a masquerade happens (issue #7840 reported by moy)
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Joshua Colp 3e4a081e1c Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
19 years ago
Russell Bryant d2c57c5f4f Merged revisions 43779 via svnmerge from
19 years ago
Joshua Colp becd11ddb8 Merged revisions 43695 via svnmerge from
19 years ago
Kevin P. Fleming acf824fe5e Merged revisions 43486 via svnmerge from
19 years ago
Tilghman Lesher 2b55678e1f Remove deprecated CLI apps from the core
19 years ago
Joshua Colp 1c764935f2 SS7 marked the start of an open season for trunk again but here's something minor - abstract early bridging into the technology so that we don't always assume they use RTP and try it.
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Joshua Colp 0f3eaaf703 Merged revisions 42600 via svnmerge from
19 years ago
Joshua Colp 160cea6139 Merged revisions 42452 via svnmerge from
19 years ago
Joshua Colp d597b76c36 whentohangup is already in seconds, just need to convert to milliseconds
19 years ago
Joshua Colp 55d594e9da Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.
19 years ago
Joshua Colp 6fdd2ef790 Tweak the if statement a bit
19 years ago
Russell Bryant e576ac0930 Don't use ast_frdup() in the AST_LIST_INSERT_TAIL macro directly. That was a
19 years ago
Joshua Colp 9edf55b64d Merged revisions 41690 via svnmerge from
19 years ago
Joshua Colp d6096858d0 Don't fail the write if they try to write a NULL or IAX frame as we just ignore these.
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Russell Bryant 1ffff64e66 fix a bug introduced when I merged my frame caching branch. Queue the
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Russell Bryant 1ff5a0988d Merged revisions 40994 via svnmerge from
19 years ago
Russell Bryant 389c605a67 - use the atomic operations for incrementing the unique int
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago