dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

13640 Commits

Author SHA1 Message Date
rizzo 9cf442d7f7 include "logger.h" and errno.h from asterisk.h - usage shows that they
were included almost everywhere.
Remove some of the instances.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89424 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 18:52:04 +00:00
murf b3e3d22496 a correction to code involved in an extension removal
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89422 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 17:18:26 +00:00
mmichelson 9f89c21eaa Adding SYSINFO() dialplan function for retrieval of system information
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89421 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 16:29:07 +00:00
file 57f96d1635 Merged revisions 89419 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@89420 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 15:55:08 +00:00
file f4cad0cfbe Merged revisions 89416 via svnmerge from
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: http://svn.digium.com/svn/asterisk/trunk@89417 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 15:27:08 +00:00
rizzo 520bf42a50 revert inclusion of options.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89412 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 14:36:12 +00:00
file 9ba23154e5 Change warning messages (which are really debug messages) into debug messages.
(closes issue #11288)
Reported by: IgorG
Patches:
      saydebug-89394-1-trunk.patch uploaded by IgorG (license 20)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89410 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 14:03:30 +00:00
oej 7c3a952244 Update CHANGES
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89407 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 09:16:56 +00:00
oej 5434749d80 Adding busy-level to the SIP_PEER() dialplan function.
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: http://svn.digium.com/svn/asterisk/trunk@89406 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 09:12:27 +00:00
oej 3c9ab4b916 Add some debugging to the routines that finds our local IP address.
Related to bug #9225


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89405 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 08:41:14 +00:00
oej 9fc5446fcd Make some notes about a problem I found with the OPTIONs handler while 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: http://svn.digium.com/svn/asterisk/trunk@89404 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 08:34:26 +00:00
file 841a8265b9 Add OSX into the logic that uses md5 instead of md5sum.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89399 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 21:50:58 +00:00
file c47a1d44ba Use the easy way that rizzo mentioned, only include malloc.h on the Windows platform.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89398 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 17:49:40 +00:00
file 9aacf0a023 Revert last commit, apparently buildbot lied to me.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89397 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 17:03:38 +00:00
file 1c0212aaba Change how we handle alloca to conform with how it is suggested in the autoconf manual for AC_FUNC_ALLOCA. FreeBSD 6 now builds again and no other platforms should be broken by this.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89396 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 17:01:41 +00:00
file f2c0ead18c Change autoconf logic a bit so it says what it is looking for in two instances where it didn't.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89395 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-18 16:43:08 +00:00
file 6f925e459e Use autoconf logic to determine the presence of PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP and PTHREAD_MUTEX_RECURSIVE_NP. Enclose error message from network.h in "
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89394 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 23:03:16 +00:00
mattf 92145c34ba Add SS7 Generic address support (#11156)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89393 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 21:47:48 +00:00
rizzo 7c4aecdfc4 if alloca.h is not present, try malloc.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89392 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:29:54 +00:00
rizzo 42defef5f8 temporarily disable this target in mingw
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89391 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:29:04 +00:00
rizzo ba23cef4c0 will i ever get precedences for windows right ?
in the meantime, use a variable to ease enabling/disabling print subdirectories.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89390 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:27:51 +00:00
rizzo 49ec17e59f reformulate dependencies in a more correct way
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89389 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 19:00:07 +00:00
murf f5e86448ae a quick fix to pbx_dundi.c to make it so it will compile. Hope I did the right thing. And some additions to removal of extens to take care of hashtab pointers in all cases.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89388 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 17:46:36 +00:00
rizzo a1bcb3dd4e as discussed some time ago on the -dev list, create embedde object
with a .eo suffix even if they are coming from .cc sources.
This simplifies the handling in the build scripts.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89387 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 17:27:26 +00:00
rizzo f9cb61c116 prefer socket.h over other variants (winsock etc.)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89385 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 16:32:18 +00:00
rizzo 3136f24f36 trim more redundant headers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89384 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 16:18:53 +00:00
rizzo d5c3a24242 remove unnecessary includes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89383 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:47:33 +00:00
rizzo 457e19cda1 fix breakage induced by previous mistake
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89382 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:45:46 +00:00
rizzo aaec5b990e wrong variable, wrong order -> broken build.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:44:03 +00:00
rizzo fb8143ad31 start using asterisk/network.h for network related headers.
Also remove some unnecessary includes.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89380 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:11:53 +00:00
rizzo 139e5f6dd4 wrapper for all generic network headers that have different names
and locations on the various systems.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89379 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 14:00:24 +00:00
rizzo 4856fc7b18 main is called main not amain!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89378 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 12:44:22 +00:00
rizzo a3fe6d2b0f conditional targets for building the windows version
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89377 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 12:33:15 +00:00
rizzo c1f095dd97 support cygwin targets
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89376 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:57:52 +00:00
rizzo 9abcc5eaec and this is the last one to have asterisk compile (not run yet)
natively under cygwin.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89375 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:10:16 +00:00
rizzo 36281f41ce another cygwin compatibility fix.
This one must be handled in a better way in configure, also for other
architectures



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89374 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 11:08:58 +00:00
rizzo 163cc146a7 more cygwin/mingw32 compatibility fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89373 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:54:52 +00:00
rizzo 678373f7a8 use autoconf results to conditionally compile timersub
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89372 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:32:56 +00:00
rizzo 19d672e30a compatibility fixes for cygwin
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89371 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:28:55 +00:00
rizzo 344808cb75 some version of flex produce code that wants __STDC_VERSION__
defined, but the compiler does not always define it.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89370 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:26:21 +00:00
rizzo ed06295d0c these linker flags apply to both cygwin and mingw32
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89369 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 10:12:43 +00:00
rizzo 1fe4d3a41f add a return NULL to a function that is expected to return a value
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: http://svn.digium.com/svn/asterisk/trunk@89368 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:54:54 +00:00
rizzo 4dfe6b5327 define RTLD_LOCAL for platforms that don't have it.
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: http://svn.digium.com/svn/asterisk/trunk@89367 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:51:45 +00:00
rizzo 46c59c7908 filter out modules that do not compile under windows
(this should be handled with the dependencies generated by
configure and menuselect, but will be fixed later)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89366 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:48:45 +00:00
rizzo 8fde063b48 netdb.h is used for gethostbyname, and it was not included in some
platforms.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89365 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:44:14 +00:00
rizzo adfbbca7d5 Loader for cygwin where asterisk is really a big dll
(something like this is already in 1.2)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89364 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:37:12 +00:00
rizzo 370182a288 timersub is a macro not a function, so write the check in a way
that detects both formats.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89363 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 09:30:22 +00:00
russell 6a4809a9ca fix the build of pbx_lua
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89362 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:34:10 +00:00
russell 1ccd0d8633 Update the configure script check for sys/poll.h to also provide the result in
include/asterisk/autoconfig.h.  Also, move the conditional include of sys/poll.h
or asterisk/poll-compat.h into asterisk/config.h instead of the two headers it
existed in before.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:33:07 +00:00
russell 85a28052d3 actually let this compile, oops :(
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89360 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-17 06:09:42 +00:00