Joshua Colp
9565f72ad3
Fix indenting a bit (issue #8082 reported by selsky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 20:13:04 +00:00
Joshua Colp
3dd0ce45fd
Merged revisions 44502 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44502 | file | 2006-10-05 15:57:16 -0400 (Thu, 05 Oct 2006) | 10 lines
Merged revisions 44501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44501 | file | 2006-10-05 15:55:41 -0400 (Thu, 05 Oct 2006) | 2 lines
Treat busy control frames as hangup in the file streaming core (issue #8097 reported by eldadran)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 19:58:50 +00:00
Steve Murphy
6f34a8d78d
These mods fix a problem pointed out by dgartang, where in certain situations, the target of a goto cannot be found, even right under your nose. This is because the current context is not updated properly, and rather than waste time and find why and where the context should have been updated, I just use my newly added 'dad' ptrs, and pop until I have either the context or extension, and use that instead.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 18:29:06 +00:00
Joshua Colp
0b26b56316
Merged revisions 44486 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44486 | file | 2006-10-05 14:01:51 -0400 (Thu, 05 Oct 2006) | 2 lines
One more T.38 fix! Don't leave a reinvite hanging by a thread if the other side is already setup with T.38
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 18:03:34 +00:00
Kevin P. Fleming
8f1fc1ca08
Merged revisions 44476 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44476 | kpfleming | 2006-10-05 11:10:01 -0500 (Thu, 05 Oct 2006) | 3 lines
don't segfault when an argument without a close parenthesis is found
stop parsing as soon as that situation occurs
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 16:11:09 +00:00
Luigi Rizzo
f4cd569b12
Basically, this commit only simplifies configure.ac and makes the
...
mechanism more flexible, but otherwise should not affect your build
even if you regenerate the "configure" script.
(Most likely you need to run bootstrap.sh as you really need to re-run
autoheader for reasons that i do not completely understand).
If you don't regenerate "configure", of course you will see no difference.
In detail:
- restructure the check for mandatory modules to remove some
redundant code blocks;
- extend the AST_EXT_LIB_CHECK so that it can used also for
checking headers;
- define the AST_C_DEFINE_CHECK macro to test for #defined symbols;
- for the two above macros, add a last argument that getscopied into
HAVE_$1_VERSION so the source can adapt to different versions of the
same libraries/header/etc
- document the above;
- document a problem that existed before and i did not manage to solve:
the 'description' argument to AC_DEFINE does not substiture shell variables
so you will not see the actual values in the comments (in autoconfig.h)..
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 15:42:14 +00:00
Joshua Colp
9924c3e2e9
Merged revisions 44450 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44450 | file | 2006-10-04 22:40:40 -0400 (Wed, 04 Oct 2006) | 2 lines
Don't totally bail out if T.38 was negotiated
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 02:43:07 +00:00
Kevin P. Fleming
cd0457d14e
Merged revisions 44436 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44436 | kpfleming | 2006-10-04 20:42:06 -0500 (Wed, 04 Oct 2006) | 2 lines
this change was correct, the old version is no longer needed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 01:43:02 +00:00
Steve Murphy
3d323f5345
As per ToDo list, I have made it so that Wait(), WaitExten(), Congestion(), Busy(), Read(), WaitForRing(), will now either actually handle a floating point argument as advertised, or has been upgraded to accept a floating point [timeout] arg.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 01:40:06 +00:00
Kevin P. Fleming
975ef9de9d
Merged revisions 44433 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44433 | kpfleming | 2006-10-04 20:30:05 -0500 (Wed, 04 Oct 2006) | 10 lines
Merged revisions 44432 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44432 | kpfleming | 2006-10-04 20:27:57 -0500 (Wed, 04 Oct 2006) | 2 lines
fix Polycom presence notification again
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-05 01:30:44 +00:00
Luigi Rizzo
13dc7ac7d2
simplify checks for OSS using AST_EXT_LIB_CHECK;
...
remove two repeated blocks using better logic.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 23:52:23 +00:00
Luigi Rizzo
637c5d7fb2
small formatting fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 23:47:20 +00:00
Luigi Rizzo
4b55f8d98f
when only checking headers, do not set $1_LIB.
...
Also PBX_$1=0 is the default so we don't need to set it explicitly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44421 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 23:41:08 +00:00
Luigi Rizzo
5cf27a303d
document, and extend a bit the macro AST_EXT_LIB_CHECK so that
...
it can be used in more places in configure.ac
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 23:01:45 +00:00
Luigi Rizzo
e7db78a404
restore proper CPPFLAGS and LDFLAGS for FreeBSD,
...
until a better solution is found.
Please do not commit the regenerated "configure" file yet,
as there are some more simplifications to be applied to
configure.ac and acinclude.m4 in the next few days.
For the same reason, i am postponing the commit to the 1.4 branch
until the above changes are complete.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 22:59:02 +00:00
Luigi Rizzo
d16122c826
correct libraries for astman, at least so i think...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 22:52:35 +00:00
Luigi Rizzo
d3f886fb14
put linker flags in ASTLDFLAGS where they belong
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 22:51:17 +00:00
Kevin P. Fleming
50bcacbdbd
Merged revisions 44393 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44393 | kpfleming | 2006-10-04 16:17:30 -0500 (Wed, 04 Oct 2006) | 11 lines
Merged revisions 44392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44392 | kpfleming | 2006-10-04 16:15:29 -0500 (Wed, 04 Oct 2006) | 3 lines
remove workaround for old Polycom firmware SUBSCRIBE requests
add workaround for new Polycom firmware SUBSCRIBE requests (bug is known to exist in 2.0.1 firmware)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 21:20:55 +00:00
Kevin P. Fleming
c28461197b
Merged revisions 44390 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44390 | kpfleming | 2006-10-04 16:04:21 -0500 (Wed, 04 Oct 2006) | 2 lines
make LOW_MEMORY builds actually work
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 21:10:36 +00:00
Kevin P. Fleming
3c876af5cf
Merged revisions 44378 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines
update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 19:51:38 +00:00
Steve Murphy
de7a85105a
These changes resolve the problems in bug 8090, where there's a crash compiling an empty context
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 19:33:37 +00:00
Steve Murphy
8135d5016a
I've been meaning to add some explanation about muted... here it is
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 17:10:53 +00:00
Steve Murphy
6e42aa676c
CLI reverbification update to this config file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 16:48:07 +00:00
Steve Murphy
4179a9f8b8
Added a warning to the documentation for Macro in response to bug 7776
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 15:37:51 +00:00
Kevin P. Fleming
41eb95e055
Merged revisions 44322 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44322 | kpfleming | 2006-10-03 19:25:44 -0500 (Tue, 03 Oct 2006) | 3 lines
ensure that local include files are always used
avoid a duplicate function name (term_init())
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 00:26:21 +00:00
Matt O'Gorman
7294ba3852
Merged revisions 44312 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.4
........
r44312 | mogorman | 2006-10-03 17:35:43 -0500 (Tue, 03 Oct 2006) | 2 lines
fix issue with dialing client without resource.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 22:36:51 +00:00
Kevin P. Fleming
e486316dc6
Merged revisions 44298 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44298 | kpfleming | 2006-10-03 15:18:29 -0500 (Tue, 03 Oct 2006) | 10 lines
Merged revisions 44296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44296 | kpfleming | 2006-10-03 15:14:13 -0500 (Tue, 03 Oct 2006) | 2 lines
fix a logic error in my previous fix to the queue reload code
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 20:19:32 +00:00
Joshua Colp
31800f61c3
Strat becomes Strategy based on feedback from two nameless fellows
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 20:17:40 +00:00
Paul Cadach
eb7f97f2d6
Merged revisions 44283,44286 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44283 | pcadach | 2006-10-04 00:30:48 +0600 (Срд, 04 Окт 2006) | 1 line
Fix preparation of type and presentation of calling number
........
r44286 | pcadach | 2006-10-04 00:42:20 +0600 (Срд, 04 Окт 2006) | 1 line
Change default presentation indicator to "user provided not screened" if octet 3a missed in CallingPartyNumber IE
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 18:47:38 +00:00
Joshua Colp
6727e8f599
Merged revisions 44284 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44284 | file | 2006-10-03 14:35:55 -0400 (Tue, 03 Oct 2006) | 2 lines
Use VideoSupport instead so it is considered a valid XML attribute name. (issue #8075 reported by renemendoza)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 18:37:06 +00:00
Joshua Colp
e550109383
Add 'Strat' manager field to QueueParams event. (issue #7704 reported by renemendoza)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 17:41:41 +00:00
Joshua Colp
b5f2589e33
Add Masquerade manager event which trips when a masquerade happens (issue #7840 reported by moy)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 17:10:16 +00:00
Steve Murphy
19dc73ad40
These changes correspond to the changes to app_stack's Gosub() application
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 16:42:26 +00:00
Joshua Colp
e936f71ff2
First entry! Tell people about the callerid changes with manager.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 16:15:28 +00:00
Matt O'Gorman
ae8cc3e18b
bug #8076 check option_debug before printing to debug channel.
...
patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:53:07 +00:00
Tilghman Lesher
c9c1613503
Okay, I can't use ast_app_separate_args for that... and add some debugging for murf...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:50:25 +00:00
Luigi Rizzo
3ef55bbf81
comment the fact that autoconf2.59 is ok to process this file, but we want to
...
use 2.60 in case the generated "configure" file must me committed back to the
repository, so we keep differences to a minimum.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:48:57 +00:00
Luigi Rizzo
812a7b2539
simplify this file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:41:00 +00:00
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 00:07:45 +00:00
Tilghman Lesher
d3033c319b
Use the standard parsing routines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 22:02:45 +00:00
Joshua Colp
8ff3dd273a
Expand setinterfacevar option to also set a variable, MEMBERNAME, which contains the member's name. (issue #8046 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 20:58:48 +00:00
Joshua Colp
3e4a081e1c
Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 20:35:16 +00:00
Joshua Colp
fadd9e7831
Merged revisions 44215 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44215 | file | 2006-10-02 16:11:02 -0400 (Mon, 02 Oct 2006) | 10 lines
Merged revisions 44213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44213 | file | 2006-10-02 16:07:59 -0400 (Mon, 02 Oct 2006) | 2 lines
Change the fd on the I/O context in case it changed during the reload, which is indeed possible. (issue #7943 reported by eclubb)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 20:13:26 +00:00
Joshua Colp
e7e85a8471
Merged revisions 44199 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44199 | file | 2006-10-02 15:41:39 -0400 (Mon, 02 Oct 2006) | 10 lines
Merged revisions 44198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44198 | file | 2006-10-02 15:39:59 -0400 (Mon, 02 Oct 2006) | 2 lines
We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 19:43:00 +00:00
Paul Cadach
b4ef9599de
Merged revisions 44186 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44186 | pcadach | 2006-10-03 00:52:56 +0600 (Втр, 03 Окт 2006) | 1 line
Missed part of userconf functionality for chan_h323
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 19:01:10 +00:00
Paul Cadach
bd68b139e6
Merged revisions 44167 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44167 | pcadach | 2006-10-02 23:16:37 +0600 (Пнд, 02 Окт 2006) | 1 line
Typo fix
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44188 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 18:59:03 +00:00
Paul Cadach
b018f59307
Merged revisions 44166 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44166 | pcadach | 2006-10-02 23:15:11 +0600 (Пнд, 02 Окт 2006) | 1 line
Optimization of oh323_indicate(): less locks - less problems, plus single exit point
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 18:57:49 +00:00
Joshua Colp
e5203bb283
Add option to logger to rename log files with timestamp (issue #8020 reported by jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 17:54:21 +00:00
Joshua Colp
21b3254437
Merged revisions 44169 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44169 | file | 2006-10-02 13:25:13 -0400 (Mon, 02 Oct 2006) | 10 lines
Merged revisions 44168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44168 | file | 2006-10-02 13:22:27 -0400 (Mon, 02 Oct 2006) | 2 lines
Shrink when current_ioc is unused. It is set to -1 when unused, not 0. (issue #7941 reported by eclubb)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 17:26:34 +00:00
Joshua Colp
c0a16b54c6
Get rid of the IS_NULL_STRING macro and use ast_strlen_zero instead (issue #8070 reported by wrmem)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 16:56:15 +00:00