Commit Graph

4270 Commits (2a371cd80bfb88552d2f42545718da2489e1a5ba)

Author SHA1 Message Date
Mark Michelson bf22391b8d Make DTMF attended transfer support feature-complete.
12 years ago
Matthew Jordan ff2f5eaa23 Kill the zombies
12 years ago
David M. Lee fec667646f Fix bridge/channel AMI event ordering issues
12 years ago
Matthew Jordan b4c2eecca6 Fix unbalanced lock when serializing CDR variables
12 years ago
Richard Mudgett 0ac2c093e2 Remove some BUGBUG notes that have been handled.
12 years ago
Matthew Jordan 715d894d48 Update copyright year to 2013 in asterisk.c; some whitespace fixes
12 years ago
Matthew Jordan bdb1c6bfb0 Tolerate presence of RFC2965 Cookie2 header by ignoring it
12 years ago
Matthew Jordan 3a5b68f07c Allow setting allowmultiplelogin on an account basis
12 years ago
Kinsey Moore c3b8939be8 Add CEL local optimization record type
12 years ago
Kinsey Moore 684c83b29b Add transfer support to CEL
12 years ago
Richard Mudgett 643fb1ed14 Minor optimizations.
12 years ago
Richard Mudgett 2838683742 Extract a repeated test into ast_channel_has_audio_frame_or_monitor().
12 years ago
Jonathan Rose 17c546173f ARI: Bridge Playback, Bridge Record
12 years ago
Kinsey Moore 5a8f32703c Filter channels used as internal mechanisms
12 years ago
Jason Parker 900714beb9 Convert CCSS manager events to stasis.
12 years ago
Richard Mudgett 345f033a19 Made audiohooks, framehooks, and monitor prevent local channel optimization.
12 years ago
Jonathan Rose 81f36bee0f bridge_holding/app_bridgewait: Add new entertainment options
12 years ago
Jason Parker c1a7567d24 ARI: Add support for suppressing media streams.
12 years ago
Matthew Jordan 3a2a12ca1a Tweak debug statements
12 years ago
David M. Lee de68dabb97 Fix caching topic shutdown assertions
12 years ago
Richard Mudgett 40ce5e0d18 Change ast_hangup() to return void and be NULL safe.
12 years ago
Richard Mudgett da1902cdc0 Remove some completed and no longer relevant BUGBUG notes.
12 years ago
Matthew Jordan 1623347817 Re-order handlers in CEL to ensure that HANGUP events happen after APP_END
12 years ago
Richard Mudgett 6ba25dd3f2 Remove some dead code dealing with old bridging method.
12 years ago
Matthew Jordan 957f863dba Re-order cleanup
12 years ago
Richard Mudgett d43b17a872 Replace chan_agent with app_agent_pool.
12 years ago
Matthew Jordan 583226dc5e Remove redundant code in dns.c
12 years ago
Matthew Jordan 70decd0abe Fix FRACK message from external redirects; handle outbound channels better
12 years ago
Joshua Colp 238a54fa15 Add support to the bridging core for performing COLP updates when channels join a 2 party bridge.
12 years ago
Mark Michelson d418e991ee Prevent potential race condition in multiparty basic bridges.
12 years ago
Richard Mudgett 5dbaee232c Fix printf NULL string (null) substituion for NULL config framework default.
12 years ago
Joshua Colp 7c044acbd9 Refactor operations to access the stasis cache instead of objects directly when retrieving information.
12 years ago
Jonathan Rose b083a4cdae res_parking: Apply ringing role option on swap with a channel that rings
12 years ago
Jason Parker 7422581b6d Move channel driver Registry manager events to core.
12 years ago
Matthew Jordan 30d379851e Create Local channel messages on the Stasis message bus and produce AMI events
12 years ago
Matthew Jordan 70a46e2ee5 In a channel destructor dispose of items that raise Stasis message properly
12 years ago
Matthew Jordan b193c2873d Handle hangup logic in the Stasis message bus and consumers of Stasis messages
12 years ago
Matthew Jordan d0a55fa52d Refactor RTCP events over to Stasis; associate with channels
12 years ago
Richard Mudgett d789681eaf OneTouchRecord: Add function defined earlier: ast_bridge_features_do()
12 years ago
Matthew Jordan 4123b27f6f Remove parkinglot from the channel snapshot
12 years ago
Jonathan Rose 93ed5ef0ff res_parking: Replace Parker snapshots with ParkerDialString
12 years ago
David M. Lee 04cde027d4 Fix utils directory breakage.
12 years ago
Richard Mudgett 415b79dec9 Add BUGBUG note for ASTERISK-22009
13 years ago
Richard Mudgett 02f55a36a0 Revert accidental overcommit.
13 years ago
Richard Mudgett b4e9a3fc2f Add BUGBUG note for ASTERISK-22009
13 years ago
Richard Mudgett ad5dc3c159 Move when bridge channel enter is published so it does not interrupt the thought of some lines of code.
13 years ago
Richard Mudgett b96d8cbc78 Fix some indentation in stasis_config.c.
13 years ago
Matthew Jordan a981de9adb Fix some bugs in CDRs; add some CLI commands to help debugging
13 years ago
Matthew Jordan 569f5f2117 Let Stasis load itself with default values
13 years ago
Mark Michelson 0f725bd5d9 Publish a bridge enter before pulling on a push-and-swap operation.
13 years ago
David M. Lee a75fd32212 ARI - channel recording support
13 years ago
David M. Lee c4adaf9106 Configuration for Stasis threadpool
13 years ago
David M. Lee 9ba976b19c ARI authentication.
13 years ago
David M. Lee c9a3d4562d Update events to use Swagger 1.3 subtyping, and related aftermath
13 years ago
Jason Parker 85ba063329 Add a SystemName field to all AMI events.
13 years ago
Kevin Harwell 05a16729cb Stasis - Refactor AOC Events
13 years ago
Kinsey Moore de206baa99 Fix transfer AMI event parameter naming
13 years ago
Kinsey Moore 6e3a5d2d48 Add CEL unit tests and do some cleanup
13 years ago
Matthew Jordan 3841520a6e Prevent crash during synchronous AMI origination by ref bumping returned channel
13 years ago
Jonathan Rose f306dbd841 bridge_features: Support One touch Monitor/MixMonitor
13 years ago
Kinsey Moore 909ee4bfb9 Refactor extraneous channel events
13 years ago
Richard Mudgett a174aa73f6 Tweak after bridge callback reason to string strings.
13 years ago
Richard Mudgett 812abf0554 Fix after bridge callback datastore data memory leak.
13 years ago
Richard Mudgett e89e95228f This is no longer needed.
13 years ago
Richard Mudgett e72b009928 Promote local channel optimizing debug messages to verbose 3 messages.
13 years ago
Jonathan Rose 84395ff042 features: call pickup stasis refactoring
13 years ago
Mark Michelson 6d624eb008 Add stasis publications for blind and attended transfers.
13 years ago
Matthew Jordan ca61a05506 Handle an originated channel being sent into a non-empty bridge
13 years ago
Matthew Jordan 6cc03db642 Better handle parking in CDRs
13 years ago
Richard Mudgett 0008f15a77 Change the name of some local variables in bridging.c to reflect what they really mean.
13 years ago
Richard Mudgett d416b15c52 Add config framework non-empty string validation requirement option.
13 years ago
Jonathan Rose d014ad2261 func_channel: Read/Write after_bridge_goto option
13 years ago
Richard Mudgett c7d478dd10 Fix several problems with ast_bridge_add_channel().
13 years ago
Richard Mudgett f25bbd6c56 AMI Bridge action: Get channel xfer config after we have found the second channel.
13 years ago
Jonathan Rose 854c4c64fe res_parking: Add Parking manager action to the new parking system
13 years ago
Kinsey Moore a1e219ef51 CEL refactoring cleanup
13 years ago
Matthew Jordan 13b470d704 Fix memory/ref counting leaks in a variety of locations
13 years ago
Matthew Jordan 91217ac3c1 Fix a variety of memory leaks
13 years ago
Mark Michelson 4710869133 Add documentation for features configuration.
13 years ago
Kinsey Moore a0b7a49a4a Index installed sounds and implement ARI sounds queries
13 years ago
Joshua Colp 1403d1f173 Fix a bug where messages were getting duplicated on AMI.
13 years ago
Joshua Colp a330d0867e Make sorcery details opaque and add extended fields.
13 years ago
Joshua Colp 77002bc377 Merge in current pimp_my_sip work, including:
13 years ago
Joshua Colp 94ec267888 Migrate PeerStatus events to stasis, add stasis endpoints, and add chan_pjsip device state.
13 years ago
Richard Mudgett 1267c91315 Extract a useful routine from the softmix bridge technology.
13 years ago
Richard Mudgett 797f712845 Add channel optimization interaction with frame hooks BUGBUG comments.
13 years ago
Richard Mudgett cd6e2538f2 Change several bridge functions to return error status.
13 years ago
Richard Mudgett cd40e179a9 Fix potential bridge hook resource leak if the hook install fails.
13 years ago
Mark Michelson 33eb15a242 Fix threadpool rapid growth problem.
13 years ago
David M. Lee 6e6652518d Fix build problem on OS X Mountain Lion (10.8)
13 years ago
Kinsey Moore 954166ed24 Pull CEL linkedid manipulation into cel.c
13 years ago
Richard Mudgett a5b32ca253 Bridging: Fix crash on destruction of a partially constructed bridge.
13 years ago
Richard Mudgett e943dc8de3 Add some safety cleanup for a failed push into a bridge.
13 years ago
Richard Mudgett 73854ebb2b Remove stub comment on function that is not a stub.
13 years ago
Kinsey Moore 3c34b725cb Fix bridge snapshot conversion to JSON
13 years ago
David M. Lee 4aa47d6893 Fix build warnings related to printf/scanf of tv_usec.
13 years ago
Richard Mudgett 291711f85f chan_vpb: Fix compile error and __ast_channel_alloc() prototype const inconsistency.
13 years ago
Matthew Jordan 50d81a58e8 Prevent sending a NewExten event after a Hangup during a stack restore
13 years ago
Joshua Colp 2e541ec265 Fix build warning (which is transmogrified into an error) with my compiler due to uninitialized variable.
13 years ago
Matthew Jordan 6258bbe7bd Update Asterisk's CDRs for the new bridging framework
13 years ago
Mark Michelson 67e35c7b47 Fix regression in MWI stasis handling.
13 years ago
Kinsey Moore b5a10ad972 Revert parts of r391855 that were not ready to go in to trunk
13 years ago
Kinsey Moore 9a43a7e575 Fix two more possible crashes in CEL
13 years ago
Kinsey Moore 0abc78dcfd Fix a crash in CEL bridge snapshot handling
13 years ago
Kinsey Moore 6f78883214 Publish bridge snapshots more often
13 years ago
Mark Michelson cc06020f23 Just return outright on a reload since we have already processed configuration.
13 years ago
Kinsey Moore 8146da8606 Ensure that Asterisk still starts up when cel.conf is missing
13 years ago
Mark Michelson 49949ac5a9 Fix memory leak in features_config.c
13 years ago
Matthew Jordan 1cb25deeba Blow away usage of libjansson's foreach macro
13 years ago
Kinsey Moore b51b437bf3 Refactor CEL bridge events on top of Stasis-Core
13 years ago
Kinsey Moore 4f84e48028 Refactor CEL channel events on top of Stasis-Core
13 years ago
Joshua Colp 65c492e851 Add support for requiring that all queued messages on a caching topic have been handled before
13 years ago
Matthew Jordan 272dd008d0 Fix memory leak while loading modules, adding formats, and destroying endpoints
13 years ago
Matthew Jordan 41e4282751 Fix memory leaks in stasis_channels and bridge_native_rtp
13 years ago
Mark Michelson 0e2832d121 Remove incorrect comment about local channel optimization occurring when performing an attended transfer on an entire bridge.
13 years ago
Jonathan Rose 723a84dbd9 bridge_native_rtp: Fix native bridge tech being incompatible when it should be.
13 years ago
David M. Lee dbdb2b1b3a Add vtable and methods for to_json and to_ami for Stasis messages
13 years ago
Matthew Jordan ed85661f43 Make the reload stasis message bump the ref count of its sub-object
13 years ago
Mark Michelson ba5c97efcd Temporary fix for people using sample features.conf from previous Asterisk versions.
13 years ago
Kinsey Moore a5bbc790e7 Stasis-HTTP: Flesh out bridge-related capabilities
13 years ago
Matthew Jordan cfa94a9974 Clean up MWI topic pool before message type destruction
13 years ago
Matthew Jordan 3421960162 Only initialize manager_bridging during startup
13 years ago
Matthew Jordan c43f380d03 Add backtrace generation to MALLOC_DEBUG memory corruption reports
13 years ago
Richard Mudgett 2fe6b6a533 Add more support for native bridging.
13 years ago
Richard Mudgett c88b7945f6 Fix a crash when a bridge switches from the softmix bridge technology to another.
13 years ago
Jason Parker a2d02edca5 Make app_queue AMI events more consistent. Give Join/Leave more useful names.
13 years ago
Jonathan Rose 8954661207 res_parking: Automatically generate extensions, hints, etc.
13 years ago
Jonathan Rose bec2d79484 app_meetme: Refactor manager events to use stasis
13 years ago
Kinsey Moore 759a7e4a30 Rework stasis cache clear events
13 years ago
Richard Mudgett 6114166237 Refactor chan_dahdi/sig_analog/sig_pri and chan_misdn to use the common transfer functions.
13 years ago
Richard Mudgett b8b7e8ab45 Tweak applicationmap and featuregroup config containers.
13 years ago
Mark Michelson 738c44405b Conditionally reject duplicate entries in applicationmap containers.
13 years ago
Richard Mudgett bad8caa8c6 Reimplement bridging and DTMF features related channel variables in the bridging core.
13 years ago
Mark Michelson 2dc8a06006 Refactor the features configuration scheme.
13 years ago
Richard Mudgett 5f740572d0 Fix compiler warning.
13 years ago
Richard Mudgett 5c554dc470 * Fix a couple missed hook installs that need AST_BRIDGE_HOOK_REMOVE_ON_PULL.
13 years ago
Jason Parker 9f54568010 Convert message_router routes to ao2. Add support for removal.
13 years ago
Jonathan Rose c57a2735d8 Parking: Enable code responsible for intercepting park exten transfers
13 years ago
Richard Mudgett 6bb88d2e80 Misc core external attended transfer fixes.
13 years ago
Richard Mudgett e7e7d7759b Make local channels use ast_channel_move() instead of the inlined version.
13 years ago
David M. Lee a36d38ab38 Fixed refcounting problems with chanspy AMI support.
13 years ago
Mark Michelson 94d8d0468f Remove remaining traces of remove_on_pull from hooks and hook APIs.
13 years ago
Mark Michelson 4789c3fb0c Change the remove_on_pull flag on ast_bridge_hook to be a set of flags.
13 years ago
Joshua Colp fb6344e249 Publish the channel state snapshot *before* calling device state so a device state producer can use
13 years ago
David M. Lee f574a76e3e Fixed a consistency problem with channel snapshot and endpoint state.
13 years ago
David M. Lee 6d805dc04b Correct autoconf script for finding UUID support.
13 years ago
Kinsey Moore 1458a20e47 Refactor code and fix a reference leak
13 years ago
Richard Mudgett 680765d452 Remove ast_channel_bridge() and associated code called only by it.
13 years ago
Richard Mudgett ccc8cc5346 Fixup hold/unhold with attended and blind transfers.
13 years ago
Jason Parker a1494300c9 Replace ast_manager_publish_message() with a more useful version.
13 years ago
Kinsey Moore 39d5e40cd5 Remove remnant of snapshot blob JSON types
13 years ago
Kinsey Moore e1bff7958a Add snapshot cache that indexes by channel name
13 years ago
David M. Lee 721a1faf6d Missed a line from a bad merge in r390122
13 years ago
David M. Lee d81c846724 Avoid unnecessary cleanups during immediate shutdown
13 years ago
Richard Mudgett f069ee9681 Fix segfault when dealing with chan_agent channels.
13 years ago
Jason Parker fa98eb2aea Remove unused RAII vars.
13 years ago
Kinsey Moore 6851801a5e Resolve a merge conflict
13 years ago
Jonathan Rose bb584c55de Fix a memory copying bug in slinfactory which was causing mixmonitor issues.
13 years ago
Mark Michelson 45dc10de84 Add missing NULL check to acquire_bridge() function.
13 years ago
Mark Michelson fac3839e68 Adds support for a core attended transfer function plus adds some hiding of masquerades.
13 years ago
Matthew Jordan a0f6d1848b Initialize the message type before the topic
13 years ago
Matthew Jordan fe3ca5401f Fix a variety of memory corruption/assertion errors
13 years ago
Matthew Jordan 97c6062dfc Restore initialization of security topics
13 years ago
Jason Parker 154fbf8cae Split Hold event into Hold/Unhold, and move it into core.
13 years ago
Matthew Jordan 06be8463b6 Migrate a large number of AMI events over to Stasis-Core
13 years ago
Matthew Jordan c1b51fd265 Print all logger messages on shutdown
13 years ago
David M. Lee 557125664d This patch adds support for controlling a playback operation from the
13 years ago
David M. Lee 10ba6bf8a8 This patch implements the REST API's for POST /channels/{channelId}/play
13 years ago
Richard Mudgett 3464e0919a Fix inverted test preventing DTMF disconnect from working.
13 years ago
David M. Lee 8a5a09e62c Fixed startup race condition which caused occasional stasis_mwi_state_type assertions.
13 years ago
Jason Parker b6aac885be Add dial events to app_queue and app_followme.
13 years ago
David M. Lee 054efbc45a Fix destruction order assert for stasis_bridging
13 years ago
Richard Mudgett 3d63833bd6 Merge in the bridge_construction branch to make the system use the Bridging API.
13 years ago
David M. Lee e1e1cc2dee Fixed some extra field assertion when the event WebSocket is connected
13 years ago
Matthew Jordan d8aec72494 Set the AST_CDR_FLAG_ORIGINATED flag on originated channel's CDRs
13 years ago
Joshua Colp 734a154eef In Sorcery pass the name of the object being allocated to the allocator.
13 years ago
Joshua Colp b46840ae3e Don't hold the outgoing lock for a prolonged period of time as it may block the originator.
13 years ago
Joshua Colp 4d8c35abf2 If the caller of the originate API calls wants the channel ensure it has been requested and dialed.
13 years ago
Joshua Colp 7316abeb8f Fix a bug where synchronous origination (oddly enough triggered by doing an async manager Originate) would not work properly.
13 years ago
Joshua Colp 4e38a4eb64 Move origination to use the dialing API and send Stasis messages on dial begin and end.
13 years ago
David M. Lee b97c71bb11 Fix shutdown assertions in stasis-core
13 years ago
Matthew Jordan d04f1fd60a Publish the outbound channel's application/data when dialing
13 years ago
Jonathan Rose b90bba7a30 Stasis: Update security events to use Stasis
13 years ago
Kevin Harwell 2eebab3992 Fix for segfault in __ast_rwlock_destroy with DEBUG_THREADS
13 years ago
David M. Lee 9648e258c7 Refactored the rest of the message types to use the STASIS_MESSAGE_TYPE_*
13 years ago
Richard Mudgett d1d1425327 Make ao2 global objects not always use the debug version of the ao2_ref() calls.
13 years ago
Michael L. Young 54424c2ee2 Fix Missing CALL-ID When Logging Through Syslog
13 years ago
Jonathan Rose 6a257dd534 pbx: Fix lack of cleanup on macrolock and context_table
13 years ago
Richard Mudgett 681b50df0a Fix SendText AMI action to never return non-zero.
13 years ago
David M. Lee 4666079b05 Address unload order issues for res_stasis* modules
13 years ago
Kinsey Moore 7ce05bfb9b Add channel events for res_stasis apps
13 years ago
David M. Lee ec53d7fa87 Removed #if checks for crazy old versions of OS X.
13 years ago
David M. Lee 0eb4cf8c19 Remove required type field from channel blobs
13 years ago
David M. Lee e06e519a90 Initial support for endpoints.
13 years ago
David M. Lee dd87bea808 Minor fixups to Doxygen comments.
13 years ago
Jason Parker 6b4da0959b Fix building with LOW_MEMORY defined.
13 years ago
Joshua Colp 40074542bf Add support for observers and JSON objectset creation to sorcery.
13 years ago
Matthew Jordan 6e2fe0c9ab Clean up documentation; prevent ref leak on exit
13 years ago
Jonathan Rose 1eac5a7988 Stasis: Convert network change events into network change stasis messages
13 years ago
Richard Mudgett 3232e23ca7 Remove the ABI compatability ast_channel_alloc(). It is no longer needed.
13 years ago