summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-19format handlers don't need network, lock, channel and scheduler headersLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19move the declaration of struct ast_channel ast_frame and ast_moduleLuigi Rizzo
to compat.h so it is always available - hopefully this will let us reduce the number of inclusions of channel.h and frame.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19another bunch of include removals (errno.h and asterisk/logger.h)Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19include "logger.h" and errno.h from asterisk.h - usage shows that theyLuigi Rizzo
were included almost everywhere. Remove some of the instances. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19a correction to code involved in an extension removalSteve Murphy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Adding SYSINFO() dialplan function for retrieval of system informationMark Michelson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Merged revisions 89419 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89419 | file | 2007-11-19 11:53:32 -0400 (Mon, 19 Nov 2007) | 6 lines Print out the correct filename (features.conf) in the log message when parkpos options are incorrect. (closes issue #11295) Reported by: Laureano Patches: res_features.c.patch uploaded by Laureano (license 265) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Merged revisions 89416 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89416 | file | 2007-11-19 11:24:12 -0400 (Mon, 19 Nov 2007) | 4 lines Clarify documentation a bit, include that a frame has to pass through the core in order for the Local channel optimization to happen. (closes issue #11246) Reported by: jon ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19revert inclusion of options.hLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Change warning messages (which are really debug messages) into debug messages.Joshua Colp
(closes issue #11288) Reported by: IgorG Patches: saydebug-89394-1-trunk.patch uploaded by IgorG (license 20) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Update CHANGESOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Adding busy-level to the SIP_PEER() dialplan function. Olle Johansson
With this, you can control the peer in the dialplan, so you avoid placing outbound calls when the device has reached busy-level. Reported by pj. Closes bug #11180 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Add some debugging to the routines that finds our local IP address.Olle Johansson
Related to bug #9225 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19Make some notes about a problem I found with the OPTIONs handler while ↵Olle Johansson
working with the bug tracker. Since we don't authenticate devices (peers/users) on OPTIONS we don't have the proper context set for the user/peer. However, we might not want to process an authentication for every OPTIONS, so we could have a config option for this, "optionsforceok" to always answer 200 OK on the request and not check device or destination, nor add a SDP. If Asterisk sends the OPTIONs request, it doesn't care about the reply. Some devices use OPTIONs to discover capabilities, since we should answer like an INVITE from the device and we need to support that properly too, which we don't today. So much to do :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18Add OSX into the logic that uses md5 instead of md5sum.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18Use the easy way that rizzo mentioned, only include malloc.h on the Windows ↵Joshua Colp
platform. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18Revert last commit, apparently buildbot lied to me.Joshua Colp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18Change how we handle alloca to conform with how it is suggested in the ↵Joshua Colp
autoconf manual for AC_FUNC_ALLOCA. FreeBSD 6 now builds again and no other platforms should be broken by this. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18Change autoconf logic a bit so it says what it is looking for in two ↵Joshua Colp
instances where it didn't. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17Use autoconf logic to determine the presence of ↵Joshua Colp
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in " git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17Add SS7 Generic address support (#11156)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17if alloca.h is not present, try malloc.hLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17temporarily disable this target in mingwLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17will i ever get precedences for windows right ?Luigi Rizzo
in the meantime, use a variable to ease enabling/disabling print subdirectories. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89390 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17reformulate dependencies in a more correct wayLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17a quick fix to pbx_dundi.c to make it so it will compile. Hope I did the ↵Steve Murphy
right thing. And some additions to removal of extens to take care of hashtab pointers in all cases. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17as discussed some time ago on the -dev list, create embedde objectLuigi Rizzo
with a .eo suffix even if they are coming from .cc sources. This simplifies the handling in the build scripts. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17prefer socket.h over other variants (winsock etc.)Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17trim more redundant headersLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17remove unnecessary includesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17fix breakage induced by previous mistakeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17wrong variable, wrong order -> broken build.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17start using asterisk/network.h for network related headers.Luigi Rizzo
Also remove some unnecessary includes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17wrapper for all generic network headers that have different namesLuigi Rizzo
and locations on the various systems. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17main is called main not amain!Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17conditional targets for building the windows versionLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17support cygwin targetsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17and this is the last one to have asterisk compile (not run yet)Luigi Rizzo
natively under cygwin. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17another cygwin compatibility fix.Luigi Rizzo
This one must be handled in a better way in configure, also for other architectures git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17more cygwin/mingw32 compatibility fixesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17use autoconf results to conditionally compile timersubLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17compatibility fixes for cygwinLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17some version of flex produce code that wants __STDC_VERSION__Luigi Rizzo
defined, but the compiler does not always define it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17these linker flags apply to both cygwin and mingw32Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17add a return NULL to a function that is expected to return a valueLuigi Rizzo
so compilers that don't understand that this code is NOTREACHED will not complain (the fault is not much on the compiler but on the declaration of pthread_exit on certain platforms) s/certain platform/cygwin/ if you are really curious git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17define RTLD_LOCAL for platforms that don't have it.Luigi Rizzo
This is only to complete the build, clearly the linker behaviour will be completely different and likely to cause trouble in those cases. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17filter out modules that do not compile under windowsLuigi Rizzo
(this should be handled with the dependencies generated by configure and menuselect, but will be fixed later) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17netdb.h is used for gethostbyname, and it was not included in someLuigi Rizzo
platforms. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17Loader for cygwin where asterisk is really a big dllLuigi Rizzo
(something like this is already in 1.2) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17timersub is a macro not a function, so write the check in a wayLuigi Rizzo
that detects both formats. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89363 65c4cc65-6c06-0410-ace0-fbb531ad65f3