Joshua Colp
5880a7f513
Do not leave a thread in limbo if an error occurs, or if testing packet loss.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 00:53:32 +00:00
Olle Johansson
d80f3bc20e
Issue 5852 (casper) Code clean up, adding documentation on new switches. Thanks!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 00:33:28 +00:00
Olle Johansson
adf8c8deda
- Change AST_INLINE_AP to AST_INLINE_API for non-386 systems :-)
...
- Doxygen changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 00:25:50 +00:00
Luigi Rizzo
7dbeaa4ef0
remove useless 'extern' in function declarations.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 00:11:45 +00:00
Mark Spencer
f073e16896
Add NetBSD for credits for editline
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 23:42:57 +00:00
Luigi Rizzo
a7ec530a64
initial implementation of support for native atomic ops.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 23:26:22 +00:00
Tilghman Lesher
9a9ab4e7cf
Merged revisions 16581 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16581 | tilghman | 2006-03-30 16:56:35 -0600 (Thu, 30 Mar 2006) | 2 lines
Bug 6853 - Manager fixes: 1) extra ActionID, 2) missing colon
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 23:05:58 +00:00
Tilghman Lesher
24bc847e9d
Merged revisions 16579 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16579 | tilghman | 2006-03-30 16:46:06 -0600 (Thu, 30 Mar 2006) | 2 lines
Bug 6849 - trivial typo fix
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 22:47:11 +00:00
Joshua Colp
5b1069f262
Add more 64-bit detection goodness (issue #6850 reported by evilbunny)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:57:49 +00:00
Joshua Colp
dc43a00d19
Block 1.2 fix for amd64, trunk version coming soon
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:52:04 +00:00
Luigi Rizzo
7e2b1c539a
localize a variable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:49:24 +00:00
Luigi Rizzo
b7467d7d09
use ast_strdup instead of strdup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:47:22 +00:00
Luigi Rizzo
c163911efe
don't use 8000, use DEFAULT_SAMPLE_RATE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:45:43 +00:00
Luigi Rizzo
6c232811c0
as discussed with Mark a few weeks ago, the 'newstack' argument
...
in pbx_exec is always 1 so it can be removed.
This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:29:39 +00:00
Olle Johansson
c6d1bfbb31
Doxygen doc updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 19:05:00 +00:00
Kevin P. Fleming
4e5ea82b7e
deprecate insecure=very and insecure=yes, since we have more explicit versions available now
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 18:17:36 +00:00
Joshua Colp
bf7f1ec0f8
Merged revisions 16534 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16534 | file | 2006-03-30 13:55:28 -0400 (Thu, 30 Mar 2006) | 2 lines
Do not exceed the array size for maximum allowed moh files. (issue #6842 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 17:58:16 +00:00
Luigi Rizzo
1de8b16b1e
remove AST_MUTEX_DEFINE_EXPORTED, which now has no more clients.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 17:11:49 +00:00
Luigi Rizzo
48864ab877
do not export the tzlock and the list head, and introduce a new method,
...
ast_walk_indications(), to walk through the list of indications.
The new method returns an unlocked record, which is no different from the
behaviour of other existing methods in indications.c
(i.e. they all need to be fixed, with refcounts or some similar
method).
Note that ast_walk_indications() uses the pointer argument only as a
search key, so its implementation is completely safe.
In turn, this change allows the removal of AST_MUTEX_DEFINE_EXPORTED.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 17:10:11 +00:00
Luigi Rizzo
6d2fbc0b90
document why there are so many versions of the mutex functions,
...
with their pros and cons, and that we should converge to a single method.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 16:09:23 +00:00
Kevin P. Fleming
4ee62f1bcd
be more careful when merging in a branch with automerge properties :-(
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 14:19:25 +00:00
Russell Bryant
03ce34e1aa
convert internal timing to be stored as a flag in the ast_options flags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 06:26:16 +00:00
Olle Johansson
50f0b12880
Issue #5374 - Enable internal timing of generators (cmantunes)
...
Thanks everyone involved for hard work, testing and testing!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 06:07:04 +00:00
Olle Johansson
2c4ebe356e
Issue #6450 - Don't remove characters from SIP uri's when not needed
...
Patch by jcomellas, heavily modified by oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 04:16:38 +00:00
Joshua Colp
0c134c5cba
Fix IAX2 multithreaded scheduling (issue #6840 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 03:16:09 +00:00
Olle Johansson
dfc9952986
Set default value of adsipark (import from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 01:35:56 +00:00
Olle Johansson
7ffb04a7ec
Block patch on app_groupcount.c from 1.2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 01:30:15 +00:00
Olle Johansson
eb94c40702
Typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 00:32:01 +00:00
Olle Johansson
3d1f9b747e
Formatting fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 00:30:49 +00:00
North Antara
139b07c76c
whitespace "fixes", and general cleanup
...
It's nice to have consistency in sample configs too.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 21:08:13 +00:00
Luigi Rizzo
c01fc0ee03
the comment character is ';' not '#' ...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 20:09:10 +00:00
Olle Johansson
16728da6a7
Whitespace fix forgotten by someone who added a note about needing to fix this...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 20:08:14 +00:00
Russell Bryant
aa029f44f0
convert calloc and malloc+memset to ast_calloc and remove duplicate error messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 19:54:41 +00:00
Tilghman Lesher
a532c787f2
Merged revisions 16192 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16192 | tilghman | 2006-03-29 13:11:18 -0600 (Wed, 29 Mar 2006) | 2 lines
Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16193 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 19:30:57 +00:00
Olle Johansson
13bcb6ed7d
Update to code documentation and developer guidelines.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 17:09:33 +00:00
Luigi Rizzo
b5c5446ec4
another batch of cli simplifications.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 16:51:51 +00:00
Luigi Rizzo
8f5bf61ef8
mention issues with the protection of the list used in indications.c
...
(part of work done to figure out what is used and what is not in lock.h)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 16:00:51 +00:00
Christian Richter
acacae4e68
fixed no dtmf detect on 64 bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 14:26:43 +00:00
Tilghman Lesher
0f48e2ba9e
Merged revisions 16082 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r16082 | tilghman | 2006-03-29 08:10:23 -0600 (Wed, 29 Mar 2006) | 2 lines
Bug 6835 - Updates to GotoIf help text
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 14:24:30 +00:00
Mark Spencer
8b5670d8f1
Fix build of asterisk again (ahem, committers!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 05:12:24 +00:00
Olle Johansson
9e9db42562
Doxygen updates
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:42:07 +00:00
Olle Johansson
a6a0a8a287
- Formatting fixes
...
- Doxygen
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:34:55 +00:00
Russell Bryant
1caeee1c61
oops! :)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:19:23 +00:00
Russell Bryant
d8b204563f
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:16:09 +00:00
Russell Bryant
9b436eecb7
fix the provided unsetenv for solaris to return an int like it's supposed to
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:14:12 +00:00
Russell Bryant
6601f4deba
conversion from malloc to ast_malloc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:09:31 +00:00
Luigi Rizzo
705ccb2218
Introduce an utility macro to set base, offset and
...
datalen of a frame, which is a very common operation.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 02:14:38 +00:00
Luigi Rizzo
68ab41ebfe
Add two widely used constants
...
#define DEFAULT_SAMPLE_RATE 8000
#define DEFAULT_SAMPLES_PER_MS ((DEFAULT_SAMPLE_RATE)/1000)
to the main header, and remove equivalent ones from plc.[ch]
This will simplify the cleanup of the codec/ and formats/ files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 02:12:31 +00:00
North Antara
150e0b72cc
Added more "valid" phone types to skinny sample config.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 01:08:01 +00:00
Olle Johansson
b366c4062e
Issue #6823 - Registration and port numbers. (from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 01:01:09 +00:00