Commit Graph

752 Commits (f55e20ae83fee266182d059afb87d253e673ffaa)

Author SHA1 Message Date
Matthew Jordan e9520dbe0d clang compiler warnings: Fix -Wparantheses-equality warnings
11 years ago
Corey Farrell 3ddd92902a Replace most uses of ast_register_atexit with ast_register_cleanup.
11 years ago
Corey Farrell c08fd275bf Logger: Convert 'struct ast_callid' to unsigned int.
11 years ago
Kevin Harwell d04fbb0f9d app_chanspy, channel: fix frame leaks
11 years ago
Matthew Jordan a528dfc9a7 ARI/PJSIP: Apply requesting channel's format cap to created channels
11 years ago
Richard Mudgett e2d3215b83 HTTP: Stop accepting requests on final system shutdown.
11 years ago
Matthew Jordan 0c38276d6e presencestate: Allow channel drivers to provide presence state information
11 years ago
Mark Michelson fe7671fee6 Add new AMI and ARI events for connected line changes on a channel.
11 years ago
Kinsey Moore 4bb556a847 Stasis: Fix StasisStart/End order and missing events
11 years ago
Joshua Colp 7db3d1642b channel: Extend size of buffer for codecs in "core show channeltype" CLI command.
11 years ago
Richard Mudgett f91cb1207c AMI: Add missing VarSet events when a channel inherits variables.
11 years ago
Richard Mudgett 0165c5f95a chan_pjsip: Fix deadlock when masquerading PJSIP channels.
11 years ago
Matthew Jordan 64a9e5f001 main/channel: Unlock channel in off-nominal path
11 years ago
Mark Michelson fa6313ad29 Add API call to determine if format capability structure is "empty".
11 years ago
Richard Mudgett b7f98c3da4 chan_pjsip: Update media translation paths when new SDP negotiated.
11 years ago
Jonathan Rose 9b658b7c60 Bridging: Fix a behavioral change when checking if a channel is leaving a bridge
11 years ago
Richard Mudgett e4b32731b9 channel_internal_api.c: Replace some code with ao2_replace().
11 years ago
Jonathan Rose d4695774e7 Bridges: Fix feature interruption/unintended kick caused by external actions
11 years ago
Kinsey Moore 0ac7f96057 Stasis: Convey transfer information to applications
11 years ago
Kinsey Moore f1036f40dc Stasis: Allow message types to be blocked
11 years ago
Richard Mudgett 2758cc76e5 datastores: Audit ast_channel_datastore_remove usage.
11 years ago
Richard Mudgett a2ce95d9d2 accountcode: Slightly change accountcode propagation.
11 years ago
Matthew Jordan bb87796f67 ARI: Fix endpoint/channel subscription issues; allow for subscriptions to tech
11 years ago
Matthew Jordan a2c912e997 media formats: re-architect handling of media for performance improvements
11 years ago
Jonathan Rose af4cd65143 Channels: Masquerades to automatically move frame/audio hooks
11 years ago
Kinsey Moore e977b7936b Bridging: Allow channels to define bridging hooks
11 years ago
Matthew Jordan 9cc1a8e893 stasis: Reduce creation of channel snapshots to improve performance
12 years ago
Kinsey Moore 2bd6a010a6 Fix build in dev mode due to signed/unsigned mismatch
12 years ago
Matthew Jordan 20a14e568f bridges/bridge_native_rtp: Reconfigure bridge on removal of framehook
12 years ago
Matthew Jordan 42a1dee02d Undo r414123
12 years ago
Matthew Jordan 17ff4d9282 bridge_native_rtp/bridge_channel: Fix direct media issues due to frame hook
12 years ago
Joshua Colp d134150be2 framehooks: Add callback for determining if a hook is consuming frames of a specific type.
12 years ago
Joshua Colp e2ed86e4ca Undoing framehook support. Issues were uncovered by Bamboo.
12 years ago
Joshua Colp 3b3e4b9b95 framehooks: Add callback for determining if a hook is consuming frames of a specific type.
12 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
12 years ago
Richard Mudgett 03beadb6e9 internal_timing: Remove the option and always make it enabled if a timing module is loaded.
12 years ago
Richard Mudgett 9be438299d Add some asserts that were handy when looking for a stasis cache problem.
12 years ago
Mark Michelson d44aefeef4 Fix stuck channel in ARI through the introduction of synchronous bridge actions.
12 years ago
Richard Mudgett f627a0aca0 res_musiconhold.c: Generate MOH start/stop events whenever the MOH stream is started/stopped.
12 years ago
Scott Griepentrog 80ef9a21b9 uniqueid: channel linkedid, ami, ari object creation with id's
12 years ago
Kevin Harwell 41a80d6a9f channel.c: MOH is not working for transferee after attended transfer
12 years ago
Russell Bryant 33071d636c Protect ast_filestream object when on a channel
12 years ago
Kevin Harwell 20d02c1288 channels.c: core show channeltypes slicing
12 years ago
Matthew Jordan b172d369c4 res_pjsip: Add PJSIP CLI commands
12 years ago
Mark Michelson 1b91ee6c4b Fix a deadlock that occurred due to a conflict of masquerades.
12 years ago
Joshua Colp eb235ad05f channel: Add a missing ast_channel_unlock when allocating a Surrogate channel.
12 years ago
Kevin Harwell 28c0cb28d0 channel locking: Add locking for channel snapshot creation
12 years ago
Joshua Colp e2630fcd51 channels: Return allocated channels locked.
12 years ago
Rusty Newton f7c60b8fb6 Several components: fixing Typos in comments and code, "avaliable" instead of "available"
12 years ago
Kevin Harwell 84e1790beb bridge_native_rtp: Deadlock during 4-way conference creation
12 years ago
David M. Lee 1212906351 Reverting r403311. It's causing ARI tests to hang.
12 years ago
Mark Michelson 8e8b329e14 Add channel locking for channel snapshot creation.
12 years ago
Mark Michelson 94f19c8218 Switch to a scoped lock to avoid missing unlocks in failure returns.
12 years ago
Mark Michelson c0bc3f6b4c Move a NULL check to a place that makes more sense.
12 years ago
Matthew Jordan 076b29dd5b Remove some spammy debug messages; improve clarity of others
12 years ago
Richard Mudgett 057d105c5a Add channel lock protection around translation path setup.
12 years ago
Walter Doekes f33e0776ec Properly copy/remove the device state cache flag over a masquerade.
12 years ago
Mark Michelson ee21eee7e0 Cache string values of formats on ast_format_cap() to save processing.
12 years ago
Joshua Colp c1235f2639 Reduce channel snapshot creation and publishing by up to 50%.
12 years ago
David M. Lee 2de42c2a25 Multiple revisions 399887,400138,400178,400180-400181
12 years ago
Richard Mudgett 2a371cd80b Restore Dial, Queue, and FollowMe 'I' option support.
12 years ago
Richard Mudgett 6ebfac8e70 Handle DTMF and hold wrapup when a channel leaves the bridging system.
12 years ago
Matthew Jordan 4d348e853c Add pass through support for Opus and VP8; Opus format attribute negotiation
12 years ago
Richard Mudgett c25c093c67 Minor tweaks with ast_moh_start() callers.
12 years ago
Kinsey Moore 7b032c1adb Add SayAlphaCase and similar functionality for AGI
12 years ago
Richard Mudgett 62c2b80487 Remove unsupported channel technology callbacks.
12 years ago
Matthew Jordan 33e7b76d1d Hide the Surrogate channels from external consumers; kill Masquerade events
12 years ago
David M. Lee c790848794 ARI: Add recording controls
12 years ago
David M. Lee 357b275239 Fix res_ari_asterisk load issue
12 years ago
Mark Michelson f8622e7c5c Get rid of ast_bridged_channel() and the bridged_channel field on ast_channels.
12 years ago
Matthew Jordan cafc115896 A great big renaming patch
12 years ago
Richard Mudgett 70fbe9dc14 Add missing end-of-file line terminators.
12 years ago
Matthew Jordan d91dc6d1a8 Perform the initial renaming of the Bridging API
12 years ago
Matthew Jordan ff2f5eaa23 Kill the zombies
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
Jason Parker c1a7567d24 ARI: Add support for suppressing media streams.
12 years ago
Richard Mudgett 40ce5e0d18 Change ast_hangup() to return void and be NULL safe.
12 years ago
Richard Mudgett 6ba25dd3f2 Remove some dead code dealing with old bridging method.
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
Joshua Colp 7c044acbd9 Refactor operations to access the stasis cache instead of objects directly when retrieving information.
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
Jonathan Rose 93ed5ef0ff res_parking: Replace Parker snapshots with ParkerDialString
12 years ago
David M. Lee a75fd32212 ARI - channel recording support
12 years ago
Richard Mudgett 291711f85f chan_vpb: Fix compile error and __ast_channel_alloc() prototype const inconsistency.
13 years ago
Matthew Jordan 6258bbe7bd Update Asterisk's CDRs for the new bridging framework
13 years ago
Kinsey Moore 4f84e48028 Refactor CEL channel events on top of Stasis-Core
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
Joshua Colp fb6344e249 Publish the channel state snapshot *before* calling device state so a device state producer can use
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
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
Mark Michelson fac3839e68 Adds support for a core attended transfer function plus adds some hiding of masquerades.
13 years ago
Jason Parker 154fbf8cae Split Hold event into Hold/Unhold, and move it into core.
13 years ago
Richard Mudgett 3d63833bd6 Merge in the bridge_construction branch to make the system use the Bridging API.
13 years ago
Matthew Jordan d04f1fd60a Publish the outbound channel's application/data when dialing
13 years ago
David M. Lee 0eb4cf8c19 Remove required type field from channel blobs
13 years ago
Richard Mudgett 3232e23ca7 Remove the ABI compatability ast_channel_alloc(). It is no longer needed.
13 years ago
Richard Mudgett c137d12111 Fix crash when AMI redirect action redirects two channels out of a bridge.
13 years ago
David M. Lee 2450722f52 DTMF events are now published on a channel's stasis_topic. AMI was
13 years ago
Matthew Jordan b8d4e573f1 Add multi-channel Stasis messages; refactor Dial AMI events to Stasis
13 years ago
Kinsey Moore 71206544a7 Break the world. Stasis message type accessors should now all be named correctly.
13 years ago
David M. Lee 4a6237b231 Move NewCallerid, HangupRequest and SoftHangupRequest to Stasis
13 years ago
David M. Lee cf9324b25e Move more channel events to Stasis; move res_json.c to main/json.c.
13 years ago
Kinsey Moore 99aa02d17f Transition MWI to Stasis-core
13 years ago
David M. Lee c0e2ed1fe9 Ensure dummy channels get a stasis topic.
13 years ago
David M. Lee 4edd8be35c This patch adds a new message bus API to Asterisk.
13 years ago
Richard Mudgett 5b236ee647 Make ast_do_masquerade() a void function.
13 years ago
Richard Mudgett b7ecff2e4b Eliminate a use of a C++ keyword as a variable. new to new_frame
13 years ago
Matthew Jordan 7d9871b394 Add ControlPlayback manager action
13 years ago
David M. Lee d3bb2506a1 Gently reduce masquerade insanity
13 years ago
Richard Mudgett 2db3cc2e26 * Simplify native bridge code in ast_channel_bridge().
13 years ago
Richard Mudgett e31002b9b2 * Removed some noop code and restructured an else-if ladder in ast_generic_bridge().
13 years ago
Richard Mudgett 8760b2644e * Simple optimization of bridge_playfile().
13 years ago
Kinsey Moore ad582f9aef Add missing test event
13 years ago
Matthew Jordan 8fb5bdce9a Prevent exhaustion of system resources through exploitation of event cache
13 years ago
Richard Mudgett 255d82aae3 Give the causes[] a struct name.
13 years ago
Kinsey Moore dec9ee2f04 Add test events for time limit-related hangups
13 years ago
Richard Mudgett d7c59c19a8 Cleanup CLI commands on exit for several files.
13 years ago
Richard Mudgett 4ccf2c7aa5 Add red-black tree container type to astobj2.
13 years ago
Brent Eagles 6b07dd60cc Patch to prevent stopping the active generator when it is not the silence
13 years ago
Mark Michelson f2bb9afe17 Multiple revisions 375993-375994
13 years ago
Richard Mudgett 6ad0126425 Fix stuck DTMF when bridge is broken.
13 years ago
Matthew Jordan a0c363e227 Refactor ast_timer_ack to return an error and handle the error in timer users
13 years ago
Richard Mudgett f85db0e34d Things don't need to be that const.
13 years ago
Matthew Jordan a094707d51 Fix a variety of ref counting issues
13 years ago
Mark Michelson fdfb3ae5fa Allow for redirecting reasons to be set to arbitrary strings.
13 years ago
Richard Mudgett da5944fc56 Named call pickup groups. Fixes, missing functionality, and improvements.
13 years ago
David M. Lee 192e6a0f7a Fix timeouts for ast_waitfordigit[_full].
13 years ago
Richard Mudgett fb1d9a90a4 Enhance astobj2 to support other types of containers.
13 years ago
Jonathan Rose 595cd83d03 Masquerade: Retain parkinglot settings made by CHANNEL function.
13 years ago
Matthew Jordan 8018b879a2 Clean up doxygen warnings
13 years ago
Richard Mudgett 7a6393d8de Fix theoretical compile error with HAVE_EPOLL.
13 years ago
Richard Mudgett 6e2d8c06ea Initialize file descriptors for dummy channels to -1.
13 years ago
Richard Mudgett fb6238899b Add private representation of caller, connected and redirecting party ids.
13 years ago
Mark Michelson eb9e645a27 Allow support for early media on AMI originates and call files.
13 years ago
Kinsey Moore e571897441 Do not define a cause that doesn't actually exist
13 years ago
Kinsey Moore 3d212da105 Add missing AST_CAUSE_* -> text translations
13 years ago
Matthew Jordan 5c4578f4ad Add named callgroups/pickupgroups
13 years ago
Kinsey Moore 9b16c8b0f6 Clean up and ensure proper usage of alloca()
13 years ago
Kinsey Moore cb9756daa2 Add hangupcause translation support
13 years ago
Richard Mudgett 54991ca2a7 Add the AccountCode header to the AMI Hangup event.
13 years ago
Kevin P. Fleming 79087cbbd5 Ensure that all ast_datastore_info structures are 'const'.
13 years ago
Matthew Jordan 9bc2127d7b Fix validation errors when producing documentation using default build script
13 years ago
Matthew Jordan 2ffae5745d Add some additional documentation for core AMI events
13 years ago