Russell Bryant
3c98814bb5
add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-19 01:57:19 +00:00
Mark Spencer
38b7f7b4a4
Add optional call limit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-18 01:49:13 +00:00
Kevin P. Fleming
eaececc920
add ast_build_string library function (from bug #3644 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 22:33:02 +00:00
Kevin P. Fleming
4910637da7
code formatting and comments, plus minor device state fix (bug #4171 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:48:30 +00:00
Kevin P. Fleming
0356b70224
add functions to register/unregister multiple CLI commands in a single operation (bug #4255 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:03:48 +00:00
Kevin P. Fleming
219541b5e0
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: https://origsvn.digium.com/svn/asterisk/trunk@5659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 02:42:59 +00:00
Mark Spencer
c936fc827c
Add remainder of rtp fixes, iax2 patch (bug #3961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:57:44 +00:00
Kevin P. Fleming
d825e581f3
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: https://origsvn.digium.com/svn/asterisk/trunk@5651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:32:31 +00:00
Russell Bryant
65a7d2ac76
fixes for the new jitter buffer (bug #4249 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-12 19:01:03 +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
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
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
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
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
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
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
abec217a1b
add experimental ast_copy_string() function to be used in place of strncpy() (see discussion on asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-02 00:27:54 +00:00
Kevin P. Fleming
7d4b53c57a
add direct object unlink macro to ASTOBJ api
...
various minor cleanups in chan_sip
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-01 18:08:14 +00:00
Kevin P. Fleming
bced63033d
make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 15:04:26 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Russell Bryant
7bffc0459c
add missing newlines, fix misspelling of nonexistent (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 23:33:47 +00:00
Mark Spencer
8d1744dd29
Add sched_when function (bug #4022 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 18:46:35 +00:00
Russell Bryant
e3e62817fa
formatting fixes (bug #4009 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-12 02:37:37 +00:00
Kevin P. Fleming
110560781a
preliminary "managed DNS lookup" support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 21:13:51 +00:00
Mark Spencer
9cbc047b6a
Fix ADSI 'B' issue (bug #3833 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 05:11:48 +00:00
Kevin P. Fleming
f5ac6f6c2e
correct error in doxygen docs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-06 02:06:27 +00:00
Kevin P. Fleming
c7c20f8656
report non-codec capabilities in 'sip debug' properly (bug #3960 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 23:34:56 +00:00
Russell Bryant
a7e9416c89
don't define a functioning returning an int inside of a do{...}while(0) (bug #3865 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-05 17:04:51 +00:00
Kevin P. Fleming
e7bbe31f8f
optimize codec selection and format changing code
...
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 03:28:38 +00:00
Kevin P. Fleming
bbc8c2ce6f
fix breakage from slin endianness commit earlier today (sorry :-()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04 02:13:40 +00:00
Kevin P. Fleming
b96ae79baa
handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 22:57:18 +00:00
Kevin P. Fleming
b4f4e23000
remaining endian.h fixes for FreeBSD (bug #3867 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-03 21:25:08 +00:00
Matthew Fredrickson
b81f233e68
Merging in xylome's beaerer capabilty patch (bug 3547)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 17:00:50 +00:00
Mark Spencer
eb91006b7c
Allow functions to be written to (bug #2278 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 06:16:49 +00:00
Mark Spencer
f966e5e186
Simplify endianness and fix for unaligned reads (bug #3867 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-29 04:49:24 +00:00
Mark Spencer
dc9faa21e4
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28 20:48:24 +00:00
Mark Spencer
2bc067a740
Implement fax detect within i4l (bug #3827 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-26 07:12:19 +00:00
Mark Spencer
29ce32912d
Merge API changes for chanspy
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-23 21:52:31 +00:00
Mark Spencer
6265cd3125
Fix OpenBSD compile (bug #3824 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-22 19:24:32 +00:00
Mark Spencer
6e420b3c38
Fix manager declarations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-22 19:09:12 +00:00
Mark Spencer
1507997410
Add README for jitter buffer (bug #3812 ), make src char *src a const
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-21 04:30:57 +00:00
Mark Spencer
ebc1c06835
Fix channel variables on cloned channels (bug #3804 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-21 04:18:50 +00:00
Mark Spencer
6d63970147
Fix PLC for BSD (bug #2532 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-20 02:53:48 +00:00
Mark Spencer
f9cfe60312
Add support for Solaris/x86 (bug #3064 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 23:12:15 +00:00
Mark Spencer
0b37575aac
Add missing plc.h
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 21:53:42 +00:00
Mark Spencer
7082d0584e
Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug #2532 , #3400 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 21:30:19 +00:00
Mark Spencer
2deba424d2
Create experimental new options API, various cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-12 05:37:32 +00:00
Mark Spencer
26c7a07735
Add timestamping to console (bug #3653 with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-11 07:24:10 +00:00
Mark Spencer
4fabc80629
Make ACL be what SIP is going to need (bug #2358 , just first part)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-09 05:48:11 +00:00