Commit Graph

792 Commits (b85c9d80ca979620b4d9d892a98dba1cb859cb37)

Author SHA1 Message Date
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
12 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
13 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
Richard Mudgett ac35b92b62 Hangup handlers - Dialplan subroutines that run when the channel hangs up.
14 years ago
Kinsey Moore f080be134e Ensure that pvt cause information does not break native bridging
14 years ago
Kevin P. Fleming 166b4e2b30 Multiple revisions 369001-369002
14 years ago
Richard Mudgett f8746d0009 Allow non-normal execution routines to be able to run on hungup channels.
14 years ago
Richard Mudgett 72eb8eb1e7 Fix deadlock potential with ast_set_hangupsource() calls.
14 years ago
Richard Mudgett 8b2412db28 Tweak ast_channel_softhangup_withcause_locked() to take a typed parameter.
14 years ago
Mark Michelson c6a2cbab19 Remove some extra debugging I forgot to remove in the merge of Digium phone support.
14 years ago
Mark Michelson 14a985560e Merge changes dealing with support for Digium phones.
14 years ago
Richard Mudgett c1bbe79748 Fix potential deadlock between masquerade and chan_local.
14 years ago
Terry Wilson c7f2d02ef1 Fix race condition for CEL LINKEDID_END event
14 years ago
Richard Mudgett c857131945 Made ast_queue_hangup() and ast_queue_hangup_with_cause() lock instead of trylock.
14 years ago
Kinsey Moore 8e875bf298 Make the new SIP_CAUSE backend behave more like the original SIP_CAUSE
14 years ago
Jonathan Rose cd37bec058 logger: Adds additional support for call id logging and chan_sip specific stuff
14 years ago
Kinsey Moore b5a6de76fc Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE)
14 years ago
Richard Mudgett 2161d6870c * Made ast_change_name() hold the channels container lock while changing the channel name.
14 years ago
Richard Mudgett 4ea636c776 Run predial routine on local;2 channel where you would expect.
14 years ago
Kinsey Moore dd81b047db Resolve FORWARD_NULL static analysis warnings
14 years ago
Olle Johansson 7aa0c3c64b Make it possible to change the minimum DTMF duration in asterisk.conf
14 years ago
Olle Johansson db2b162e8c Formatting fixes
14 years ago
Richard Mudgett 73f48997f9 Add original party id and reason support.
14 years ago
Jonathan Rose e96a59acfd Replace GNU old-style field designator extensions to fix clang warnings
14 years ago
Mark Murawki e4252eac10 Allow the Hangup manager action to match channels by regex
14 years ago
Richard Mudgett 721f92058f Make number not available presentation also set screening to network provided.
14 years ago
Kinsey Moore c5b3db1956 Kill off red blobs in most of main/*
14 years ago
Richard Mudgett 9b31bd3cd8 Fix deadlock potential with some ast_indicate/ast_indicate_data calls.
14 years ago
Richard Mudgett 2019a7e6b9 Fix Dial m and r options and forked calls generating warnings for voice frames.
14 years ago
Terry Wilson 786f5898d1 Finalize ast_channel opaquification
14 years ago
Richard Mudgett 73ec67e008 Fix crash caused by opaquification change -r356042.
14 years ago
Richard Mudgett 9926662aba Remove ISDN hold restriction for non-bridged calls.
14 years ago
Mark Michelson fc558d28f2 Fix race condition that can cause important control frames (such as a hangup) to be missed.
14 years ago
Terry Wilson 0e5c761c28 Opaquify ast_channel typedefs, fd arrays, and softhangup flag
14 years ago
Terry Wilson a9d607a357 Opaquify ast_channel structs and lists
14 years ago
Richard Mudgett e063fa6b3f Fix REF_DEBUG compile errors.
14 years ago
Richard Mudgett ae07610d73 Fix ast_channel allocation init setting priority to -1 instead of 1.
14 years ago
Richard Mudgett 890717f305 Fix callerid of Originated calls.
14 years ago
Kinsey Moore 1fac2fba4b Deprecated macro usage for connected line, redirecting, and CCSS
14 years ago
Terry Wilson ebaf59a656 Opaquification for ast_format structs in struct ast_channel
14 years ago
Terry Wilson 3a9ac7c10c Rename ast_channel_emulate_dtmf_digit* funcs
14 years ago
Terry Wilson c25a442dfb Fix some opaquification-related compiler warnings
14 years ago
Terry Wilson 57f42bd74f ast_channel opaquification of pointers and integral types
14 years ago
Terry Wilson 34c55e8e7c Opaquify char * and char[] in ast_channel
14 years ago
Russell Bryant 747cd61edf Remove some unnecessary locking from ast_hangup().
14 years ago
Richard Mudgett 23bc964e1c Constify some more channel driver technology callback parameters.
14 years ago
Richard Mudgett a99b3c817b Fix ExtenSpy and simplify the channel search functions.
14 years ago
Terry Wilson 99cae5b750 Opaquify channel stringfields
14 years ago
Terry Wilson 9748f19e96 Always treat arguments to get_by_name_cb as strings
14 years ago
Richard Mudgett b7e814aea5 Fix compiler warnings reported by gcc v4.2.4.
14 years ago
Terry Wilson 04da92c379 Replace direct access to channel name with accessor functions
14 years ago
Richard Mudgett be74e6f16e Clean-up on isle five for __ast_request_and_dial() and ast_call_forward().
14 years ago
Richard Mudgett e71bad4958 Fix cut and past error in ast_call_forward().
14 years ago
Richard Mudgett b05d4603c4 Fix crash during CDR update.
14 years ago
Terry Wilson 59d6db63bd Don't read past end of input when calling write()
14 years ago
Terry Wilson 19d3e269f6 Avoid unnecessary WARNING message
14 years ago
Tzafrir Cohen 1ec8a9d896 Update SHA1 code to RFC 6234
14 years ago
Gregory Nietsky 3935595e43 Merged revisions 337431 via svnmerge from
14 years ago
Jonathan Rose beae2df26e Merged revisions 336307 via svnmerge from
14 years ago
Matthew Nicholson 638f34df7f Merged revisions 335434 via svnmerge from
14 years ago
Matthew Jordan 8b5ba33fe0 Merged revisions 335078 via svnmerge from
14 years ago
Richard Mudgett ab17a27f97 Merged revisions 334010 via svnmerge from
14 years ago
Terry Wilson 9d2af5071b Merged revisions 333681 via svnmerge from
14 years ago