Commit Graph

645 Commits (a80ae57cac1ee4ccab0a44c6cb45d1c184e5ca41)

Author SHA1 Message Date
Joshua Colp 7316abeb8f Fix a bug where synchronous origination (oddly enough triggered by doing an async manager Originate) would not work properly.
12 years ago
Joshua Colp 4e38a4eb64 Move origination to use the dialing API and send Stasis messages on dial begin and end.
12 years ago
David M. Lee b97c71bb11 Fix shutdown assertions in stasis-core
12 years ago
Jonathan Rose 6a257dd534 pbx: Fix lack of cleanup on macrolock and context_table
12 years ago
Kinsey Moore 71a01725b8 Move presence state distribution to Stasis-core
12 years ago
Kinsey Moore 191cf99ae1 Move device state distribution to Stasis-core
12 years ago
Matthew Jordan b8d4e573f1 Add multi-channel Stasis messages; refactor Dial AMI events to Stasis
12 years ago
Kinsey Moore 71206544a7 Break the world. Stasis message type accessors should now all be named correctly.
12 years ago
David M. Lee cf9324b25e Move more channel events to Stasis; move res_json.c to main/json.c.
12 years ago
David M. Lee 4edd8be35c This patch adds a new message bus API to Asterisk.
12 years ago
Kinsey Moore 2e1e0735fe Revamp of terminal color codes
12 years ago
Richard Mudgett 0e442112ad pbx: Fix regression caused by taking advantage of the function name sort.
12 years ago
Richard Mudgett 1e65035d17 pbx: Make function and application containers take advantage of being sorted.
12 years ago
Richard Mudgett 4f6c90bf3a Cleanup pbx on exit.
13 years ago
Richard Mudgett 95a4a82702 Fix extension matching with the '-' char.
13 years ago
Joshua Colp c42d9d0d62 Properly check if the "Context" and "Extension" headers are empty in a ShowDialPlan action.
13 years ago
Michael L. Young d04bf30215 Fix Dynamic Hints Variable Substition - Underscore Problem
13 years ago
Mark Michelson f2bb9afe17 Multiple revisions 375993-375994
13 years ago
Mark Michelson da85f8489f Make evaluation of channel variables consistently case-sensitive.
13 years ago
Walter Doekes 6d57ecd48c Change a few warnings to debug and the inverse.
13 years ago
Richard Mudgett 9a0ff62452 Fix execution of 'i' extension due to uninitialized variable.
13 years ago
Matthew Jordan a094707d51 Fix a variety of ref counting issues
13 years ago
Andrew Latham fd98835f1f Doxygen Updates Janitor Work
13 years ago
Kinsey Moore 8fb1897e89 Ensure counts generated in manager_show_dialplan_helper are correct
13 years ago
Matthew Jordan 8018b879a2 Clean up doxygen warnings
13 years ago
Mark Michelson 9ee8b3c0f6 Extend extension state callbacks to have more information.
13 years ago
Mark Michelson eb9e645a27 Allow support for early media on AMI originates and call files.
13 years ago
Kinsey Moore 9b16c8b0f6 Clean up and ensure proper usage of alloca()
13 years ago
Terry Wilson 38f1081fd3 Revert a change that broke compilation
13 years ago
Jonathan Rose 729c91b312 Don't attempt free of NULL ptr in pbx.c handle_presencechange
13 years ago
Kevin P. Fleming 79087cbbd5 Ensure that all ast_datastore_info structures are 'const'.
13 years ago
Matthew Jordan 2ffae5745d Add some additional documentation for core AMI events
13 years ago
Kinsey Moore 6416a246ed Improve Goto and GotoIf related documentation
13 years ago
Richard Mudgett ac35b92b62 Hangup handlers - Dialplan subroutines that run when the channel hangs up.
13 years ago
Jonathan Rose 5eb94d7ebb Unique Call ID logging Phases III and IV
13 years ago
Kevin P. Fleming 166b4e2b30 Multiple revisions 369001-369002
13 years ago
Richard Mudgett aaa591447d Make the Hangup application set a softhangup flag.
13 years ago
Mark Michelson 14a985560e Merge changes dealing with support for Digium phones.
13 years ago
Richard Mudgett e434a456cd Fix WaitExten(x,m(musicclass)) string termination.
13 years ago
Jonathan Rose a1da70097d logger: Fix a potential callid reference leak discovered in development
13 years ago
Matthew Jordan 7b51320642 Fix a variety of memory leaks
13 years ago
Jonathan Rose cd37bec058 logger: Adds additional support for call id logging and chan_sip specific stuff
13 years ago
Kinsey Moore dd81b047db Resolve FORWARD_NULL static analysis warnings
13 years ago
Jonathan Rose 8227f70cd7 Coverity Report: Fix issues for error type CHECKED_RETURN for core
13 years ago
Matthew Jordan 11faa15d11 Fix channel opaquification slip-up in r365477
13 years ago
Matthew Jordan 9e7de73fee Support VoiceMail d() option when extension does not exist in channel's context
13 years ago
Richard Mudgett b43f4a60dd * Add more information to some messages in __ast_pbx_run().
13 years ago
Kinsey Moore a485f44022 Add missing newlines to CLI logging
13 years ago
Jonathan Rose 655a8d4420 Introducing the log message unique call identifiers feature
13 years ago
Jonathan Rose d501c2ea2d undoing 360785 due to merging mistake
13 years ago
Jonathan Rose bf994f0e04 Introducing the log message unique call identifiers feature
13 years ago
Kinsey Moore c5b3db1956 Kill off red blobs in most of main/*
13 years ago
Richard Mudgett 334f13d8b8 Allow AMI action callback to be reentrant.
13 years ago
Mark Michelson 827f2eae92 Revert the pre-dial addition.
13 years ago
Mark Murawki d6e1c619d4 Fix warning from commit r359705 (predial options for app_dial)
13 years ago
Mark Murawki c65b41f57a Add options PreDial options 'b' and 'B' to app_dial
13 years ago
Russell Bryant 6ec5c103d6 Don't use a buffer after it goes out of scope.
13 years ago
Terry Wilson 786f5898d1 Finalize ast_channel opaquification
13 years ago
Terry Wilson 0e5c761c28 Opaquify ast_channel typedefs, fd arrays, and softhangup flag
13 years ago
Terry Wilson a9d607a357 Opaquify ast_channel structs and lists
13 years ago
Terry Wilson ebaf59a656 Opaquification for ast_format structs in struct ast_channel
13 years ago
Terry Wilson 57f42bd74f ast_channel opaquification of pointers and integral types
13 years ago
Tilghman Lesher a78b0af5ea Re-commit the verbose branch.
13 years ago
Terry Wilson 34c55e8e7c Opaquify char * and char[] in ast_channel
13 years ago
Walter Doekes db24fc2523 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
13 years ago
Richard Mudgett 23bc964e1c Constify some more channel driver technology callback parameters.
13 years ago
Richard Mudgett 27b69e7d29 Audit of ao2_iterator_init() usage for v1.8.
14 years ago
Terry Wilson 99cae5b750 Opaquify channel stringfields
14 years ago
Terry Wilson 04da92c379 Replace direct access to channel name with accessor functions
14 years ago
Jonathan Rose 573e1e5dc0 Fix documentation for SayNumber to reflect the fact that language is changed in CHANNEL()
14 years ago
Richard Mudgett 32e35e5fcd Fix extension state callback references in chan_sip.
14 years ago
Richard Mudgett b05d4603c4 Fix crash during CDR update.
14 years ago
Richard Mudgett 01d3fd2167 Fix some parsing issues in add_exten_to_pattern_tree().
14 years ago
Jonathan Rose 9b33408ba1 Documents CHANNEL(musicclass) taking priority over m([x]) in waitExten
14 years ago
Jonathan Rose c5fe1cfdc0 Resolve duplicate label used in multiple priorities for the same extension.
14 years ago
Richard Mudgett 1cef6cf8cd Fix Progress spelling error in main/pbx.c.
14 years ago
Jonathan Rose 8d994bed55 Fix a segmentation fault when using an extension with CID matching and no CID.
14 years ago
Matthew Jordan 9333071c1f Fixed invalid memory access when adding extension to pattern match tree
14 years ago
Matthew Nicholson bb07ca66a1 Merged revisions 340109 via svnmerge from
14 years ago
Richard Mudgett 55b70ae625 Merged revisions 337974 via svnmerge from
14 years ago
Olle Johansson 7b08b2cf53 Merged revisions 337219 via svnmerge from
14 years ago
Kinsey Moore 486b6042f3 Merged revisions 337062 via svnmerge from
14 years ago
Matthew Nicholson b292ff3b32 Merged revisions 335653 via svnmerge from
14 years ago
Matthew Jordan 8b5ba33fe0 Merged revisions 335078 via svnmerge from
14 years ago
Jonathan Rose eb14a69209 Removes colorful verb statements erroneously commited with r332760
14 years ago
Alec L Davis 7b63ad3afb Merged revisions 334617 via svnmerge from
14 years ago
Tilghman Lesher 25a8cb4265 Merged revisions 334235 via svnmerge from
14 years ago
Jonathan Rose 901e275c4c Add option for logging congested calls as CONGESTION instead of NO_ANSWER in CDR
14 years ago
Richard Mudgett b99b1116be Merged revisions 331265 via svnmerge from
14 years ago
Jonathan Rose d170e5e829 reverting 329840 due to failing tests. Going to change this feature to be purely optional.
14 years ago
Jonathan Rose 3ee80d6a90 Adds cdr logging of calls resulting in CONGESTION
14 years ago
Richard Mudgett c0f592df46 Merged revisions 329334 via svnmerge from
14 years ago
Richard Mudgett a5c65bb939 Merged revisions 329331 via svnmerge from
14 years ago
Matthew Nicholson 7eda60dca1 Merged revisions 327512 via svnmerge from
14 years ago
Matthew Nicholson 2ac180275d Merged revisions 327106 via svnmerge from
14 years ago
Richard Mudgett a0cbad527c Merged revisions 326985 via svnmerge from
14 years ago
David Vossel 09a359449e Merged revisions 324364 via svnmerge from
14 years ago
Leif Madsen 71e4b2a5d1 Merged revisions 324115 via svnmerge from
14 years ago
Russell Bryant c73ea18012 Merged revisions 317917 via svnmerge from
14 years ago
Russell Bryant 37aa52fd78 Merged revisions 316265 via svnmerge from
14 years ago
Richard Mudgett 24b6939496 Merged revisions 315645 via svnmerge from
14 years ago
Tzafrir Cohen 54802a099c fix a memory leak in device state
14 years ago
Paul Belanger 3556e4c2d4 Replace ast_log(LOG_DEBUG, ...) with ast_debug()
14 years ago
David Vossel c26c190711 Asterisk media architecture conversion - no more format bitfields
15 years ago
Russell Bryant 092134399c Merged revisions 303549 via svnmerge from
15 years ago
Jeff Peeler b1f9f1e78f Merged revisions 302266 via svnmerge from
15 years ago
Paul Belanger f485bfd1d3 Add dialplan variables for asterisk.conf directories
15 years ago
Stefan Schmidt 1482ba3057 move devices from hints into an ao2_container
15 years ago
Richard Mudgett 7c7486ad19 Merged revisions 295866 via svnmerge from
15 years ago
Russell Bryant 5f523a5de5 Merged revisions 290713 via svnmerge from
15 years ago
Tilghman Lesher bddb242d72 Merged revisions 290255 via svnmerge from
15 years ago
Matthew Nicholson 942cbb66dc Merged revisions 287559 via svnmerge from
15 years ago
Matthew Nicholson 6a7688012f Merged revisions 287309 via svnmerge from
15 years ago
Matthew Nicholson f31d1d9cdc Merged revisions 287120 via svnmerge from
15 years ago
Brett Bryant 9de3352554 Merged revisions 285711 via svnmerge from
15 years ago
Russell Bryant 2c75d02066 Merged revisions 282015 via svnmerge from
15 years ago
Russell Bryant a5ccfb570c Merged revisions 281982 via svnmerge from
15 years ago
Tilghman Lesher af43e57821 Merged revisions 280984 via svnmerge from
15 years ago
Matthew Nicholson 1c848835aa Merged revisions 277327 via svnmerge from
15 years ago
Richard Mudgett ec37ffbdaf ast_callerid restructuring
15 years ago
Eliel C. Sardanons a1b89a6a50 Implement AstData API data providers as part of the GSOC 2010 project,
15 years ago
Tilghman Lesher 8fe8d98dba Uh, yeah.
15 years ago
Tilghman Lesher a3342f0c67 Send DialPlanComplete as a response, not as a separate event.
15 years ago
Tilghman Lesher 7037dd6680 Merged revisions 270583 via svnmerge from
15 years ago
Leif Madsen c672763af8 Fix some doxygen warnings.
15 years ago
Tilghman Lesher 815d7bfe44 Let ExtensionState resolve dynamic hints.
15 years ago
Mark Michelson 10d65ad6b1 Fix potential invalid reads that could occur in pbx.c
15 years ago
Russell Bryant a0d74cef66 Use memmove() instead of memcpy() for a case where the buffers overlap.
16 years ago
Mark Michelson 630b8027c3 Merged revisions 243486 via svnmerge from
16 years ago
Olle Johansson 7c61a7105f Change api for pbx_builtin_setvar to actually return error code if a function can't be written to.
16 years ago
Alec L Davis c7be027151 Update CDR variables as pbx starts
16 years ago
Jeff Peeler 8fd9401e3d Initialize data on the stack so that Park doesn't interpret random arguments.
16 years ago
Sean Bright 9e02292e5c Avoid a crash on Solaris when running 'core show functions.'
16 years ago
Sean Bright e612d87695 Convert a few places to use ast_calloc_with_stringfields where applicable.
16 years ago
Tilghman Lesher 3eb8f0a8dc Similarly, ensure that matchcid is duplicated correctly when merging contexts.
16 years ago
Tilghman Lesher 20e57b12e8 Ensure that the callerid is NULL when the parent is effectively NULL.
16 years ago
Tilghman Lesher 87ea570ef1 Oops, another tag error
16 years ago
Tilghman Lesher b01df91513 Oops, missed a closing tag
16 years ago
Tilghman Lesher ecbe7eff7a Add the TESTTIME() dialplan function, which permits testing GotoIfTime.
16 years ago
Tilghman Lesher d80a38310a Blank callerid and NULL callerid should not compare equal.
16 years ago
David Vossel bebe42f3a7 fixes subscriptions being lost after 'module reload'
16 years ago
Tilghman Lesher 7acf8196d0 Merged revisions 237493 via svnmerge from
16 years ago
Tilghman Lesher 386b847075 Merged revisions 237405 via svnmerge from
16 years ago
Tilghman Lesher e4c1fc1e4a Merged revisions 235421 via svnmerge from
16 years ago
Tilghman Lesher d32c333f7c Trim leading/trailing spaces from the filename, to deal with common user error.
16 years ago
David Vossel 176c8a0185 Merged revisions 231853 via svnmerge from
16 years ago
David Brooks bac499e521 Merged revisions 229498 via svnmerge from
16 years ago
Tilghman Lesher 4c8319190b Merged revisions 229360 via svnmerge from
16 years ago
Tilghman Lesher d8e0c58437 Expand codec bitfield from 32 bits to 64 bits.
16 years ago
Tilghman Lesher 496282194c Merged revisions 225105 via svnmerge from
16 years ago
Tilghman Lesher c74a2d0b45 Create an API for adding an optional time unit onto the ends of time periods.
16 years ago
David Vossel 9456ab2724 Deadlock in channel masquerade handling
16 years ago
Tilghman Lesher 1cf5422dc8 Merged revisions 220288 via svnmerge from
16 years ago
David Brooks 077b44c43f Merged revisions 218867 via svnmerge from
16 years ago
Tilghman Lesher 1ca9bc4e1e Check the origination priority for more matches, not the current priority.
16 years ago
Tilghman Lesher ad69df830d Enable turning off the application delimiter warning with the 'dontwarn' option.
16 years ago
Olle Johansson 98f18d56b8 Merged revisions 216430 via svnmerge from
16 years ago
Tilghman Lesher c1b4f0c4c9 Merged revisions 213970 via svnmerge from
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
Matthew Nicholson a638000451 Fix a CEL related regression with hints updating by subscribing to AST_DEVICE_STATE instead of AST_DEVICE_STATE_CHANGED.
16 years ago
David Vossel e39a252b1e Merged revisions 205409 via svnmerge from
16 years ago
David Vossel 48c9a85d91 Merged revisions 204681 via svnmerge from
16 years ago
Russell Bryant cce4fad522 Make invalid hints report Unavailable instead of Idle.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
David Brooks df649a8671 Fixes the argument order in definition of new_find_extension().
16 years ago
Sean Bright 3abe8a963e Add new ast_complete_applications function so that we can use it with the
16 years ago
Eliel C. Sardanons 2c882626a0 Implement a new element in AstXML for AMI actions documentation.
16 years ago
Sean Bright fcda626f3c Fix build under dev mode and remove some casts that are no longer necessary as
16 years ago
Eliel C. Sardanons bb838bc67a Avoid using prototypes when not necessary (it is already defined in the header
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Eliel C. Sardanons d24179825f Warn about the use of the application WaitExten() within a Macro().
16 years ago
Eliel C. Sardanons 766972a3cd Fix a missing unlock in case of error, and a missing free().
16 years ago
Tilghman Lesher 5a3797643c If the timing ended on a zero, then we would loop forever.
16 years ago
Tilghman Lesher b399b5389d Merged revisions 194137 via svnmerge from
16 years ago
Tilghman Lesher c524f905a6 Two fixes found while debugging with ast_backtrace():
16 years ago
Kevin P. Fleming 1c988d8996 add 'const' qualifiers in various places where they should have been
16 years ago
Tilghman Lesher 9cd0a94aeb Merged revisions 193119 via svnmerge from
16 years ago
Jeff Peeler 658f81cb57 If no extension was found in the pattern tree, don't crash.
16 years ago
Tilghman Lesher ec37b8e527 Part of the merge did not happen correctly, which resulted in a compile error
16 years ago
Tilghman Lesher a866a75900 Merge str_substitution branch.
16 years ago
Tilghman Lesher b88343b248 Don't warn on pipe in the System call.
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Tilghman Lesher d6c48bc134 Labels are sometimes (most of the time?) NULL for extensions.
16 years ago
Matthew Nicholson 37213d492e Merged revisions 189009 via svnmerge from
16 years ago
Mark Michelson f7292de7ba Fix a spacing issue that I claimed I would when I committed this code.
16 years ago
Mark Michelson 6c29f76d2c Several fixes to the extenpatternmatchnew logic.
16 years ago
Tilghman Lesher a74fda63fd As suggested by Russell, warn users when their dialplan arguments contain pipes, but not commas.
16 years ago
Tilghman Lesher 1030a25ac9 Modify headers and macros, according to Russell's suggestions on the -dev list
16 years ago
Jeff Peeler de4af72f9f Add ability for dialplan execution to continue when caller hangs up.
16 years ago
Russell Bryant b564b2105f Change g_eid to ast_eid_default.
16 years ago
Tilghman Lesher ac7e490b94 Spacing changes only
16 years ago
Tilghman Lesher 4ec79becd3 Merged revisions 177786 via svnmerge from
16 years ago
Steve Murphy 0fe1df19df This patch fixes merge_contexts_and_delete so it does not deadlock when hints are present.
16 years ago
Russell Bryant a844cfa904 Fix a number of incorrect uses of strncpy().
16 years ago
Russell Bryant 4ec301360c Merge a large set of updates to the Asterisk indications API.
16 years ago
Russell Bryant 184872fdfd Fix a race condition that caused device states to become incorrect for hints.
16 years ago
Russell Bryant 6a0773602a add missing </para>
17 years ago
Mark Michelson 47ebea6a8d Fix 'd' option for app_dial and add new option to Answer application
17 years ago
Tilghman Lesher f90021fdd0 Ensure that commas placed in the middle of extension character classes do not
17 years ago
Steve Murphy 268ac221a2 Merged revisions 172030 via svnmerge from
17 years ago