Commit Graph

927 Commits (master)

Author SHA1 Message Date
Mark Michelson 2b150f0b80 func_odbc: Check connection status before executing queries.
9 years ago
Mark Michelson 924738e950 func_odbc: Use one connection per DSN.
9 years ago
Matthew Jordan 6bbcfb34bd funcs/func_curl: Add the ability for CURL to download and store files
9 years ago
Gianluca Merlo 8f94f947f5 func_aes: fix misuse of strlen on binary data
9 years ago
Richard Mudgett 0bdbf0d882 func_callerid.c: Update REDIRECTING reason documentation.
9 years ago
Sean Bright e5fd972d24 func_iconv: Ensure output strings are properly terminated.
9 years ago
Mark Michelson 9714da7aa4 res_odbc: Remove connection management
9 years ago
Matt Jordan 3b9cba4294 funcs/func_cdr: Correctly report high precision values for duration and billsec
9 years ago
Rusty Newton 68cad96ffd func_channel: Add help text for undocumented CHANNEL function arguments
9 years ago
Joshua Colp 0be147f713 Merge "ast_format_cap_get_names: To display all formats, the buffer was increased."
10 years ago
Alexander Traud cf79b62778 ast_format_cap_get_names: To display all formats, the buffer was increased.
10 years ago
Walter Doekes 7dd8f89a50 func_callerid: Document that CALLERID(pres) is available.
10 years ago
Matt Jordan 7be6194d6f funcs/func_holdintercept: Actually add the HOLD_INTERCEPT function
10 years ago
Ivan Poddubny c944263e36 func_presencestate: Return "not_set" when no data is set in AstDB
10 years ago
Rusty Newton d02196448b Documentation: A couple of trivial fixes in sip.conf.sample and func_cdr.c
10 years ago
Corey Farrell ea9d5f155e func_pjsip_aor: Fix leaked contact from iterator.
10 years ago
Corey Farrell 0a46d43b9c Fix potential crash after unload of func_periodic_hook or test_message.
10 years ago
Rodrigo Ramírez Norambuena eec010829a AST_MODULE_INFO: Format corrections to the usages of AST_MODULE_INFO macro.
10 years ago
George Joseph 298faf7c50 pjsip_options: Fix non-qualified contacts showing as unavailable
10 years ago
Mark Michelson aae45acbda Detect potential forwarding loops based on count.
10 years ago
Matt Jordan 4a58261694 git migration: Refactor the ASTERISK_FILE_VERSION macro
10 years ago
Matthew Jordan ea0098724e clang compiler warnings: Fix autological comparisons
10 years ago
Matthew Jordan af4d802773 clang compiler warnings: Fix sometimes-initialized warning in func_math
10 years ago
Matthew Jordan d2776d4d45 clang compiler warnings: Fix a variety of "unused" warnings
10 years ago
Matthew Jordan 60f01520e7 Fix compilations errors on 64-bit OpenBSD systems
10 years ago
Matthew Jordan 627cc16a8d funcs/func_env: Fix regression caused in FILE read operation
10 years ago
Joshua Colp 0d52907d2b func_curl: Don't hold exclusive lock when performing HTTP request.
10 years ago
Matthew Jordan b4cc056067 FILE: fix retrieval of file contents when offset is specified
10 years ago
Mark Michelson 3cccfac399 Multiple revisions 431297-431298
10 years ago
David M. Lee 965777ccfc Various fixes for OS X
10 years ago
Walter Doekes 49cbfa7de6 Fix typo's (retrieve, specified, address).
10 years ago
Richard Mudgett e4738a59eb CHANNEL(peer), chan_iax2, res_fax, SNMP agent: Fix deadlock from reaching across a bridge.
10 years ago
Matthew Jordan b38acbce6e funcs/func_curl: Fix memory leak when CURLOPT channel datastore is destroyed
10 years ago
George Joseph 685f7ef924 func_config: Add ability to retrieve specific occurrence of a variable
10 years ago
Joshua Colp f7cf988a82 pjsip: Add 'PJSIP_AOR' and 'PJSIP_CONTACT' dialplan functions.
10 years ago
Kevin Harwell 2486b48cec AST-2014-018 - func_db: DB Dialplan function permission escalation via AMI.
11 years ago
Corey Farrell 97e1c7f3a9 func_talkdetect: Fix stasis message leak in audiohook callback.
11 years ago
Corey Farrell ab16f46139 func_cdr: Fix CDR_PROP payload leak
11 years ago
Richard Mudgett 0165c5f95a chan_pjsip: Fix deadlock when masquerading PJSIP channels.
11 years ago
Walter Doekes 37179a2b1f core: Don't allow free to mean ast_free (and malloc, etc..).
11 years ago
Richard Mudgett 9183416fe2 func_channel: Add CHANNEL(onhold) item to get the current hold status of the channel.
11 years ago
Richard Mudgett 025bd1bf3f func_channel.c: Add missing locking to some CHANNEL() requests.
11 years ago
George Joseph 1de8b8035e func_config: Change 'Not Found' message from ERROR to DEBUG
11 years ago
Matthew Jordan 6650704414 funcs/func_jitterbuffer: Tweak documentation
11 years ago
Walter Doekes 8610daec3b Add documentation to the ability to retrieve the source port of a SIP call.
11 years ago
Kinsey Moore f1036f40dc Stasis: Allow message types to be blocked
11 years ago
Matthew Jordan 922e3203a9 xmldocs: Add support for an <example> tag in the Asterisk XML Documentation
11 years ago
Richard Mudgett 2758cc76e5 datastores: Audit ast_channel_datastore_remove usage.
11 years ago
Mark Michelson dcf1ad14da Add module support level to ast_module_info structure. Print it in CLI "module show" .
11 years ago
Matthew Jordan a2c912e997 media formats: re-architect handling of media for performance improvements
11 years ago
Richard Mudgett b71be2112e func_audiohookinherit.c: Fixup some XML documentation wording.
11 years ago
Jonathan Rose af4cd65143 Channels: Masquerades to automatically move frame/audio hooks
11 years ago
Jonathan Rose 4420ce6e5c func_uri: URIENCODE/URIDECODE - allow empty strings as argument
11 years ago
Mark Michelson fc52fd8884 Allow the PUSH and UNSHIFT functions to set inheritable channel variables.
11 years ago
Walter Doekes 795af210a3 func_odbc: Fix fixed size buffers fix (r414968).
11 years ago
Matthew Jordan 53968c00b3 TALK_DETECT: A channel function that raises events when talking is detected
11 years ago
Joshua Colp dcfae78574 res_config_odbc: Use dynamically sized buffers to store row data so values do not get truncated.
11 years ago
Scott Griepentrog 43bd3580e2 pbx.c: prevent potential crash from recursive replace()
11 years ago
Kinsey Moore 21949def8e Fix 32bit build for func_env
11 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
11 years ago
Mark Michelson 68066907e1 Ensure that presence state is decoded properly on Asterisk startup.
11 years ago
Mark Michelson 120ac66df9 Make behavior of the PRESENCE_STATE 'e' option more consistent.
11 years ago
Russell Bryant 4b9b4790d9 Fix error loading res_monitor.
11 years ago
Russell Bryant 5b7a769fd8 (mix)monitor: Add options to enable a periodic beep
11 years ago
Russell Bryant 39ba6a16f5 func_periodic_hook: move module ref
11 years ago
Russell Bryant 23329d07cf func_periodic_hook: add module ref counting
11 years ago
Russell Bryant 607c6e9772 func_periodic_hook: List more modules as dependencies
11 years ago
Russell Bryant ea290b2c3e func_periodic_hook: New function for periodic hooks.
11 years ago
Corey Farrell fbe0dfaf44 Fix dialplan function NULL channel safety issues
11 years ago
Mark Michelson d44aefeef4 Fix stuck channel in ARI through the introduction of synchronous bridge actions.
11 years ago
George Joseph a4906e9f86 sorcery: Create AST_SORCERY dialplan function.
11 years ago
Mark Michelson ad39358e19 Fix documentation for PRESENCE_STATE to properly illustrate how to create a presence hint.
11 years ago
Michael L. Young 959c3a7c15 func_audiohookinheritance: Check If A Channel Was Specified
11 years ago
Matthew Jordan 5fd63e2d0b funcs/func_cdr: Handle empty time values when extracting parsed values
11 years ago
Matthew Jordan 9e7a10d894 funcs/func_cdr: Fix non-epoch timestamps broken by improper char array deref
11 years ago
Richard Mudgett 828f339a9c verbosity: Fix performance of console verbose messages.
11 years ago
Matthew Jordan 373965dbff CDRs: Synchronize dialplan applications that manipulate CDRs with the engine
11 years ago
Scott Griepentrog ff02c8e254 func_strings: use memmove to prevent overlapping memory on strcpy
11 years ago
Richard Mudgett e4803bbd9e Voicemail: Remove mailbox identifier format (box@context) assumptions in the system.
12 years ago
Matthew Jordan 7e9febbf86 app_cdr,app_forkcdr,func_cdr: Synchronize with engine when manipulating state
12 years ago
Kevin Harwell 28c0cb28d0 channel locking: Add locking for channel snapshot creation
12 years ago
Rusty Newton 2a6df87fcd func_strings: Documentation fix for QUOTE()
12 years ago
David M. Lee 744556c01d security: Inhibit execution of privilege escalating functions
12 years ago
Matthew Jordan ce423d2ea4 func_channel, chan_pjsip: Add CHANNEL read function support for chan_pjsip
12 years ago
Matthew Jordan f46b30bd36 func_pjsip_endpoint: Add PJSIP_ENDPOINT function for querying endpoint details
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
Jonathan Rose beb5cdbef5 memory leaks: Memory leak cleanup patch by Corey Farrell (first set)
12 years ago
Kinsey Moore 4e72ad1b4f Fix func_config list entry allocation
12 years ago
Matthew Jordan de07050d0f Parse arguments passed to the CDR_PROP function correctly
12 years ago
David M. Lee 2de42c2a25 Multiple revisions 399887,400138,400178,400180-400181
12 years ago
Richard Mudgett 83bf017db9 Fix incorrect usages of ast_realloc().
12 years ago
Richard Mudgett 186db8fdaf Fix some uninitialized buffers for CDR handling valgrind found.
12 years ago
Richard Mudgett 5482fd21c8 Some CDR code optimization.
12 years ago
Richard Mudgett 4ea0acbb44 Whitespace and curly braces.
12 years ago
Kinsey Moore 59753b1ea1 Strip down the old event system
12 years ago
David M. Lee c790848794 ARI: Add recording controls
12 years ago
Walter Doekes 07d3705b42 Check result of ast_var_assign() calls for memory allocation failure (2).
12 years ago
Walter Doekes ccdfe67bf2 Check result of ast_var_assign() calls for memory allocation failure.
12 years ago
Mark Michelson f8622e7c5c Get rid of ast_bridged_channel() and the bridged_channel field on ast_channels.
12 years ago
Kinsey Moore 03090a88ba Fix documentation replication issues
12 years ago
Matthew Jordan cafc115896 A great big renaming patch
12 years ago
Matthew Jordan 9d8a5ceb02 Move after bridge callbacks into their own file
12 years ago
Jonathan Rose f3fcf0aa2e func_channel: dtmf_features setting
12 years ago
Matthew Jordan 88e344d2df Clean up documentation
12 years ago
Matthew Jordan a3592db1fb Clarify documentation for function PASSTHRU
12 years ago
Jonathan Rose d014ad2261 func_channel: Read/Write after_bridge_goto option
12 years ago
Matthew Jordan 68103abba3 Handle variable substitution in dummy variables
12 years ago
David M. Lee 4aa47d6893 Fix build warnings related to printf/scanf of tv_usec.
12 years ago
Matthew Jordan 6258bbe7bd Update Asterisk's CDRs for the new bridging framework
12 years ago
Richard Mudgett 3d63833bd6 Merge in the bridge_construction branch to make the system use the Bridging API.
12 years ago
David M. Lee b97c71bb11 Fix shutdown assertions in stasis-core
12 years ago
Matthew Jordan b3bb6608ef Migrate SHARED's use of the VarSet AMI event to Stasis-Core
12 years ago
Kinsey Moore 71a01725b8 Move presence state distribution to Stasis-core
12 years ago
Matthew Jordan 1cafccdf87 Update documentation for CHANNEL function
12 years ago
Walter Doekes 220cc9b9af Have func_curl log a warning when a curl request fails.
12 years ago
Walter Doekes 0b1e78cace Minor cleanup in func_curl near hashcompat code.
12 years ago
Jonathan Rose d7a616c945 PRESENCE_STATE: Provide better documentation for the 'e' option.
12 years ago
Matthew Jordan c209e85ad3 Fix crash in PresenceState AMI action when specifying an invalid provider
12 years ago
Richard Mudgett 32ac38ea37 Improve func FRAME_TRACE DTMF digit format.
12 years ago
Matthew Jordan 7d9871b394 Add ControlPlayback manager action
12 years ago
Matthew Jordan 89f9e077d7 Prevent crashes from occurring when reading from data sources with large values
12 years ago
Matthew Jordan 8fb5bdce9a Prevent exhaustion of system resources through exploitation of event cache
12 years ago
Sean Bright 0877ba5b37 Minor spelling fix to the VOLUME documentation.
13 years ago
Matthew Jordan a0c363e227 Refactor ast_timer_ack to return an error and handle the error in timer users
13 years ago
Mark Michelson da85f8489f Make evaluation of channel variables consistently case-sensitive.
13 years ago
Andrew Latham b106b77041 Title update
13 years ago
Mark Michelson fdfb3ae5fa Allow for redirecting reasons to be set to arbitrary strings.
13 years ago
Mark Michelson d9d7b1f3e3 "He who go through turnstile sideways is going to Bangkok"
13 years ago
Jonathan Rose 87370eeced func_audiohookinherit: Document some missed sources.
13 years ago
Andrew Latham 6f61cb50c5 Doxygen Updates - janitor work
13 years ago
Richard Mudgett da5944fc56 Named call pickup groups. Fixes, missing functionality, and improvements.
13 years ago
Richard Mudgett 8b90b7a565 Remove annoying unconditional debug message from INC/DEC functions.
13 years ago
Mark Michelson 6a539ace84 Fix misuses of asprintf throughout the code.
13 years ago
Matthew Jordan 78fea20ea7 Make the name of the "HangupCauseClear" application consistent
13 years ago
Richard Mudgett fb6238899b Add private representation of caller, connected and redirecting party ids.
13 years ago
Kinsey Moore 9b16c8b0f6 Clean up and ensure proper usage of alloca()
13 years ago
Richard Mudgett 49a6b4935e Fix some presence-state unit test typos.
13 years ago
Matthew Jordan b6a0ae0b35 Unit tests for the Jitter Buffer API; remove unnecessary resync
13 years ago
Kevin P. Fleming ec14c2563e Improve documentation for the SHELL() dialplan function.
13 years ago
Kinsey Moore cb9756daa2 Add hangupcause translation support
13 years ago
Kevin P. Fleming 79087cbbd5 Ensure that all ast_datastore_info structures are 'const'.
13 years ago
Michael L. Young 6761812566 Correct Documentation For DEC Function
13 years ago
Michael L. Young 9bd9eb809c Reverting last merge since it wasn't completed properly.
13 years ago
Michael L. Young a8c12c6e67 Correct Documentation For DEC Function
13 years ago
Tilghman Lesher 6190ae4430 Allow the REALTIME() function to report errors back to the caller.
13 years ago
Richard Mudgett ac35b92b62 Hangup handlers - Dialplan subroutines that run when the channel hangs up.
13 years ago
Kevin P. Fleming 166b4e2b30 Multiple revisions 369001-369002
13 years ago
Mark Michelson 21997aa7bb Fix a deadlock that occurs when func_volume is used on a local channel.
13 years ago
Mark Michelson 14a985560e Merge changes dealing with support for Digium phones.
13 years ago
Michael L. Young a7a3050de9 Add documentation to function CHANNEL for options echocan_mode and buffers
13 years ago
Richard Mudgett dd2427c141 Coverity Report: Fix issues for error type REVERSE_INULL (core modules)
13 years ago
Matthew Jordan 6eb4e81033 Fix more memory leaks
13 years ago
Matthew Jordan 7b51320642 Fix a variety of memory leaks
13 years ago
Kinsey Moore b5a6de76fc Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE)
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
Jonathan Rose d1e7473649 Coverity Report: Fix issues for error type UNINIT in Core supported modules
13 years ago
Kinsey Moore 781f4657b9 Fix many issues from the NULL_RETURNS Coverity report
13 years ago
Mark Michelson b5f0647fc8 Fix Coverity-reported ARRAY_VS_SINGLETON error.
13 years ago
Richard Mudgett 73f48997f9 Add original party id and reason support.
13 years ago
Walter Doekes 92ca507d72 Fix documentation for ${VERSION(ASTERISK_VERSION_NUM)}.
13 years ago
Matthew Jordan 2cc415417e Fix places where a negative return from ftello could be used as invalid input
13 years ago
Walter Doekes fc63e07135 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
13 years ago
Matthew Jordan 38c0a62413 Allow func_curl to exit gracefully if list allocation fails during write
13 years ago
Matthew Jordan f4fd1b2fb0 Change SHARED function to use a safe traversal when modifying a variable
13 years ago
Kinsey Moore a485f44022 Add missing newlines to CLI logging
13 years ago
Paul Belanger fcb7eb3c59 Multiple revisions 361403,361412
13 years ago
Jonathan Rose 6cd462cca8 Make 'help devstate change' display properly (get rid of excess comma)
13 years ago
Russell Bryant 5affceaa15 func_curl: Fix leak of an ast_str in error handling code path.
13 years ago
Tilghman Lesher 9af5c769c3 Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4.
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
Terry Wilson 8100a1703d Note that CDRs are immutable once a bridge is torn down
13 years ago
Walter Doekes db24fc2523 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
13 years ago
Terry Wilson 99cae5b750 Opaquify channel stringfields
13 years ago
Richard Mudgett 2144ba5df2 Fix locking issues with channel datastores in func_odbc.c.
13 years ago
Richard Mudgett 20c6ff71b6 Fix ast_app_dtget() time unit inconsistency.
13 years ago
Richard Mudgett 47a55ad652 Fix absolute/relative time mismatch in LOCK function.
13 years ago
Terry Wilson 04da92c379 Replace direct access to channel name with accessor functions
13 years ago
Richard Mudgett b05d4603c4 Fix crash during CDR update.
14 years ago
Richard Mudgett 5dbff9a2a8 Remove invalid flag given to iterator in func_dialgroup.c
14 years ago
Paul Belanger 0e887d1a50 Fixed typo from previous commit
14 years ago
Paul Belanger 5f5e908b19 Updated documentation for the optional CID parameter with CALLERID
14 years ago
Jonathan Rose e77f1a6ae1 Some additional module documentation changes for 10 for the menuselect change.
14 years ago
Gregory Nietsky fca9962766 Merged revisions 338995 via svnmerge from
14 years ago
Richard Mudgett 55b70ae625 Merged revisions 337974 via svnmerge from
14 years ago
Tilghman Lesher 4310b5ad59 ................
14 years ago
Richard Mudgett 1313c12847 Merged revisions 337119 via svnmerge from
14 years ago
Tilghman Lesher 8c06ce6cc9 Merged revisions 336789 via svnmerge from
14 years ago
Terry Wilson 46a21ca6d9 Merged revisions 336316 via svnmerge from
14 years ago
Terry Wilson 9223069c6e Merged revisions 336313 via svnmerge from
14 years ago
Matthew Jordan 8b5ba33fe0 Merged revisions 335078 via svnmerge from
14 years ago
Gregory Nietsky 8017b65bb9 Merged revisions 335014 via svnmerge from
14 years ago
Richard Mudgett e12184cf95 Merged revisions 331576 via svnmerge from
14 years ago
Kinsey Moore c3bd5892a6 Allow ENUM query functions to report lookup errors
14 years ago