]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Olle Johansson [Mon, 9 Oct 2006 11:20:02 +0000 (11:20 +0000)]
Being pedantic... "media" is easier to understand than "data" in the function name... :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44753
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 9 Oct 2006 09:04:30 +0000 (09:04 +0000)]
slightly restructure sipsock_read() removing a "goto"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44752
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Mon, 9 Oct 2006 08:33:52 +0000 (08:33 +0000)]
use S_OR in one place
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44751
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 8 Oct 2006 23:26:10 +0000 (23:26 +0000)]
update_call_counter(): indentation fixes and small simplifications
at the top of the function.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44750
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 8 Oct 2006 23:04:12 +0000 (23:04 +0000)]
localize some variables and reduce nesting depth
(indentation will be fixed by a separate commit).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44749
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 8 Oct 2006 22:45:01 +0000 (22:45 +0000)]
small simplification to initreqprep()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44748
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 8 Oct 2006 22:20:35 +0000 (22:20 +0000)]
Simplify function parse_request() using a single loop instead
of two very similar ones.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44747
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sun, 8 Oct 2006 14:10:26 +0000 (14:10 +0000)]
do not dereference p if we know it is NULL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44745
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 7 Oct 2006 20:42:27 +0000 (20:42 +0000)]
Fix some debug output for setsockopt for TOS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44731
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 7 Oct 2006 18:57:11 +0000 (18:57 +0000)]
- move definition of global_autoframing to the same place as other globals
- set initial value at load/reload
- Add questionmarks for someone to fill in for doxygen
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44717
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 7 Oct 2006 16:32:31 +0000 (16:32 +0000)]
Add/change doxygen and comments
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44708
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 7 Oct 2006 16:26:11 +0000 (16:26 +0000)]
Recommend using "sip reload" since it's much easier to learn and
remember.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44707
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 7 Oct 2006 16:03:36 +0000 (16:03 +0000)]
Explain usage of DEFAULT_SIP_PORT
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44706
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 7 Oct 2006 15:38:18 +0000 (15:38 +0000)]
Do *NOT* use DEFAULT_SIP_PORT in these comparisions, since users may change
that, but the protocol clearly states that if we DO NOT mention a port it
is 5060. DEFAULT_SIP_PORT is whatever we default to listen to.
I believe it's the third time I revert a patch like this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44697
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Paul Cadach [Sat, 7 Oct 2006 14:48:32 +0000 (14:48 +0000)]
Merged revisions 44684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44684 | pcadach | 2006-10-07 20:39:34 +0600 (Сбт, 07 Окт 2006) | 1 line
Propagate caller's transfer capability too
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44686
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Paul Cadach [Sat, 7 Oct 2006 14:45:49 +0000 (14:45 +0000)]
Extend CALLERID() function for "pres" and "ton" values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44685
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 7 Oct 2006 12:50:42 +0000 (12:50 +0000)]
slightly restructure the code that computes the channel's name
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44675
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 7 Oct 2006 12:20:16 +0000 (12:20 +0000)]
put repeated code to set nat mode in a function.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44674
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 7 Oct 2006 11:28:38 +0000 (11:28 +0000)]
put common code in a function to avoid repetitions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44664
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 7 Oct 2006 11:11:39 +0000 (11:11 +0000)]
remove hardwired usage of 5060, use DEFAULT_SIP_PORT instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44663
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 7 Oct 2006 09:36:09 +0000 (09:36 +0000)]
improve and document function get_in_brackets(), introducing
a helper function find_closing_quote() of more general use.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44651
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 7 Oct 2006 08:56:59 +0000 (08:56 +0000)]
when possible, use ast_set2_flags instead of ast_set/ast_clr .
Also mark XXX some dubious places.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44641
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 6 Oct 2006 21:29:14 +0000 (21:29 +0000)]
Merged revisions 44631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44631 | kpfleming | 2006-10-06 16:28:03 -0500 (Fri, 06 Oct 2006) | 2 lines
ensure that mutex locks inside list heads are initialized properly on platforms that require constructor initialization (issue #8029, patch from timrobbins)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44632
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 6 Oct 2006 21:10:42 +0000 (21:10 +0000)]
Merged revisions 44628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44628 | file | 2006-10-06 17:08:54 -0400 (Fri, 06 Oct 2006) | 2 lines
Remove the seqno check for RFC2833, the handler is smart enough to not need it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44630
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 21:04:43 +0000 (21:04 +0000)]
basically fix indentation of a large function after previous
simplifications. On passing, use a single exit point.
(once done with the cleanup i will merge the changes into 1.4,
if applicable)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44626
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 20:34:11 +0000 (20:34 +0000)]
s cannot be null here, so remove the useless test and error-handling block.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44617
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 20:16:13 +0000 (20:16 +0000)]
simplify logic in preparation to reduce indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44616
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 6 Oct 2006 18:47:49 +0000 (18:47 +0000)]
Merged revisions 44605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44605 | file | 2006-10-06 14:46:28 -0400 (Fri, 06 Oct 2006) | 2 lines
When the sequence number rolls over then reset the recorded sequence number for DTMF (issue #8106 reported by bungalow)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44606
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 6 Oct 2006 17:27:30 +0000 (17:27 +0000)]
Massive cleanup of the rpt code, updating to current coding guidelines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44595
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 6 Oct 2006 16:56:05 +0000 (16:56 +0000)]
Merged revisions 44581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44581 | file | 2006-10-06 12:53:48 -0400 (Fri, 06 Oct 2006) | 10 lines
Merged revisions 44580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44580 | file | 2006-10-06 12:52:14 -0400 (Fri, 06 Oct 2006) | 2 lines
Even more frames to treat as though the remote side disappeared (issue #8097 reported by eldadran)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44582
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 16:43:36 +0000 (16:43 +0000)]
document a bit the use of templates.
They are highly convenient for writing configuration files, especially
if you have many similar entries, or want to switch quickly between
different configurations without having to comment/uncomment large
sections of the files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44579
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 16:20:42 +0000 (16:20 +0000)]
document the "contact" option a bit better.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44578
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 16:08:28 +0000 (16:08 +0000)]
help old bsd-system which don't have RLIMIT_AS and use RLIMIT_VMEM
for virtual memory limits.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44577
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 15:59:57 +0000 (15:59 +0000)]
make sure sockets are blocking when they should be blocking.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44568
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 15:41:12 +0000 (15:41 +0000)]
Two things:
1. slightly rearrange/simplify the parsing of the argument in sip_register.
This brings in a patch that has been in Mantis (5834) for ages,
and is the larger part of the commit;
2. implement the "contact" option for peers, similar to the one in users.conf:
If you put a "contact" option with a non-empty argument (e.g. contact=123)
in a peer section, asterisk will register with the provider as if you had a
register= username:secret@host/contact
line in the general section.
The latter is a very small is a new feature so i am not putting it
in the 1.4 branch, although the "contact" option in user.conf is
already in the 1.4 branch and so it wouldn't be too strange to
merge it.
Note that the implementation of "contact" is much simpler than
the one in 5834, and limited to a few lines in build_peer().
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44566
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Fri, 6 Oct 2006 09:01:09 +0000 (09:01 +0000)]
Remove deprecated "incominglimit" config option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44545
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 6 Oct 2006 06:43:49 +0000 (06:43 +0000)]
update example commands to match current syntax
(does not apply to 1.4)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44537
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Oct 2006 02:24:26 +0000 (02:24 +0000)]
regenerate the configure script to reflect the latest changes done by
Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44527
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 5 Oct 2006 20:13:04 +0000 (20:13 +0000)]
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
Joshua Colp [Thu, 5 Oct 2006 19:58:50 +0000 (19:58 +0000)]
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
Steve Murphy [Thu, 5 Oct 2006 18:29:06 +0000 (18:29 +0000)]
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
Joshua Colp [Thu, 5 Oct 2006 18:03:34 +0000 (18:03 +0000)]
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
Kevin P. Fleming [Thu, 5 Oct 2006 16:11:09 +0000 (16:11 +0000)]
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
Luigi Rizzo [Thu, 5 Oct 2006 15:42:14 +0000 (15:42 +0000)]
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
Joshua Colp [Thu, 5 Oct 2006 02:43:07 +0000 (02:43 +0000)]
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
Kevin P. Fleming [Thu, 5 Oct 2006 01:43:02 +0000 (01:43 +0000)]
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
Steve Murphy [Thu, 5 Oct 2006 01:40:06 +0000 (01:40 +0000)]
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
Kevin P. Fleming [Thu, 5 Oct 2006 01:30:44 +0000 (01:30 +0000)]
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
Luigi Rizzo [Wed, 4 Oct 2006 23:52:23 +0000 (23:52 +0000)]
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
Luigi Rizzo [Wed, 4 Oct 2006 23:47:20 +0000 (23:47 +0000)]
small formatting fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44422
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Wed, 4 Oct 2006 23:41:08 +0000 (23:41 +0000)]
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
Luigi Rizzo [Wed, 4 Oct 2006 23:01:45 +0000 (23:01 +0000)]
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
Luigi Rizzo [Wed, 4 Oct 2006 22:59:02 +0000 (22:59 +0000)]
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
Luigi Rizzo [Wed, 4 Oct 2006 22:52:35 +0000 (22:52 +0000)]
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
Luigi Rizzo [Wed, 4 Oct 2006 22:51:17 +0000 (22:51 +0000)]
put linker flags in ASTLDFLAGS where they belong
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44408
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 4 Oct 2006 21:20:55 +0000 (21:20 +0000)]
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
Kevin P. Fleming [Wed, 4 Oct 2006 21:10:36 +0000 (21:10 +0000)]
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
Kevin P. Fleming [Wed, 4 Oct 2006 19:51:38 +0000 (19:51 +0000)]
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
Steve Murphy [Wed, 4 Oct 2006 19:33:37 +0000 (19:33 +0000)]
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
Steve Murphy [Wed, 4 Oct 2006 17:10:53 +0000 (17:10 +0000)]
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
Steve Murphy [Wed, 4 Oct 2006 16:48:07 +0000 (16:48 +0000)]
CLI reverbification update to this config file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44352
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 4 Oct 2006 15:37:51 +0000 (15:37 +0000)]
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
Kevin P. Fleming [Wed, 4 Oct 2006 00:26:21 +0000 (00:26 +0000)]
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
Matt O'Gorman [Tue, 3 Oct 2006 22:36:51 +0000 (22:36 +0000)]
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
Kevin P. Fleming [Tue, 3 Oct 2006 20:19:32 +0000 (20:19 +0000)]
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
Joshua Colp [Tue, 3 Oct 2006 20:17:40 +0000 (20:17 +0000)]
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
Paul Cadach [Tue, 3 Oct 2006 18:47:38 +0000 (18:47 +0000)]
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
Joshua Colp [Tue, 3 Oct 2006 18:37:06 +0000 (18:37 +0000)]
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
Joshua Colp [Tue, 3 Oct 2006 17:41:41 +0000 (17:41 +0000)]
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
Joshua Colp [Tue, 3 Oct 2006 17:10:16 +0000 (17:10 +0000)]
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
Steve Murphy [Tue, 3 Oct 2006 16:42:26 +0000 (16:42 +0000)]
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
Joshua Colp [Tue, 3 Oct 2006 16:15:28 +0000 (16:15 +0000)]
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
Matt O'Gorman [Tue, 3 Oct 2006 15:53:07 +0000 (15:53 +0000)]
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
Tilghman Lesher [Tue, 3 Oct 2006 15:50:25 +0000 (15:50 +0000)]
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
Luigi Rizzo [Tue, 3 Oct 2006 15:48:57 +0000 (15:48 +0000)]
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
Luigi Rizzo [Tue, 3 Oct 2006 15:41:00 +0000 (15:41 +0000)]
simplify this file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44250
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Tue, 3 Oct 2006 00:07:45 +0000 (00:07 +0000)]
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
Tilghman Lesher [Mon, 2 Oct 2006 22:02:45 +0000 (22:02 +0000)]
Use the standard parsing routines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44231
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 2 Oct 2006 20:58:48 +0000 (20:58 +0000)]
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
Joshua Colp [Mon, 2 Oct 2006 20:35:16 +0000 (20:35 +0000)]
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
Joshua Colp [Mon, 2 Oct 2006 20:13:26 +0000 (20:13 +0000)]
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
Joshua Colp [Mon, 2 Oct 2006 19:43:00 +0000 (19:43 +0000)]
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
Paul Cadach [Mon, 2 Oct 2006 19:01:10 +0000 (19:01 +0000)]
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
Paul Cadach [Mon, 2 Oct 2006 18:59:03 +0000 (18:59 +0000)]
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
Paul Cadach [Mon, 2 Oct 2006 18:57:49 +0000 (18:57 +0000)]
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
Joshua Colp [Mon, 2 Oct 2006 17:54:21 +0000 (17:54 +0000)]
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
Joshua Colp [Mon, 2 Oct 2006 17:26:34 +0000 (17:26 +0000)]
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
Joshua Colp [Mon, 2 Oct 2006 16:56:15 +0000 (16:56 +0000)]
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
Kevin P. Fleming [Mon, 2 Oct 2006 16:00:11 +0000 (16:00 +0000)]
clean up formatting and conformance to code guidelines
revert Mark's change that caused a memory leak (cap_set_proc() does not free the capability structure so we always need to call cap_free())
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44152
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 2 Oct 2006 15:40:38 +0000 (15:40 +0000)]
Add option 'keepstats' which will keep queue statistics during a reload. (issue #7908 reported by jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44150
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 2 Oct 2006 04:17:57 +0000 (04:17 +0000)]
It makes more sense that in GosubIf that the two labels might have different arguments.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44148
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Mon, 2 Oct 2006 02:38:52 +0000 (02:38 +0000)]
Don't use channel when you don't mean a channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44147
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Mon, 2 Oct 2006 02:19:04 +0000 (02:19 +0000)]
Uhm yah, not sure who committed this into trunk... Anyway, I think this
is what was intended...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44145
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Paul Cadach [Sun, 1 Oct 2006 19:40:00 +0000 (19:40 +0000)]
Merged revisions 44135 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44135 | pcadach | 2006-10-02 01:32:24 +0600 (Пнд, 02 Окт 2006) | 1 line
Do not simulate any audio tones if we got PROGRESS message
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44136
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 1 Oct 2006 18:30:42 +0000 (18:30 +0000)]
Merged revisions 44125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44125 | russell | 2006-10-01 14:30:06 -0400 (Sun, 01 Oct 2006) | 6 lines
Fix a problem that cuased AST_DATA_DIR in defaults.h to be empty. The cause is
that since ASTDATADIR is explicitly exported using "export ASTDATADIR" at the
top of the Makefile, make no longer considers the variable "undefined", so the
Makefile can't use ?= to set ASTDATADIR if not yet set.
(issue #8063, reported by akohlsmith, fixed by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44126
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 1 Oct 2006 15:20:50 +0000 (15:20 +0000)]
Merged revisions 44111 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r44111 | russell | 2006-10-01 11:20:12 -0400 (Sun, 01 Oct 2006) | 11 lines
Merged revisions 44110 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r44110 | russell | 2006-10-01 11:19:23 -0400 (Sun, 01 Oct 2006) | 3 lines
Fix the name of the "eventmemberstatus" option in the sample queues.conf
(issue #8065, adamg)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44112
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 1 Oct 2006 05:37:46 +0000 (05:37 +0000)]
Janitor for Zapateller: convert to use argument macros
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44100
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Paul Cadach [Sat, 30 Sep 2006 19:23:59 +0000 (19:23 +0000)]
Merged revisions 44090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44090 | pcadach | 2006-10-01 01:20:38 +0600 (Вск, 01 Окт 2006) | 1 line
Allow one-way RTP streams (device->Asterisk)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44091
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Sat, 30 Sep 2006 16:37:21 +0000 (16:37 +0000)]
merge compile fixes from 44080:
- with AST_DEVMODE, building codecs/lpc10 fails because of lots
of warnings, and the configure step in editline fails as well.
Fix this by removing the -Werror in these steps.
- on FreeBSD (but probably on other platforms as well), the final
link of asterisk fails because AST_LIBS was not exported to the
subdirs Makefiles. Add a proper fix in the top-level Makefile
(a possible alternative way is to add "export AST_LIBS" near
the beginning of the file).
With this fix, i believe that some of the platform-specific
conditionals in main/Makefile are redundant (because they should
be already dealt with in the top level Makefile) but i don't
have a platform to check.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44081
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Paul Cadach [Sat, 30 Sep 2006 16:15:53 +0000 (16:15 +0000)]
Merged revisions 44078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44078 | pcadach | 2006-09-30 22:12:23 +0600 (Сбт, 30 Сен 2006) | 6 lines
Fix issue #7928 correctly. Next is a comment of previous fix:
Issue #7928 - Don't send both 404 and 503. Fix by phsultan with
a small fix by me, myself or I. Thanks, Philippe!
(This was caused by my changes to the transaction handling)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44079
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3