Commit Graph

3676 Commits (d78f7f92b2afa033ff959e84bf164454ca9a5de8)

Author SHA1 Message Date
Richard Mudgett 8b2412db28 Tweak ast_channel_softhangup_withcause_locked() to take a typed parameter.
14 years ago
Terry Wilson 9f704b5d59 Fix reloading an unchanged file with the Config Options API
14 years ago
Terry Wilson aeeff8cfa2 Add default handler documentation and standardize acl handler
14 years ago
Richard Mudgett a2402dbe25 Fix parked call performing a DTMF blind transfer after being retrieved.
14 years ago
Richard Mudgett faacb8ba52 Make builtin_blindtransfer() fully use ast_async_goto() abilities.
14 years ago
Kinsey Moore 571445ab9c Convert AST_FLAG_ANSWERED_ELSEWHERE usage to AST_CAUSE_ANSWERED_ELSEWHERE
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
Joshua Colp 380c7c5c39 Add res_http_websocket module which implements the WebSocket protocol according to RFC 6455.
14 years ago
Terry Wilson d54717c39e Add new config-parsing framework
14 years ago
Richard Mudgett dd2427c141 Coverity Report: Fix issues for error type REVERSE_INULL (core modules)
14 years ago
Jonathan Rose bdaecbb66b chan_sip: fix problem directmediapermit/deny uses the wrong address
14 years ago
Richard Mudgett e434a456cd Fix WaitExten(x,m(musicclass)) string termination.
14 years ago
Jonathan Rose a1da70097d logger: Fix a potential callid reference leak discovered in development
14 years ago
Mark Michelson 30666bf67d Only call SSL_CTX_free if DO_SSL is defined.
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
Mark Michelson 8b1193087e Revert revision 367163.
14 years ago
Mark Michelson e5f1f0496a Add "send to voicemail" Digium phone functionality to Asterisk.
14 years ago
Mark Michelson 11348736af Address MISSING_BREAK static analysis reports some more.
14 years ago
Mark Michelson 5c576aa3c2 Fix memory leak of SSL_CTX structures in TLS core.
14 years ago
Matthew Jordan 6eb4e81033 Fix more memory leaks
14 years ago
Matthew Jordan 7b51320642 Fix a variety of memory leaks
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
Richard Mudgett d4fa095a64 Change ao2 global array to ao2 global object holder.
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
Jonathan Rose 8227f70cd7 Coverity Report: Fix issues for error type CHECKED_RETURN for core
14 years ago
Jonathan Rose d1e7473649 Coverity Report: Fix issues for error type UNINIT in Core supported modules
14 years ago
Richard Mudgett 06fe3e5abe Change comment to use local channel name designators in features.c
14 years ago
Matthew Jordan 11faa15d11 Fix channel opaquification slip-up in r365477
14 years ago
Matthew Jordan 9e7de73fee Support VoiceMail d() option when extension does not exist in channel's context
14 years ago
Kinsey Moore 781f4657b9 Fix many issues from the NULL_RETURNS Coverity report
14 years ago
Terry Wilson 07309e586c Multiple revisions 365006,365068
14 years ago
Matthew Jordan 54143892af Only log a failure to get read/write samples from factories if it didn't happen
14 years ago
Richard Mudgett 1420522c6e Fixed __ao2_ref() validating user_data twice.
14 years ago
Jason Parker 885fbf6b04 Prevent a potential crash when using manager hooks.
14 years ago
Jonathan Rose cefff2e52c Fix bad check in voicemail functions for ast_inboxcount2_func
14 years ago
Mark Murawki f3cde589cd Merged revisions 364635 via svnmerge from
14 years ago
Russell Bryant 19097a4b62 md5: supress some compiler warnings.
14 years ago
Russell Bryant 386c2c6edf features: Add FEATURE() and FEATUREMAP() functions.
14 years ago
Terry Wilson f7c174ff84 Multiple revisions 364365,364369
14 years ago
Richard Mudgett b22874415e Fix DTMF atxfer running h exten after the wrong bridge ends.
14 years ago
Terry Wilson 49a49a51ef Add more constness to the end_buf pointer in the netconsole
14 years ago
Olle Johansson 7aa0c3c64b Make it possible to change the minimum DTMF duration in asterisk.conf
14 years ago
Olle Johansson 228ce5fd74 Formatting fixes
14 years ago
Olle Johansson db2b162e8c Formatting fixes
14 years ago
Richard Mudgett 7f0dce3bd1 Fix recalled party B feature flags for a failed DTMF atxfer.
14 years ago
Richard Mudgett 56d10c5677 Hangup affected channel in error paths of bridge_call_thread().
14 years ago
Terry Wilson 18045c9a07 OpenBSD doesn't have rawmemchr, use strchr
14 years ago
Tilghman Lesher f03d56a84d On some platforms, O_RDONLY is not a flag to be checked, but merely the absence of O_RDWR and O_WRONLY.
14 years ago
Jonathan Rose ceefcf8839 AST-2012-004: Fix an error that allows AMI users to run shell commands sans authorization.
14 years ago
Richard Mudgett 3a874139d4 Fix connected-line/redirecting interception gosubs executing more than intended.
14 years ago
Richard Mudgett e6d08d92e3 Move debug message in ast_rtp_instance_early_bridge_make_compatible().
14 years ago
Michael L. Young 255214c5da Add missing payload type to events API
14 years ago
Richard Mudgett 01194c5811 Use ast_channel_lock_both() where it was inlined before.
14 years ago
Richard Mudgett b43f4a60dd * Add more information to some messages in __ast_pbx_run().
14 years ago
Richard Mudgett 73f48997f9 Add original party id and reason support.
14 years ago
Terry Wilson 772ad8a641 Handle multiple commands per connection via netconsole
14 years ago
Matthew Jordan f78290068a Fix a variety of potential buffer overflows
14 years ago
Matthew Jordan 7b5eb159e9 Handle case where an unknown format is used to get the preferred codec size
14 years ago
Matthew Jordan 3934b0478d Fix places in main where a negative return value could impact execution
14 years ago
Walter Doekes fc63e07135 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
14 years ago
Michael L. Young abf40d9b28 Add IPv6 address support to security events framework.
14 years ago
Paul Belanger 05eb51bb2c Convert SRV lookup message to debug level
14 years ago
Richard Mudgett a35c7ba8e7 Add option to invoke the extensions.conf stdexten using the legacy macro method.
14 years ago
Matthew Jordan 3d7b9e7fb1 Fix crash caused by unloading or reloading of res_http_post
14 years ago
Richard Mudgett 4665986fb1 Don't add an empty MESSAGE_DATA(key) header if it doesn't already exist.
14 years ago
Kinsey Moore a485f44022 Add missing newlines to CLI logging
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 6a540e9087 Fix logger deadlock on Asterisk shutdown.
14 years ago
Mark Michelson 314d459317 Fix potential race condition during call pickup.
14 years ago
Richard Mudgett fb796aac06 Misc changes to make astobj2 enhancement diffs easier to follow.
14 years ago
Jonathan Rose 655a8d4420 Introducing the log message unique call identifiers feature
14 years ago
Jonathan Rose d501c2ea2d undoing 360785 due to merging mistake
14 years ago
Jonathan Rose bf994f0e04 Introducing the log message unique call identifiers feature
14 years ago
Richard Mudgett 38e892b370 Add global ao2 array container.
14 years ago
Richard Mudgett 8611bea122 Attempt to be more helpful when using a bad ao2 object pointer.
14 years ago
Paul Belanger dea8936f89 Convert ast_verb() to ast_debug() and increase log level
14 years ago
Russell Bryant cad07b3800 Multiple revisions 360356-360357
14 years ago
Richard Mudgett 721f92058f Make number not available presentation also set screening to network provided.
14 years ago
Jonathan Rose c6979ff581 Adds F option to Bridge application
14 years ago
Kinsey Moore c5b3db1956 Kill off red blobs in most of main/*
14 years ago
Richard Mudgett 334f13d8b8 Allow AMI action callback to be reentrant.
14 years ago
Richard Mudgett dd4a3b1825 Simplify some code in ast_app_run_sub().
14 years ago
Mark Michelson 827f2eae92 Revert the pre-dial addition.
14 years ago
Mark Murawki d6e1c619d4 Fix warning from commit r359705 (predial options for app_dial)
14 years ago
Matthew Jordan cca1f9f48a Fix remotely exploitable stack overflow in HTTP manager
14 years ago
Mark Murawki c65b41f57a Add options PreDial options 'b' and 'B' to app_dial
14 years ago
Russell Bryant 69f19a5225 udptl: Ensure fec[] in udptl_build_packet() is initialized.
14 years ago
Richard Mudgett 9b31bd3cd8 Fix deadlock potential with some ast_indicate/ast_indicate_data calls.
14 years ago
Matthew Jordan 40289b63db Fix incorrect jitter buffer overflow due to missed resynchronizations
14 years ago
Richard Mudgett 2019a7e6b9 Fix Dial m and r options and forked calls generating warnings for voice frames.
14 years ago
Russell Bryant 00b270833f Fix bogus reads/writes of console log levels in asterisk.c
14 years ago
Russell Bryant 6ac425df31 Fix inaccurate sizeof() in sched.c.
14 years ago
Russell Bryant 9410f85699 Fix incorrect sizeof() usage in features.c.
14 years ago
Russell Bryant 1b3cbdacd7 Fix incorrect sizeof() on a pointer in MD5Final().
14 years ago
Russell Bryant 6ec5c103d6 Don't use a buffer after it goes out of scope.
14 years ago
Terry Wilson cb94c35a85 Fix setting CDR variables in the hangup extension
14 years ago
Terry Wilson 699d2bd705 Make hints for invalid SIP devices return Unavail, not idle
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 c7315c4283 Use struct copy instead of memcpy().
14 years ago
Joshua Colp f5fda0eb74 Transition app_page to using app_confbridge internally for the conference bridge portion of paging. This also adds a new 'announcement' option to ConfBridge user profiles.
14 years ago
Jonathan Rose 11bbc097b7 Eliminate double close of file descriptor in manager.c
14 years ago
Kinsey Moore 8d1bde49a9 Fix case-sensitivity for device-specific event subscriptions and CCSS
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
Kinsey Moore e291318df2 Prevent outbound SIP NOTIFY packets from displaying a port of 0
14 years ago
Walter Doekes 41f5a1ab35 Update stringfield documentation for removed second va_list in favor of va_copy.
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 85ea4277f1 Convert struct ast_tcptls_session_instance to finally use the ao2 object lock.
14 years ago
Richard Mudgett 2e834f7d36 Astobj2 locking enhancement.
14 years ago
Kevin P. Fleming 5b821af99a Trailing whitespace cleanup.
14 years ago
Richard Mudgett 50c8557f03 Add ability to clone ao2 containers.
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
Sean Bright c20cfcdcf0 Address comments from Mark Michelson
14 years ago
Kinsey Moore 1fac2fba4b Deprecated macro usage for connected line, redirecting, and CCSS
14 years ago
Sean Bright 3cf09f40f7 Convert netsock.h over to use ast_sockaddrs rather than sockaddr_in and update
14 years ago
Terry Wilson a9f4d13b02 Copy CDR variables when set during a bridge
14 years ago
Sean Bright 6214285950 Make ast_netsock_set_qos() delegate to ast_set_qos().
14 years ago
Sean Bright 51c24c88a1 Prefer ast_set_qos() over ast_netsock_set_qos()
14 years ago
Sean Bright a2286c0889 Remove trailing whitespace
14 years ago
Richard Mudgett e43d123f11 astobj2.h documentation updates.
14 years ago
Matthew Jordan 670797e5da Allow SRTP policies to be reloaded
14 years ago
Terry Wilson ebaf59a656 Opaquification for ast_format structs in struct ast_channel
14 years ago
Richard Mudgett 235f88d122 Fix blind transfer parking issues if the dialed extension is not recognized as a parking extension.
14 years ago
Richard Mudgett 5b0f29d710 Revert some apparently accidental spacing changes.
14 years ago
Terry Wilson 0cc38858dd Track module use count for res_calendar
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
Kinsey Moore 4585ec1bbf Add missing newline to ccss state change notification
14 years ago
Terry Wilson 57f42bd74f ast_channel opaquification of pointers and integral types
14 years ago
Tilghman Lesher a93fbe2ad5 Non-verbose output should always go to the remote console, regardless of the previous level.
14 years ago
Sean Bright b80fcd77e5 Revert a change to audio_audiohook_write_list that had no affect.
14 years ago
Tilghman Lesher a78b0af5ea Re-commit the verbose branch.
14 years ago
Terry Wilson 34c55e8e7c Opaquify char * and char[] in ast_channel
14 years ago
Richard Mudgett 8af49f158a Fix AMI Redirect ExtraChannel not redirecting to the same exten and context.
14 years ago
Kinsey Moore 25e344168e Make the config parser remove escaping backslashes
14 years ago
Russell Bryant 747cd61edf Remove some unnecessary locking from ast_hangup().
14 years ago
Walter Doekes db24fc2523 Avoid cppcheck warnings; removing unused vars and a bit of cleanup.
14 years ago
Richard Mudgett d162e85978 Add missing headers to AMI UnParkedCall event to uniquely identify the call.
14 years ago
Mark Michelson 0f4489dc0f Fix TLS port binding behavior as well as reload behavior:
14 years ago
Richard Mudgett 23bc964e1c Constify some more channel driver technology callback parameters.
14 years ago
Richard Mudgett 797d633139 Remove inconsistency in CEL eventtype for user defined events.
14 years ago
Richard Mudgett a99b3c817b Fix ExtenSpy and simplify the channel search functions.
14 years ago
Richard Mudgett 2d7a40de58 Fix memory leak in error paths for action_originate().
14 years ago
Terry Wilson de57235ac6 Re-link peers by IP when dnsmgr changes the IP
14 years ago
Kevin P. Fleming 92ef8a6fe1 Address OpenSSL initialization issues when using third-party libraries.
14 years ago
Russell Bryant dd35aa1555 Find even more network interfaces.
14 years ago
Kevin P. Fleming 7023350098 Add 'L16-256' MIME subtype alias for slin16.
14 years ago
Russell Bryant 3b785264b0 Update ast_set_default_eid() to find more network interfaces.
14 years ago
Richard Mudgett 27b69e7d29 Audit of ao2_iterator_init() usage for v1.8.
14 years ago
Kevin P. Fleming 9ee8a74461 Remove "asterisk/version.h" in favor of "asterisk/ast_version.h".
14 years ago
Richard Mudgett cbe57b11cb Fixes for sending SIP MESSAGE outside of calls.
14 years ago
Kevin P. Fleming 50de9578aa Eliminate unnecessary rebuilds of main/format*.c.
14 years ago
Terry Wilson 99cae5b750 Opaquify channel stringfields
14 years ago
Mark Michelson c3c6b5a0ba Fix grammar of comment.
14 years ago
Mark Michelson 0920c50341 Fix blind transfers from failing if an 'h' extension is present.
14 years ago
Richard Mudgett 20c6ff71b6 Fix ast_app_dtget() time unit inconsistency.
14 years ago
Mark Michelson 778fa4abaf Various parking improvements.
14 years ago
Tilghman Lesher c60d15222c Add ABS() absolute value function to the expression parser.
14 years ago
Sean Bright 409751e2dc Sort the output of 'database showkey' as well.
14 years ago
Joshua Colp 35fef9a7dc Add missing code to set direct RTP setup information during dialing.
14 years ago
Sean Bright 382d14a214 Sort the output of 'database show' by key.
14 years ago
Walter Doekes ef0de1358d Allow only one thread at a time to do asterisk cleanup/shutdown.
14 years ago
Kinsey Moore 76888b5990 Make sure asterisk builds on OpenBSD
14 years ago
Richard Mudgett ec2b28d913 Remove some dead code in ast_bridge_call().
14 years ago
Richard Mudgett 523c95e146 Add missing CEL logging fields to various CEL backends.
14 years ago
Matthew Jordan a8276fe8ef Fix crash from bridge channel hangup race condition in ConfBridge
14 years ago
Jonathan Rose 19a9761084 Adds peer to CEL report on CEL_BRIDGE_START and CEL_BRIDGE_END
14 years ago
Richard Mudgett 9988918829 Remove extraneous BRIDGEPEER AMI VarSet event on a CEL dummy channel.
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
Walter Doekes a2a3b3ee4b Fix shutdown handling of sqlite3 astdb.
14 years ago
Richard Mudgett 70b246f338 Make Asterisk -x command line parameter imply -r parameter presence.
14 years ago
Kinsey Moore 6fa808447b Allow playback of formats that don't support seeking
14 years ago
Jonathan Rose fd04da5114 Fix an issue where dsp.c would interpret multiple dtmf events from a single key press.
14 years ago
Jonathan Rose ebf40f1129 Ensures Asterisk closes when receiving terminal signals in 'no fork' mode.
14 years ago
Jonathan Rose 573e1e5dc0 Fix documentation for SayNumber to reflect the fact that language is changed in CHANNEL()
14 years ago
Russell Bryant 2b2d34b3c9 Constify tag argument in REF_DEBUG related code.
14 years ago
Matthew Jordan 24a6c9b815 Handle AST_CONTROL_UPDATE_RTP_PEER frames in local bridge loop
14 years ago
Sean Bright 9e48f6799d Use ast_audiohook_write_list_empty to determine if our lists are empty instead
14 years ago
Kevin P. Fleming fdda494776 Improve T.38 gateway V.21 preamble detection.
14 years ago
Sean Bright 8017be6fa9 Once an audiohook is attached to a channel, we continue to transcode all of the
14 years ago
Jonathan Rose 19a4928fee INFO/Record request configurable to use dynamic features
14 years ago
Richard Mudgett 32e35e5fcd Fix extension state callback references in chan_sip.
14 years ago
Matthew Jordan cf0c9830bf Add Asterisk TestSuite event hooks to support ConfBridge testing
14 years ago
Leif Madsen eb37d38b7d Update documentation for MESSAGE_SEND_STATUS variable.
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