Commit Graph

1177 Commits (7173f3378fb67babc4991c30aaa19ade43c8f9bc)

Author SHA1 Message Date
Matt O'Gorman b025702287 safe terminal output is sweet.
19 years ago
Russell Bryant 2b2693499d Add the ability to specify multiple prompts to the Read() dialplan application,
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Olle Johansson 8e73644bb8 Stealing Tilghman's explanation from the -dev list and producing documentation...
19 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
19 years ago
Luigi Rizzo 0bf4235ff1 add a new cli/manager.conf option "debug" to enable/disable
19 years ago
Joshua Colp 7f7f2fe821 Let's make application/function/hint lists read/write lists... just for kicks
19 years ago
Russell Bryant 903e1e3bf3 Sure enough, some of the uses of astobj are doing recursive locking. This
19 years ago
Russell Bryant c8e35348c0 astobj was already set up to use read and write locks. Now that we have wrappers
19 years ago
Joshua Colp ffceb28cfd Add AST_RWLIST_* set of macros which implement linked lists using read/write locks, the actual list manipulation is still done via the old macros.
19 years ago
Joshua Colp ae00c6d3fa Set the AST_RWLOCK_INIT_VALUE to the PTHREAD_RWLOCK_INIT_VALUE if it is available, that way outside stuff can determine whether to use a constructor or deconstructor for initialization instead of using the init value.
19 years ago
Joshua Colp aebb4aaa0d I'm crazy so I will add this... pthread rwlock wrappers, along with autoconf stuff that detects the presence of the initializer and the ability to set the kind of lock (in our case we rather like writer preferred locks so writer starvation doesn't occur... but on something like Darwin we don't get that)
19 years ago
Kevin P. Fleming 39a4700047 Merged revisions 46714 via svnmerge from
19 years ago
Olle Johansson f003df1315 Issue #80898 - Restoring func_enum (otmar)
19 years ago
Olle Johansson 11d00cac15 Adding dialplan function IFMODULE, so you can create dialplans that handle
19 years ago
Kevin P. Fleming 79e45105f5 Merged revisions 46511 via svnmerge from
19 years ago
Olle Johansson 692dc8fd80 Issue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtracker since)
19 years ago
Olle Johansson 8a2e564df5 Issue 8246 Doxygen updates (kshumard)
19 years ago
Kevin P. Fleming 5f5faa310a Merged revisions 46082-46083,46152-46153 via svnmerge from
19 years ago
Kevin P. Fleming 88efcea05e Merged revisions 46154 via svnmerge from
19 years ago
Russell Bryant b5ec2ec48a regenerate the configure script and autoconfig.h.in to reflect recent changes
19 years ago
Kevin P. Fleming 4b8e41c529 restore freeing of threadstorage objects without custom cleanup functions
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
19 years ago
Kevin P. Fleming 0638096e5c Merged revisions 45027 via svnmerge from
19 years ago
Kevin P. Fleming 035aeb82e4 Merged revisions 44956 via svnmerge from
19 years ago
Paul Cadach 500353e095 Extend CALLERID() function for "pres" and "ton" values
19 years ago
Kevin P. Fleming eda9434455 Merged revisions 44631 via svnmerge from
19 years ago
Russell Bryant 283e7369ea regenerate the configure script to reflect the latest changes done by
19 years ago
Kevin P. Fleming c28461197b Merged revisions 44390 via svnmerge from
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Kevin P. Fleming 41eb95e055 Merged revisions 44322 via svnmerge from
19 years ago
Matt O'Gorman deb9cb88fb 44240 same as but without the removing of chan_jingle and such, as I hope to finish jingle support for 1.6
19 years ago
Kevin P. Fleming 89050169c8 Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
19 years ago
Kevin P. Fleming ccc221ed79 Merged revisions 43952 via svnmerge from
19 years ago
Joshua Colp 29d27bfe0d Merged revisions 43933 via svnmerge from
19 years ago
Paul Cadach 2719c20e4e Merged revisions 43861-43862 via svnmerge from
19 years ago
Joshua Colp 98873d34bd Merged revisions 43707 via svnmerge from
19 years ago
Luigi Rizzo 2946b43e31 compatibility fix:
19 years ago
Matt O'Gorman 08368f00ab Merged revisions 43466 via svnmerge from
19 years ago
Tilghman Lesher f14dc5fab4 And some deprecated APIs and modifications to documentation
19 years ago
Joshua Colp 1c764935f2 SS7 marked the start of an open season for trunk again but here's something minor - abstract early bridging into the technology so that we don't always assume they use RTP and try it.
19 years ago
Matthew Fredrickson bd76cda68d Merge in SS7 changes.... need to still cleanup zapata.conf
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Jason Parker 261e84229d Avoid errors when compiling out of tree modules like asterisk-addons.
19 years ago
Kevin P. Fleming 505c465a3b these functions never should have been non-static or in a header file
19 years ago
Kevin P. Fleming 32d119746c move ODBC API into ast_ namespace
19 years ago
Kevin P. Fleming ea399862c4 move more API into the ast_ namespace
19 years ago
Kevin P. Fleming 41d3e99e28 move ADSI functionality into ast_ namespace
19 years ago
Kevin P. Fleming 1485fa4c24 move this header to include where it belongs
19 years ago
Jason Parker fc60c151d3 After discussing this with other people, we decided we'd like to try to do this a little differently.
19 years ago
Anthony LaMantia 3f3402d69e 5240 update
19 years ago
Matthew Fredrickson 3c4dc2033f Update configure and closest kin. *Hopes my branch doesn't break*
19 years ago
Matt O'Gorman 465adf2bf1 allow for packetization on rtp channel drivers, need to add
19 years ago
Kevin P. Fleming 734a3d356e don't need two copies of this
19 years ago
Kevin P. Fleming 7b43316cbc a little cleanup and simplification, and remove ON_FIRST_USE mode since nobody uses it
19 years ago
Jason Parker 31d25ac6f3 u_intXX_t is silly
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
19 years ago
Joshua Colp bc5924120d Remove old unused functions
19 years ago
Joshua Colp 55d594e9da Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.
19 years ago
Russell Bryant 4de3c0e447 Add the ability to specify that a frame should not be considered for caching
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Joshua Colp 12b6ec4e11 Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
19 years ago
Kevin P. Fleming ece7018515 add one remaining bit of functionality to the features.conf applicationmap (from Matt Nicholson in Digium Express Services)
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Joshua Colp c70ed7614a Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
19 years ago
Russell Bryant 3a83fbed5b menuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
19 years ago
Russell Bryant 1ff5a0988d Merged revisions 40994 via svnmerge from
19 years ago
Olle Johansson 8b3aeaeae6 Fixing a comment
19 years ago
Kevin P. Fleming 7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
19 years ago
Kevin P. Fleming 74fb27c15f add a new include file for out-of-tree modules that need to know where things are located
19 years ago
Joshua Colp 432e19f2b7 Sorry, but this does not resemble malloc... so GCC was ignoring the attribute and throwing a warning.
19 years ago
Kevin P. Fleming 26fa229138 restore 'preload' functionality in loader
19 years ago
Kevin P. Fleming 6cd063c74d use new configure-provided wrappers for attributes
19 years ago
Russell Bryant d030102eed - use a common error message in all of the memory allocation macros
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant 5dc72404ab convert lists of constants in channel.h to enums instead of #defines
19 years ago
Matt O'Gorman a95851978b updating configure script and putting comments in the docs
19 years ago
Joshua Colp ecb907e010 Use OSAtomicAdd instead of OSAtomicDecrement to decrement the value by 1.
19 years ago
Russell Bryant 9ad9e42c3e add MacroExclusive application, a Macro that only one call can executed at
19 years ago
Russell Bryant fd82d4569c increase the maximum length of the mohinterpret/mohsuggest options (issue #7696)
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago
Steve Murphy 3042d0e046 This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!
19 years ago
Steve Murphy 14c12fed9b The contents of branch teams/murf/bug_7598 are being folded in here.
19 years ago
Russell Bryant 4d7c67fc72 Merge my applicationmap_fixup branch to address the issues described in this
19 years ago
Tilghman Lesher a9f8f09c19 Add details about flash and wait to doxygen about DTMF.
19 years ago
Mark Spencer f2a6636210 Allow updates to match specific lines, allow specification of object or
19 years ago
Kevin P. Fleming 4bc6613648 add ExtenSpy variant of ChanSpy
19 years ago
Russell Bryant 99f9d827c1 the pure attribute was not implemented before gcc 2.96. Since we have this
19 years ago
Russell Bryant 450db95711 add macros for the pure and const attributes to compiler.h, in case they ever
19 years ago
Russell Bryant d6246e579f Add the function attribute "pure" or "const" to various functions that perform
19 years ago
Russell Bryant b04f059b4a As discussed and decided on the asterisk-dev mailing list ...
19 years ago
Kevin P. Fleming 3314ea0d59 move slinfactory structure definition back to header... it's just easier to use this way
19 years ago
Kevin P. Fleming d079b1c49f more slinfactory structure definition to inside implementation module
19 years ago
Kevin P. Fleming a8b85fda84 more simplification, and correct a bug i introduced in the last commit
19 years ago
Russell Bryant 41ab9c5015 remove an XXX comment and document that ast_autoservice_start() will return -1
19 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
19 years ago
North Antara 1edb21b423 Fix a few doxygen warnings.
19 years ago
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
19 years ago
Mark Spencer 837910062b First pass at in-place file manipulation via manager
19 years ago
Joshua Colp 457ec51f8d Expand speech API so that the developer can interact with the engine more directly and use specific functions of the connector even if a generic API call is not available
19 years ago
Kevin P. Fleming 4492cbac8d swap the G726-32 format numbers, so that IAX2 connections with prior versions of Asterisk will still work properly
19 years ago
Kevin P. Fleming fd9c9ec28f allow users of RTP to use G726-32 AAL2 packing even when RFC3551 packing has been requested (Sipura/Grandstream ATAs and others will need this)
19 years ago
Kevin P. Fleming ea1d0c4b33 G726-32 changes:
19 years ago
Joshua Colp 696275bcc1 Fixed. Done. Good. Make ast_join work like it used to.
19 years ago
Joshua Colp 2e58363fed Unbreak ast_join due to whitespace changes
19 years ago
Mark Spencer 4c90cf59b7 Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
19 years ago
Russell Bryant 6e28de8050 fix various pointer signedness issues
19 years ago
Kevin P. Fleming 3be4c8d3eb actually do proper searching for c-client and output the results so app_voicemail can be built against it
19 years ago
Kevin P. Fleming d5b7bf2ab7 massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication
19 years ago
Russell Bryant 7718426316 fix the condition for including the header for osx atomics
19 years ago
Russell Bryant 3ffc032ddc update configure
19 years ago
Russell Bryant 40bae2fba3 add support for atomic operations provided by mac osx
19 years ago
Matt O'Gorman 109737eb1c Updates from transnexus to osplookup, removes res_osp
19 years ago
Olle Johansson f8311adcda METERMAIDS:
19 years ago
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
19 years ago
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
19 years ago
Russell Bryant c8ceb92a4f revert my changes that converted the jb on the channel to be dynamically
19 years ago
Russell Bryant 46018d5032 - dynamically allocate the ast_jb structure that is on the channel structure
19 years ago
Russell Bryant 73ae55698f merge changes from team/murf/AEL-trunk-fixesonly
19 years ago
Kevin P. Fleming 39b9a1c945 Merged revisions 34087 via svnmerge from
19 years ago
Kevin P. Fleming eddf363a0e use atomic operations provided by the compiler if they are available (yay for gcc 4.1 users!)
19 years ago
Joshua Colp c311827dc9 Merged revisions 33724 via svnmerge from
19 years ago
Kevin P. Fleming b12ab2ad1b bootstrap to include latest configure script change
19 years ago
Russell Bryant 40b3ce5c8f suppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330, casper)
19 years ago
Kevin P. Fleming 8d88bf549d there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
19 years ago
Kevin P. Fleming b31b0be819 various minor portability fixes (mostly from tholo for OpenBSD)
19 years ago
Olle Johansson 13a98f92fe Move payloadtype back home to rtp.c
19 years ago
Matt O'Gorman 124357f300 convert one of my linked lists to ast_linklist
19 years ago
Olle Johansson 9f5aa13142 Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
19 years ago
Jeffrey C. Ollie a0bb17434f Move a couple semicolons to a more traditional location. Was pointed out by Steven <critch@basesys.com> on the -dev list.
19 years ago
Kevin P. Fleming 09778b268e move 'struct ast_rtp' back to rtp.c where it belongs
19 years ago
Russell Bryant 9cdd66dd01 always include inttypes.h and sys/types.h in asterisk/compat.h to fix a build
19 years ago
Olle Johansson 1ec5d9ec70 Doxygen updates
19 years ago
Olle Johansson 41a5565f3c Add video.txt to doxygen
19 years ago
Olle Johansson dfaa7fd8cf Doxygen update
19 years ago
Olle Johansson 7a456987b5 Doxygen formatting
19 years ago
Matt O'Gorman 1e530787f3 solves some bugs with memory allocation, and adds
19 years ago
Russell Bryant 124b54ca5f fix the build with astmm enabled
19 years ago
Kevin P. Fleming 274ce731e2 move autoconfig.h to the include/asterisk directory so it will get installed
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 739385e761 remove the WITH_SMDI define
19 years ago
Russell Bryant 39bcaa0773 add an updated patch that adds dnsmgr support for outgoing iax2 registrations
19 years ago
Matt O'Gorman 6c0155e6cb fixes some issues with description loggin on presence
19 years ago
Matt O'Gorman c04e4bd380 allow presence events to be handled before the
19 years ago
Olle Johansson 479181951a Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
19 years ago
Russell Bryant 80a153af79 - use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
19 years ago
Russell Bryant bbc584e3d7 fix some typos in the stringfields documentation
19 years ago
Kevin P. Fleming 427df3f6c3 yet another massive performance and memory savings improvement
19 years ago
Russell Bryant b0260c1039 revert the changes to allow chan_iax2 to use dnsmgr for registrations.
19 years ago
Joshua Colp 2a71835d41 Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
19 years ago
Olle Johansson 723e900bf3 Doxygen updates
19 years ago
Olle Johansson 4ab449be1b Move definition of RTP structure to rtp.h (preparing for future changes)
19 years ago
Olle Johansson 2dc6947144 Issue #2863 - Improved RTCP support (John Martin, Fredrik Olsson)
19 years ago
Russell Bryant 588b54f8c2 fix a typo in the documentation of how to use string fields
19 years ago
Olle Johansson 80f2d432cc Doxygen improvements
19 years ago
BJ Weschke 0e738a77b3 Merged revisions 31738 via svnmerge from
19 years ago
Kevin P. Fleming dfd5fc5605 Merged revisions 31520 via svnmerge from
19 years ago
Matt O'Gorman d591c1b684 changes for base64 to work in multiline instances
19 years ago
Matt O'Gorman 8cfb992c1e adds statusmessage customization from Julian Lyndon-Smith
19 years ago
Russell Bryant bb7dd96cfe Add support for using a jitterbuffer for RTP on bridged calls. This includes
19 years ago
Russell Bryant 0f912e5926 Fix various problems in the addition of the ability to mute log/verbose
19 years ago
Joshua Colp 9b18892314 Add ability to disable log / verbose output to remote consoles (issue #6524 reported by mavetju)
19 years ago
Joshua Colp 6b185c1bed Merge in branch which gives you the ability to set the hangup causecode using the Hangup application. (issue #7160 reported by kmilitzer branch by jcollie)
19 years ago
Russell Bryant 238cdb249f Add the ability to retrieve the exit code of the forked AGI process. If there
19 years ago
Kevin P. Fleming 8d74f0ebe6 restore AST_LIST_HEAD_INIT (with no users in the tree right now)
19 years ago
Mark Spencer fa9e0ed768 Handle ringing (early) state properly on SIP
19 years ago
Kevin P. Fleming f09942bb08 bootstrap updates to include xmpp related stuff
19 years ago
Matt O'Gorman 7aa1a77e75 asterisk-xmpp merge in
19 years ago
BJ Weschke 5235890be4 This is part 2/2 of the patches for #7090. Adds one-step call parking to /trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340.
19 years ago
Russell Bryant 1fcc86d905 Add support for logging CDR recrods to a radius server (issue #6639, phsultan)
19 years ago
Tilghman Lesher d0c36296d2 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
19 years ago
Tilghman Lesher f0b985853a Bug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk than for 1.2)
19 years ago
Kevin P. Fleming c3dce57d95 mark RTP sessions that are not carrying DTMF
19 years ago
Matthew Fredrickson 99648dd713 Add option for enabling and disabling echo cancellation
19 years ago
Russell Bryant 51d5b1fdb2 simplify conference user list handling
19 years ago
Luigi Rizzo b91ce5a738 set correct type for lock initializers
19 years ago
Russell Bryant f9c578a8a0 - The recent change to linklists.h broke the build on linux for some reason.
19 years ago
Luigi Rizzo 1f0d723c1e properly initialize non-static locks.
19 years ago
Mark Spencer c696006923 Go ahead and merge STUN mods for RTP in preparation for some STUN
19 years ago
Russell Bryant 44d4ed1b37 change the CFLAGS controlled by menuselect to be placed in a header file
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Kevin P. Fleming fdcfd6469b ensure that control frames with payload can be sent to channel drivers via ->indicate()
19 years ago
Mark Spencer 66ed134473 Allow media to go directly between IAX endpoints while signalling still
19 years ago
Kevin P. Fleming ed3ffb4b46 various doxygen fixes
19 years ago
Olle Johansson 2b3ae24942 Formatting fix
19 years ago
Mark Spencer f2bc3c61cc Make sure that we don't accept an answer on an inbound call and don't permit asterisk to answer an outbound call
19 years ago
Kevin P. Fleming 16f1acc37f use an enum for control frame types
19 years ago
Mark Spencer 9953f4f40e Make SIP early media work more efficiently without so many reinvites
19 years ago
Kevin P. Fleming fdc225920f remove API function that was added and never used
19 years ago
Russell Bryant c85b4a1674 on mac, QUAD_MIN and QUAD_MAX are already defined, so this causes a bunch
19 years ago
Kevin P. Fleming 401ed356e4 commit the proper configure script
19 years ago
Kevin P. Fleming c0762c064d silly people that don't want to install/run autoconf :-)
19 years ago
BJ Weschke 569ecaf5a2 use pid_t instead of long for pid variables. #7099 (casper)
19 years ago
Russell Bryant 0fd612930a - convert the lists of switches to use the linked list macros
19 years ago
Russell Bryant a252d79484 remove an XXX comment
19 years ago
Russell Bryant 4fe3960478 move ast_carefulwrite from manager.c to utils.c so that cli.c and
19 years ago
BJ Weschke 6ed0af6fc3 Fix 4 bugs in voicemail. #7064 ( supczinskib and jcollie )
19 years ago