russell
1d62e35521
- add AST_LIST_HEAD_NOLOCK_STATIC, similar to AST_LIST_HEAD_STATIC, but without the lock!
...
- store registered channel backends using linked list macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7968 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 05:05:13 +00:00
russell
6b12442db5
lock list of translators *before* recalculating translation matrix.
...
Also, store translators using linked list macros.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7967 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 05:00:45 +00:00
russell
d47b8a1a28
remove stray header
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 04:39:53 +00:00
russell
1eb7a651e2
Add wrappers for commonly used memory allocation functions. These wrappers
...
add an automatically generated Asterisk log message if the allocation fails
for some reason. Otherwise, they are functionally the same, with the
exception of ast_strdup and ast_strndup. These functions have the added
ability to accept a NULL argument without error, which will just be ignored
without generating an error. The coding guidelines have also been updated to
reflect all of this information. (issue #4996 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7952 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10 23:51:42 +00:00
tilghman
603f6f0ce3
Bug 5961 - new RAND() function
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7920 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10 00:55:45 +00:00
mogorman
4956021b6d
Commiting bugfix 5310. added functions to astobj
...
for queue like structure. astobj_container_link_end
astobj_container_link_start
astobj_conatiner_unlink_start
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-08 17:24:54 +00:00
markster
d1d90f47fd
Add support for H.264 with SIP and recording
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 17:54:22 +00:00
tilghman
cde8c70439
Bug 6164 - Allow ast_skip_blanks on const strings without spewing warning
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7854 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 15:45:47 +00:00
tilghman
d26c57d4be
Bug 6162 - Constify manager_event arguments
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7853 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 15:23:38 +00:00
mattf
e157d1f1e9
Changes to allow receiving japanese callerid (Bug #5928 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-06 20:03:20 +00:00
kpfleming
dd5fd06f56
ensure that string field 'build' operation only evaluates arguments one time
...
fix some minor documentation errors
return proper type from string field space allocator
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7841 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-06 19:19:17 +00:00
tilghman
63aec1e233
Merged revisions 7827 via svnmerge from
...
/branches/1.2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7828 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 23:54:28 +00:00
oej
e8a7928eaa
Doxygen updates
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7814 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 09:40:22 +00:00
kpfleming
b3aeb7784d
add memory-pool based string field management for structures
...
convert chan_sip sip_pvt and sip_registry structures to use string fields
add 'const' qualifiers to a few API calls that don't modify their input strings
add an asprintf() wrapper to astmm
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7797 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04 21:54:09 +00:00
kpfleming
385d29ad6f
update copyright headers for files changed this year
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 22:16:23 +00:00
kpfleming
66b30d5d48
Merged revisions 7740 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7740 | kpfleming | 2006-01-03 11:24:56 -0600 (Tue, 03 Jan 2006) | 4 lines
revert incorrect fix for bug #6048 from revision 7709
put in correct (simpler) fix
add doxygen docs for channel spy 'state' values
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7741 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 17:25:39 +00:00
oej
1481c4a127
Bug #6109 : Fix unprotected list in RTP, implement AST_LIST macros, update doxygen docs
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7730 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 09:30:19 +00:00
oej
b417b748b6
Bug #6118 : Clean up list handling in image.c (drumkilla)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7728 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 08:40:55 +00:00
russell
cecdcd6289
fix a couple of doxygen errors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-01 18:37:50 +00:00
russell
c92403c479
- fix some doxygen errors
...
- add the flag definitions to the page about global options
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7690 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-31 19:45:30 +00:00
tilghman
8d6c048c86
Bug 5183 - Inline stack backtraces
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7646 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 06:24:28 +00:00
russell
470cfa71c8
minor cleanups ...
...
- use for loops instead of while loops for basic list traversals
- only calculate word length one time in CLI complete functions
- use calloc instead of malloc + memset
- remove some unnecessary casts
- formatting tweaks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-24 06:23:36 +00:00
russell
cc20111b72
- move the string join() function to utils.c since it is used in both cli.c and res_agi.c
...
- reimplement ast_join to be of linear effieciency instead of quadratic
- remove some useless checks for "if (e)"
- reorder checks for strings starting with '_' to avoid a useless call to ast_join()
- check array bounds when parsing arguments to AGI
(issue #5868 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7556 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 20:20:04 +00:00
markster
37635ecfdd
Major RTP fixes for using inbound SDP on outbound connection, get rid of
...
old local rtp stuff...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 17:52:31 +00:00
markster
be3c78074e
Major peformance improvements to meetme
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 13:07:02 +00:00
tilghman
18c2c62232
Merged revisions 7508 via svnmerge from
...
/branches/1.2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7509 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-17 01:07:44 +00:00
tilghman
205d533dc5
Typo
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7434 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-12 17:20:21 +00:00
tilghman
8ca09cb947
Bug 5965 - major bug in AST_LIST_REMOVE
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7428 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-11 01:26:09 +00:00
russell
cfb1ef4712
convert most of the option_*'s to a single ast_flags structure. Also, fix some
...
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04 20:40:46 +00:00
tilghman
3365b1cc9f
Bug 5858 - Make the chanvars.c functions return a 'const char *'
...
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03 19:25:33 +00:00
kpfleming
24c1e3c222
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:24:39 +00:00
kpfleming
6c54a7cf87
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:09:49 +00:00
twisted
affd985bf2
issue #5826
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7188 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-23 05:03:42 +00:00
kpfleming
87a3621538
issue #5590
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 03:48:28 +00:00
kpfleming
4087161a90
issue #5669
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7067 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 01:30:34 +00:00
kpfleming
ec2c69f0a0
issue #5668 , modified to compile on non-Cygwin platforms :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7061 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 00:21:42 +00:00
russell
a83209ea26
issue #5709
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7050 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:08:00 +00:00
kpfleming
6bee75761a
issue #5658 , different fix
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7041 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-09 02:04:27 +00:00
kpfleming
22a3a5d9f8
issue #5563
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7040 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-09 02:01:12 +00:00
kpfleming
007af44e56
issue #2720
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 23:37:53 +00:00
kpfleming
ccc2fc8a31
issue #5569 minus lock.h changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:13:19 +00:00
kpfleming
d0b521d57c
more header include simplification
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7023 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:02:35 +00:00
kpfleming
c71e69de08
issue #5570
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7022 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 03:54:04 +00:00
kpfleming
291f96ced4
header cleanup
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7021 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 03:48:02 +00:00
russell
9921296577
fix application options that take arguments
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7020 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 03:41:10 +00:00
kpfleming
d46511efe7
whitespace cleanup, don't include unnecessary header
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7016 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 03:19:05 +00:00
kpfleming
ae3a851d8d
issue #5599
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7007 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 01:29:14 +00:00
russell
28eb6d3482
Convert some built-in applications to use new args parsing macros.
...
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6987 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 21:00:35 +00:00
russell
d3ddc001a2
issue #5605
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
markster
060f83d829
Fix extra semicolon (bug #5617 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6966 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 04:39:52 +00:00
kpfleming
909e56f0eb
old compiler compatibility (again...)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6960 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-04 15:23:32 +00:00
kpfleming
ae35e4e069
major update to arg/option parsing APIs and documentation
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03 21:19:11 +00:00
kpfleming
5026d7908d
add some doxygen docs
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6945 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-02 18:08:33 +00:00
kpfleming
4d4023555b
issue #4678
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:53:30 +00:00
kpfleming
a68250b79b
issue #5564
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6935 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 21:11:57 +00:00
kpfleming
a0701f0338
add new GCC-specific macro and force inlining of certain functions where speed is paramount, even when optimization is disabled
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6929 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 20:09:09 +00:00
kpfleming
cd7ee5f7cd
optionally send silence during recording (issue #5135 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6925 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 17:22:25 +00:00
kpfleming
dced94c17e
document locking rules for spy API functions
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6924 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 15:28:01 +00:00
kpfleming
4864d10b1d
allow netsock objects to be unref'd so they can disappear when needed (issue #5454 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6913 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 23:16:27 +00:00
kpfleming
e454aed806
don't pass short arguments by value, it will cause compiler warnings on most platforms about implicit conversions (thanks Luigi!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6901 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 18:15:02 +00:00
kpfleming
3b5ed22f12
fix various bugs related to list handling of channel variables (issue #5548 )
...
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6900 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 15:34:11 +00:00
kpfleming
8c43d1ec05
do saturated math properly (thanks to the eagle-eyes of Tony Mountifield)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6888 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-29 13:03:23 +00:00
kpfleming
a36f58a0aa
major redesign of the channel spy infrastructure, increasing efficiency and reducing locking conflicts
...
(nearly) complete rewrite of app_muxmon, renaming the application to MixMonitor and fixing a large number of bugs and inconsistencies
update app_chanspy to use new spy infrastructure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6884 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 23:01:13 +00:00
kpfleming
762f169956
add API call to properly sum two frames of SLINEAR data
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6883 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 21:49:27 +00:00
kpfleming
dc1aa1ffdc
ensure that SLINEAR volume adjustments don't wrap around short integer maximums
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6882 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 21:35:55 +00:00
kpfleming
665ce678c4
fix non-DEBUG_THREADS builds with new cond wrappers and lock header reorganization
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6879 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 16:59:48 +00:00
kpfleming
f67cec6dcc
add 'ast_cond_t' type for pthread condition variables, and appropriate API wrappers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6877 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 16:35:43 +00:00
kpfleming
9f4683f23f
add macros for explicit module usecount increment/decrement
...
remove unnecessary locking around setting usecount to zero
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 16:33:09 +00:00
kpfleming
b6b8f11db8
add 'tail' pointer to list heads, so that common 'insert-to-tail' operations can run more quickly
...
add option for list heads without embedded locks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6875 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 16:32:08 +00:00
kpfleming
e3393cfb0a
add API function to perform volume adjustment on a frame of SLINEAR data
...
documentation cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6874 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 16:20:44 +00:00
kpfleming
673d260fce
add some macros to simplify application argument parsing
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6873 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 16:19:43 +00:00
russell
4cc87ee6e1
clean up a lot of doxygen errors and warnings (issue #5522 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 23:11:36 +00:00
russell
1168964aa4
change ast_strlen_zero to also check for the string to be defined
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 18:54:24 +00:00
russell
bb65d2e30a
more doxygenification (issue #5513 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6852 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 13:03:17 +00:00
markster
02fb8bca83
Allow limitation by loadavg not just calls (should be BSD friendly)...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6850 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 03:58:32 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
markster
76bd457fcd
Handle device state changes properly when formatting characters are present (bug #5450 , new patch)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6806 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-17 15:41:55 +00:00
markster
74600d9030
Use FILE * instead of fd for files to support buffering
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6801 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 16:12:51 +00:00
markster
6b22b400d4
More utility cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6798 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 03:10:33 +00:00
markster
53996e8446
Make crypto loading optional
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6797 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 03:08:58 +00:00
kpfleming
73f73e1e7c
support sending text through agent channels (issue #5295 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6787 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 00:46:13 +00:00
markster
9ebd430cd3
Fix call timeouts with rtp bridge etc (bug #5252 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6759 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 18:27:54 +00:00
russell
5a5fc722eb
fix typo in function name (issue #5437 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6758 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 18:01:31 +00:00
russell
a0b96d4037
fix some formatting and add some comments (issue #5403 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6752 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-12 20:45:18 +00:00
kpfleming
01e127d112
support call duration limits on inbound OSP calls (issue #5346 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6721 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-04 23:28:57 +00:00
kpfleming
716df588de
allow write timeout to be set on a per-user basis in AMI (issue #5352 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6716 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-04 22:25:15 +00:00
kpfleming
997e6dd0d5
add ast_build_string_va(), which accepts a varargs list directly
...
ensure the _entire_ manager_event() output is either queued or sent via ast_carefulwrite()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6708 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-01 15:41:27 +00:00
kpfleming
f72202f1ad
ensure structure has enough space for embedded string
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6702 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-30 16:49:23 +00:00
markster
5360fe7571
Fix manager bug (can't destroy a session while a thread is using it!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6698 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-29 20:37:01 +00:00
kpfleming
0fdee4f59c
code cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6696 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-29 17:40:24 +00:00
markster
83fdaa72f7
Remove possibility of manager deadlocks from manager actions
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6687 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-28 23:10:14 +00:00
kpfleming
acf412a387
use a more generic means to decide whether we need to provide poll/dlfcn functionality (issue #5297 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6664 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-26 17:17:56 +00:00
russell
b6f867a38a
move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
...
clean up some formatting
remove some commented out reference code
move unload_module in pbx_ael down to be with the rest of the standard module functions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6630 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-23 02:57:14 +00:00
kpfleming
e9898b3d7f
add API for searching active channels by context/exten
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6619 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 16:34:39 +00:00
kpfleming
6a5c8142fb
use a better name for structure element (when using named initializers)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6593 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 17:20:24 +00:00
kpfleming
96c9ed9488
don't double define our own string functions on platforms that don't have them (issue #5169 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6587 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 02:30:33 +00:00
kpfleming
fa8ea94c17
extensive ENUM support update, including ENUMLOOKUP() dialplan function (issue #5201 with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6579 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 01:36:15 +00:00
kpfleming
7f896eb326
check call limit in ast_pbx_start(), instead of waiting until background thread has been launched (needed for issue #5131 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6568 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-13 21:59:45 +00:00
kpfleming
b0c5a1fc33
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6558 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09 19:54:34 +00:00
markster
a7f6f0c199
Make lock logging reentrant when DEBUG_THREADS enabled
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6555 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09 05:35:14 +00:00
kpfleming
6995f4d2e3
add frame type for T.38, remove some unused stuff
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6551 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-08 03:23:38 +00:00
kpfleming
0a3567c3fc
oops :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6550 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-08 02:26:35 +00:00
kpfleming
a40fa4713e
first set of Cygwin portability stuff (issue #4678 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-08 02:19:02 +00:00
kpfleming
687a47fc26
eliminate signedness warnings (issue #5129 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6530 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 18:55:03 +00:00
kpfleming
38ba89121e
add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
...
modify app_chanspy to use new gain option
reformat app_chanspy to match coding guidelines
add user-controlled volume adjustment to app_meetme (issue #4170 , heavily modified to actually work on Zap channels)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6519 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 01:30:01 +00:00
kpfleming
9fa8008137
eliminate old chan->pvt field, and fix bug in generic bridge to watch chan->tech_pvt instead
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6479 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01 00:10:49 +00:00
kpfleming
b4faf23395
eliminate spurious warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6478 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-01 00:05:47 +00:00
kpfleming
09d062b4e6
make DEBUG_THREADS have more visible logging
...
make DEBUG_THREADS able to catch locks being unlocked by threads that did not own them
add proper wrappers for pthread_cond_wait() and pthread_cond_timedwait() for DEBUG_THREADS mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6464 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-31 02:43:44 +00:00
kpfleming
3c4140b8b1
major header file cleanup: license, copyrights, descriptions, markers, etc.
...
remove deprecated config_old.c/config_old.h
remove unused cvsid.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6454 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 18:32:10 +00:00
markster
cd0067f95a
Add SIP video fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:12:09 +00:00
kpfleming
9fc16d81a1
massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6446 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 23:53:29 +00:00
kpfleming
e66e742eeb
encode/decode URIs in 'pedantic' mode (issue #3923 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6441 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 22:39:39 +00:00
kpfleming
558f8be1b8
don't make expression evaluator allocate a memory buffer for each result
...
to
be returned; use the buffers already present in the PBX for this purpose
update testexpr2/check_expr to allocate buffers for expression
evaluation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6440 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 22:03:37 +00:00
kpfleming
add83c2ba6
preserve hint watchers and laststate across 'extensions reload' (issue #2522 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-27 23:55:14 +00:00
kpfleming
d02a0e5799
doc updates and copyright header cleanup (issue #5026 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6411 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-25 23:23:26 +00:00
kpfleming
b7a008677c
doc updates and copyright header cleanup (issue #5027 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6410 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-25 23:21:01 +00:00
kpfleming
3c8955b668
minor doc fixes and copyright header cleanup (issue #5029 with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6409 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-25 23:17:47 +00:00
kpfleming
5200cc1f48
clear out memory allocated by LOCAL_USER_ADD/LOCAL_USER_ACF_ADD
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6395 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-24 23:10:24 +00:00
kpfleming
daedd05a26
make AST_LIST_REMOVE_HEAD safer to use
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6394 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-24 23:10:06 +00:00
kpfleming
89bf07cab3
add ability to map feature sequences to applications (issue #3764 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6374 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 02:22:33 +00:00
kpfleming
aa1611ff9d
add 'sip show settings' CLI command (issue #4806 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6370 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 01:44:28 +00:00
kpfleming
9413babc1d
make sure realtime/high scheduling priority is relinquished before executing an AGI script (issue #4930 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6368 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 01:30:22 +00:00
kpfleming
9f55bb9259
add preliminary support for SIP timers (issue #4359 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6362 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 22:55:06 +00:00
kpfleming
887ebd5ee7
add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6358 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 21:19:59 +00:00
kpfleming
304aac9d8f
support new format for musiconhold.conf (issue #4908 )
...
support non-SLINEAR moh streams (issue #4908 )
add external app to feed TCP stream into Asterisk for moh (issue #4908 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6353 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 19:29:29 +00:00
kpfleming
19577acdfe
add 'restart' character to ast_control_playback function and ControlPlayback() application (issue #4693 )
...
rework app_controlplayback.c to take into account all Asterisk 1.2 coding style requirements
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6352 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 19:06:42 +00:00
markster
a818fdccc1
Centralize and fix tos for IAX (bug #4850 inspired)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6315 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09 16:41:28 +00:00
kpfleming
23a2111d40
eliminate compiler warnings when DEBUG_THREADS is enabled
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6313 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09 15:37:33 +00:00
kpfleming
e915d19e2f
bridging code cleanups:
...
code style, formatting
use enum/symbolic constants for return codes
efficiency improvements
(zaptel) only disable DTMF detection once per bridge, not every frame
(zaptel) ensure VPM DTMF detector is turned off during native bridge
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6312 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-09 01:59:59 +00:00
russell
888c110566
more pointer signedness fixes for gcc4 warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6306 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-08 01:16:44 +00:00
markster
6e782fbe42
Merge steve's busy detect stuff (bug #4830 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-08 00:08:48 +00:00
russell
65b5377c36
more fixes for gcc4 warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6297 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-07 06:34:26 +00:00
russell
f65949a684
ensure that strings.h has va_list defined (bug #4900 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6280 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-04 20:13:55 +00:00
markster
a12bd1bf67
Fix timestamp issue with features (bug #4760 with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6268 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03 04:42:59 +00:00
kpfleming
9e78450715
correct comment
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6225 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-26 21:49:07 +00:00
kpfleming
877efbde94
add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
...
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6224 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-26 16:29:56 +00:00
kpfleming
fd70a0a593
process asterisk.conf in a single pass, instead of twice (bug #4689 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6216 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 23:09:13 +00:00
kpfleming
757aadd53d
use CDR API calls instead of re-implementing them (bug #4726 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6213 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 22:56:18 +00:00
kpfleming
1c3fb6124c
more extensive documentation (bug #4444 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6212 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 22:52:25 +00:00
kpfleming
a3967dd811
formatting cleanups (bug #4782 )
...
fill out some Manager events with additional headers (bug #4782 )
re-word some log messages to be clearer (bug #4782 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6208 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 22:13:32 +00:00
russell
cba0f54bb7
put ast_recvchar under its desc, add desc for ast_senddigit, don't use a
...
length limited copy for a static copy into a buffer that we *know* is big
enough
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6178 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20 16:39:49 +00:00
kpfleming
000130b1d3
add slinfactory object, and change app_chanspy to use it (bug #4724 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6177 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20 00:53:21 +00:00
kpfleming
0414f4361d
add English device state output (bug #4733 , with minor mod)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6174 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20 00:34:01 +00:00
kpfleming
329b86c53d
move strtoq into new string files (bug #4740 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6171 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20 00:13:15 +00:00
kpfleming
2f30248680
restore proper difference calculation (bug #4746 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6166 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19 23:28:12 +00:00
kpfleming
c37a8a42b2
split acl and netsock code into separate files, in preparation for new netsock implementation
...
various minor cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6165 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19 23:17:02 +00:00
russell
d03367cafc
let the compiler learn the types for the elements of a struct timeval to fix
...
portability issues
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6164 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19 19:06:24 +00:00
russell
30f1a705ac
fix negative timestamp issue
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6160 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-19 15:30:31 +00:00
russell
1952459258
Allow manager originate to specifiy more than one variable to be set.
...
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6147 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:24:51 +00:00
kpfleming
ff15e0fa53
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
kpfleming
63a6a077da
phase two of string portability stuff:
...
don't need ast_ prefixes on functions
use individual #defines for function presence
add vasprintf to portability library
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 22:06:15 +00:00
kpfleming
4903f50fe8
first phase of proper fix for portable string function problems (bug #4669 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6133 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 00:39:01 +00:00
kpfleming
90a8bcf11a
fix up lock breakage from bug #4245
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6125 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-13 19:27:09 +00:00
kpfleming
7b08b9a445
add support for multiple-digit extensions in queue exit contexts (bug #4690 )
...
add QUEUEAGENTCOUNT dialplan function (bug #4690 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6114 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 22:28:51 +00:00
russell
96afbd2890
convert ast_copy_string to use AST_INLINE_API macro (bug #4682 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6108 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 15:26:24 +00:00
kpfleming
9e15379a06
allow explicit source address/port selection for peers (bug #4257 , with minor mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 02:19:41 +00:00
kpfleming
95b685631f
add 'exit context' and 'only stop on match' options to Background app (bug #4511 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6093 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 01:34:06 +00:00
kpfleming
aa699085f4
simplify (and document!) macro for inlinable API functions (inspired by bug #4603 , with slightly different implementation)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6090 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-11 23:25:31 +00:00
kpfleming
27dfdd0b12
reverse arguments to ast_tvdiff_ms, so they match the 'raw' math being used between the arguments
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6083 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-11 20:46:25 +00:00
russell
72af60b3e6
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 23:49:57 +00:00
kpfleming
60d4445a9b
add the new files for the last commit :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6063 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08 21:15:41 +00:00
kpfleming
1945cc0f81
queue device state changes and handle them serially in a background thread
...
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08 21:14:34 +00:00
kpfleming
97236cfc32
add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
...
add warning for when file mapping is found but the engine is not available
add warning for trying to map 'logger.conf', since it cannot be reliably mapped
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6034 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 22:11:43 +00:00
russell
0b7a2ea0e7
add function to convert a cause code to a string
...
create MAX_MUSICCLASS instead of using MAX_LANGUAGE
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 17:16:17 +00:00
mattf
1e8c69d948
UK discconnect tone detection support. Need to enable callprogress in
...
zapata.conf and set progzone=uk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6010 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-28 14:36:56 +00:00
kpfleming
b382b968ab
add new header files
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6009 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24 22:50:07 +00:00
kpfleming
889ce1c0e8
split up string/time functions into separate header files
...
make more LOW_MEMORY optimizations, and ensure that a non-inline version of each inlinable function is always available (for external modules)
move compiler-specific stuff into a separate header file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6008 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24 22:45:15 +00:00
kpfleming
6589a68fcb
don't use locks when reading usecounts (reading only, not writing)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5994 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24 02:15:04 +00:00
kpfleming
53c06ed2e8
make inlinable functions only need the function body in one file, and respond properly to LOW_MEMORY being defined
...
make ast_copy_string inlinable, and ast_tvdiff_ms LOW_MEMORY aware
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-23 23:07:55 +00:00
markster
2cab0302e8
Fix debugging to not print warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5981 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-23 01:17:00 +00:00
kpfleming
2d0f688caf
add AGI 'RECEIVE TEXT' command (bug #4525 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5950 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21 01:16:18 +00:00
markster
cca6da1a51
Fix up utils nonsense
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5932 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18 11:54:38 +00:00
kpfleming
8a86381ef1
string/whitespace handling cleanups (bug #4449 , with mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5924 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-17 13:25:01 +00:00
kpfleming
3ba563757d
don't use pthread_mutex_lock
...
don't double-include pthread.h in utils.h, which can cause the
pthread_mutex_lock warning to not be generated on some systems
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5906 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-14 14:45:51 +00:00
kpfleming
54c8bb2a71
move timeval-diff function into utils.h from app_alarmreceiver.c
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5882 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 14:39:34 +00:00
kpfleming
4ea1c9335e
header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07 17:06:33 +00:00
kpfleming
1367784f24
fix version-string builds for non-gcc compilers
...
don't build version-string stuff for LOW_MEMORY builds
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5873 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07 16:07:06 +00:00
kpfleming
9b81c82a2f
add note about example
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5872 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07 01:17:07 +00:00
kpfleming
ea4edf7857
add doxygen docs for file version stuff
...
make doxygen expand __GNUC__ protected code blocks
make doxygen process include/asterisk.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5871 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07 01:13:23 +00:00
kpfleming
6f0f46299c
more file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
b2cbb6a75d
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming
a74f3f93f4
add support for per-module version numbers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 18:31:29 +00:00
kpfleming
e95dae3908
update ignore lists
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5859 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 15:38:41 +00:00
kpfleming
e500673791
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
kpfleming
7b1b9f53ef
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 02:29:18 +00:00
kpfleming
62d73d678b
make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 15:04:43 +00:00
kpfleming
46d0533b99
support configurable batch posting of CDRs (off by default) (bug #3883 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 01:42:31 +00:00
markster
9e7424a348
Fix cdr.h ordering issue (bug #4401 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5789 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-30 14:30:47 +00:00
markster
ea6f06e9fb
Use defined AST_MAX_ACCOUNT_CODE (bug #4350 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5765 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25 17:18:05 +00:00
kpfleming
cfd99de79e
make IF dialplan function handle quoted strings properly (bug #4322 , with API mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5750 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-20 16:30:13 +00:00
russell
3af272b36b
add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5723 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19 01:57:19 +00:00
markster
e2c8bb9c44
Add optional call limit
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5712 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-18 01:49:13 +00:00
kpfleming
f196d285a3
add ast_build_string library function (from bug #3644 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5684 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 22:33:02 +00:00
kpfleming
82770f927f
code formatting and comments, plus minor device state fix (bug #4171 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5669 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 04:48:30 +00:00
kpfleming
f5c1139da4
add functions to register/unregister multiple CLI commands in a single operation (bug #4255 , with minor mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5662 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 03:03:48 +00:00
kpfleming
85466027b8
various fixes:
...
use linked list macros for managing backend list (inspired by bug #4258 )
use ast_copy_string instead of strncpy when appropriate
minor fixes and formatting cleanup
add AST_LIST_HEAD_STATIC and AST_LIST_REMOVE_CURRENT macros
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5659 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15 02:42:59 +00:00
markster
86aa2b26f8
Add remainder of rtp fixes, iax2 patch (bug #3961 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5654 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 23:57:44 +00:00
kpfleming
22dd5e0c8d
minor fix for refcount/flags to be unsigned
...
explicitly test refcount as a logical value for builtin_expect (thanks to rizzo for the cluebat!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5651 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14 23:32:31 +00:00
russell
0a934da882
fixes for the new jitter buffer (bug #4249 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5639 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-12 19:01:03 +00:00
russell
bde30dd341
fix header description
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5594 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-07 06:01:30 +00:00