Luigi Rizzo
a7a0ca9f93
initial makefile changes to build loadable modules under cygwin
...
(not complete yet - still need to sort out dependecies on res_*)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20 07:42:38 +00:00
Steve Murphy
f62bf52e55
Get rid of some debug messages in pbx.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-20 00:17:15 +00:00
Mark Michelson
fb3b4f4937
Changed the "busy-level" option in sip.conf to "busylevel" to be more parallel
...
with the SIPPEER() argument of the same name. The deprecation procedure is not
being used here since this is a trunk-only option.
(closes issue #11307 , reported by pj, patched by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 23:24:35 +00:00
Russell Bryant
3cda8388b9
Be a bit more pedantic about the type for holding the md5 sum for the build options.
...
Also, doxygenify the comment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 23:03:37 +00:00
Russell Bryant
501915f0a9
Make the SYSINFO documentation reflect which options were compiled in
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89439 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 23:03:02 +00:00
Steve Murphy
4ea5eced10
These changes were made in response to niklas@tese.se's letter of 11-17-2007, where he had 20 and 201 in two different contexts, included in the same context. In that particular case, we were behaving the same as 1.4, but after experimenting, I quickly found that if 20 and 201 were in the same extension, 1.4 would return 201, and this code returns 20. These changes now enable the current code to replicate the behavior of 1.4 in respect to MATCHMORE in cases like this.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 22:55:38 +00:00
Luigi Rizzo
ed9b9733b6
another few errno.h removals
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 21:18:14 +00:00
Luigi Rizzo
ffd86fc964
more errno.h removal
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 21:12:08 +00:00
Luigi Rizzo
086630d121
remove unnecessary headers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 21:04:04 +00:00
Luigi Rizzo
9c2aaeb701
remove some unnecessary includes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 20:42:06 +00:00
Tilghman Lesher
0aa40f1366
Change delimiter of SIPPEER to be comma (instead of pipe) and further deprecate the old ':' delimiter
...
Reported by: pj
Patch by: tilghman
Closes issue #11305
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 20:13:40 +00:00
Luigi Rizzo
7bcf0529c5
remove some useless includes from codecs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 19:51:55 +00:00
Luigi Rizzo
d04697b8d3
format handlers don't need network, lock, channel and scheduler headers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 19:41:16 +00:00
Luigi Rizzo
b693c30a66
move the declaration of struct ast_channel ast_frame and ast_module
...
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-19 19:36:32 +00:00
Luigi Rizzo
9335ace850
another bunch of include removals (errno.h and asterisk/logger.h)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 19:09:03 +00:00
Luigi Rizzo
0595b5e2aa
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: https://origsvn.digium.com/svn/asterisk/trunk@89424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 18:52:04 +00:00
Steve Murphy
406f6f2909
a correction to code involved in an extension removal
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 17:18:26 +00:00
Mark Michelson
67f044d42a
Adding SYSINFO() dialplan function for retrieval of system information
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 16:29:07 +00:00
Joshua Colp
1affda12a2
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: https://origsvn.digium.com/svn/asterisk/trunk@89420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 15:55:08 +00:00
Joshua Colp
a3ef17b4f2
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: https://origsvn.digium.com/svn/asterisk/trunk@89417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 15:27:08 +00:00
Luigi Rizzo
9175f79aff
revert inclusion of options.h
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 14:36:12 +00:00
Joshua Colp
23cfef1cc9
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: https://origsvn.digium.com/svn/asterisk/trunk@89410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 14:03:30 +00:00
Olle Johansson
19014f31d9
Update CHANGES
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 09:16:56 +00:00
Olle Johansson
743d3774d7
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: https://origsvn.digium.com/svn/asterisk/trunk@89406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 09:12:27 +00:00
Olle Johansson
cc0e8cc412
Add some debugging to the routines that finds our local IP address.
...
Related to bug #9225
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 08:41:14 +00:00
Olle Johansson
1dc6524449
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: https://origsvn.digium.com/svn/asterisk/trunk@89404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-19 08:34:26 +00:00
Joshua Colp
f71cd9acc8
Add OSX into the logic that uses md5 instead of md5sum.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18 21:50:58 +00:00
Joshua Colp
d447eb052c
Use the easy way that rizzo mentioned, only include malloc.h on the Windows platform.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18 17:49:40 +00:00
Joshua Colp
fa1f321ffc
Revert last commit, apparently buildbot lied to me.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18 17:03:38 +00:00
Joshua Colp
5adb2b2b06
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: https://origsvn.digium.com/svn/asterisk/trunk@89396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18 17:01:41 +00:00
Joshua Colp
3f0324ea1f
Change autoconf logic a bit so it says what it is looking for in two instances where it didn't.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-18 16:43:08 +00:00
Joshua Colp
42b08b4eb8
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: https://origsvn.digium.com/svn/asterisk/trunk@89394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 23:03:16 +00:00
Matthew Fredrickson
19460802ef
Add SS7 Generic address support ( #11156 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 21:47:48 +00:00
Luigi Rizzo
9f7fdc983f
if alloca.h is not present, try malloc.h
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 19:29:54 +00:00
Luigi Rizzo
edc5c82569
temporarily disable this target in mingw
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 19:29:04 +00:00
Luigi Rizzo
eaee706190
will i ever get precedences for windows right ?
...
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-17 19:27:51 +00:00
Luigi Rizzo
ff975cb9f7
reformulate dependencies in a more correct way
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 19:00:07 +00:00
Steve Murphy
1a5cdeb138
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: https://origsvn.digium.com/svn/asterisk/trunk@89388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 17:46:36 +00:00
Luigi Rizzo
560fe89e1b
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: https://origsvn.digium.com/svn/asterisk/trunk@89387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 17:27:26 +00:00
Luigi Rizzo
a4f9397028
prefer socket.h over other variants (winsock etc.)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 16:32:18 +00:00
Luigi Rizzo
1e6489a175
trim more redundant headers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 16:18:53 +00:00
Luigi Rizzo
907c86a781
remove unnecessary includes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 14:47:33 +00:00
Luigi Rizzo
5663ff6518
fix breakage induced by previous mistake
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 14:45:46 +00:00
Luigi Rizzo
59692c5e94
wrong variable, wrong order -> broken build.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 14:44:03 +00:00
Luigi Rizzo
a0f06d0dd5
start using asterisk/network.h for network related headers.
...
Also remove some unnecessary includes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 14:11:53 +00:00
Luigi Rizzo
616189c6ec
wrapper for all generic network headers that have different names
...
and locations on the various systems.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 14:00:24 +00:00
Luigi Rizzo
f9ae0522f5
main is called main not amain!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 12:44:22 +00:00
Luigi Rizzo
a9395206f9
conditional targets for building the windows version
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 12:33:15 +00:00
Luigi Rizzo
947bf74890
support cygwin targets
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 11:57:52 +00:00
Luigi Rizzo
fb4d88cc99
and this is the last one to have asterisk compile (not run yet)
...
natively under cygwin.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-11-17 11:10:16 +00:00