Mark Spencer
00bcbaaa05
Fix gethostname calls (bug #4198 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:44:25 +00:00
Mark Spencer
fa0f44a347
Allow transfer to work without a tech (bug #4199 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:35:54 +00:00
Mark Spencer
45a92ba5c2
Fix French time (bug #4197 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 16:34:10 +00:00
Russell Bryant
7e83b3a4b1
now fix the formatting part (bug #4207 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 19:51:39 +00:00
Russell Bryant
6ce084b7e2
remove unreachable block of code (bug #4207 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 19:49:32 +00:00
Russell Bryant
fbbac7cd26
use ast_strcasestr (bug #4203 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 12:49:36 +00:00
Russell Bryant
a48f36c3c5
fix header description
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 06:01:30 +00:00
Russell Bryant
cccca96058
add my name for the functions I wrote
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-07 05:33:44 +00:00
Russell Bryant
852d05d94a
add missing newline to warning message (bug #4183 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-06 07:15:08 +00:00
Mark Spencer
cd6ad266b5
Build as a single executable, work around Makefile issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 17:39:18 +00:00
Anthony Minessale II
6b7677e842
expose function execution routines and warn about trying to set a read-only cdr var
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 15:07:49 +00:00
Kevin P. Fleming
b0685838db
oej deserves to be in CREDITS as much as anyone else :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 12:52:18 +00:00
Kevin P. Fleming
7cd4ac0ee1
clean up file headers
...
restore appropriate copyrights for functions that came from files with copyrights listed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 12:48:52 +00:00
Kevin P. Fleming
6ec28c9f98
correct build on platforms that require PIC objects (bug #4179 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 12:43:04 +00:00
Kevin P. Fleming
59bc293d15
ensure generated files are ignored by CVS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 05:56:34 +00:00
Kevin P. Fleming
f01e832eef
add STRFTIME dialplan function (bug #4098 , modified to use new funcs subdirectory)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 05:50:11 +00:00
Kevin P. Fleming
4d2537ae11
major re-work of dialplan functions, including:
...
- locking of functions list during registration/unregistration/searching
- rename of function description structure to be consistent with the rest of the API
- addition of 'desc' element to description structure, for detailed description (like applications)
- addition of 'show function' CLI command to show function details
- conversion of existing functions to use uppercase names to match policy
- creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
- removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 05:39:33 +00:00
Russell Bryant
e8bd5968ff
function formatting and header order cleanup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 03:16:07 +00:00
Kevin P. Fleming
0fddec0421
remove obsolete module (still available in CVS history if needed) (inspired by bug #4127 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-05 01:03:24 +00:00
Mark Spencer
824763970b
Fix minor doc issue (bug #4145 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:50:36 +00:00
Kevin P. Fleming
358238b170
add app_dictate (bug #3893 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:33:33 +00:00
Mark Spencer
0575c11d72
Merge formatting changes (bug #4172 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:22:45 +00:00
Mark Spencer
2fcda7000b
Minor protocol fixes (bug #4169 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 19:17:09 +00:00
Kevin P. Fleming
582b0b0711
document Zap dial string options in sample config (bug #4165 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 17:05:42 +00:00
Kevin P. Fleming
44b95a88d6
add doxygen docs for astobj.h (bug #4145 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 17:02:32 +00:00
Kevin P. Fleming
a0f2a2e7c4
remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of already-implemented CDR() function
...
make SetVar() options actually work as documented
remove SetVar() 'c' and 'r' options, since the CDR() function can provide this functionality
add 'r' option to CDR() function to control recursive retrieval/storage
(inspired by bug #4143 , but without the SetVar syntax changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 15:56:44 +00:00
Kevin P. Fleming
ba9b384f58
fix obvious fault in ast_separate_app_args
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 15:26:03 +00:00
Kevin P. Fleming
6f118fe66a
remove extraneous manual string termination
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 14:03:47 +00:00
Kevin P. Fleming
7d6ba573e5
move some debugging output to a higher debug level (bug #4119 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:49:32 +00:00
Kevin P. Fleming
9bd5c1d95b
don't report EAGAIN as an error (bug #4128 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:43:30 +00:00
Kevin P. Fleming
aba598c26f
fix build on FreeBSD (bug #4125 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:35:27 +00:00
Kevin P. Fleming
2be3c7ab57
add GROUP_COUNT and GROU_MATCH_COUNT functions, deprecate GroupCount and GroupMatchCount apps, remove GROUPCOUNT variable from README.variables (bug #4133 , with doc update)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:13:31 +00:00
Kevin P. Fleming
b9bda6aa41
add MD5 and CHECK_MD5 functions, deprecate MD5 and MD5Check apps (bug #4123 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 04:05:34 +00:00
Kevin P. Fleming
523911c9b0
re-implement ast_separate_app_args with clearer code and in a way that doesn't fail with certain combinations of array size and delimiter count
...
add doxygen docs for ast_separate_app_args
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 03:43:10 +00:00
Kevin P. Fleming
135f392c62
solve memory leak and allow chan_mgcp to be unloaded (bug #4148 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:40:14 +00:00
Kevin P. Fleming
54da34ff0a
return proper string from description function (bug #4150 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:33:46 +00:00
Kevin P. Fleming
1518301885
update doxygen configuration file to current version (bug #4144 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:18:35 +00:00
Kevin P. Fleming
38c513fd02
ensure the SIP socket is closed on module unload (bug #4149 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-04 00:14:58 +00:00
Kevin P. Fleming
50b9f0e970
fix breakage when ast_copy_string is used to copy substrings (bug #4146 , but a different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 23:51:20 +00:00
Jeremy McNamara
09ed70fcaf
Fix one-way audio issues with CCM and possibly other [broken] endpoints. Bug #4135
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 18:58:50 +00:00
Jeremy McNamara
f0c47a88ba
Fix one-way audio issues with CCM and possibly other [broken] endpoints. Bug #4135
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 15:47:35 +00:00
Kevin P. Fleming
a813234dcd
simplify argument parsing in sip_prune_realtime
...
don't force register expiration when pruning realtime peers
provide feedback for successful single item prune operations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 03:22:14 +00:00
Kevin P. Fleming
ba04eb12ef
use symbolic constants for RTP method flags, and add debugging output to sip_alloc to indicate when RTP is/is not allocated (bug #3986 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:32:50 +00:00
Kevin P. Fleming
deb3c32a49
correct documentation for ast_sched_add (bug #4136 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:21:57 +00:00
Kevin P. Fleming
98a973007d
ensure astdb registration entries are parsed properly (bug #4126 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:16:45 +00:00
Kevin P. Fleming
cd9a1226b5
ensure buffer size is computed properly for ast_copy_string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-03 02:09:16 +00:00
Mark Spencer
7b576dd5cf
Update README to discuss file descriptors (bug #4134 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 20:24:57 +00:00
Mark Spencer
f2c734ba04
Add support for native DTMF
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 20:16:21 +00:00
Jeremy McNamara
931e1debff
Fix dtmfmode, dtmfcodec capability, Faststart for users and peers. Bug #4112
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 18:46:36 +00:00
Kevin P. Fleming
9a7b3b0347
testing has shown that ast_copy_string is nearly twice as fast as strncpy for the common use cases in Asterisk, so convert chan_sip over...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 13:44:38 +00:00