Kevin P. Fleming
62209ede0c
code cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 17:40:24 +00:00
Kevin P. Fleming
29bdd1b424
add API for searching active channels by context/exten
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 16:34:39 +00:00
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
d3a76999d0
various devicestate fixes (issue #5081 , take two)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 22:28:33 +00:00
Kevin P. Fleming
253e6537df
don't reverse variable order during inheritance (issue #5091 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 21:50:49 +00:00
Kevin P. Fleming
e04ba4a11f
eliminate old chan->pvt field, and fix bug in generic bridge to watch chan->tech_pvt instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-01 00:10:49 +00:00
Kevin P. Fleming
050d6c7d34
ensure revents fields are initialized before calling poll()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 22:12:23 +00:00
Kevin P. Fleming
1480688582
clarify comments (issue #5075 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-31 21:28:12 +00:00
Mark Spencer
5d4d2fdfd4
Add SIP video fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:12:09 +00:00
Kevin P. Fleming
49b0098c4a
ensure CDR pointer is cleared after detaching it from channel (related to issue #4877 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-29 23:11:29 +00:00
Kevin P. Fleming
dffade452c
add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 21:19:59 +00:00
Kevin P. Fleming
8253780716
temporarily revert aggressive native bridge attempts
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-16 20:37:27 +00:00
Kevin P. Fleming
ce7a1e4768
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: https://origsvn.digium.com/svn/asterisk/trunk@6312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-09 01:59:59 +00:00
Mark Spencer
d9cb23cc90
Don't wait longer than our timeout for something to happen (bug #4653 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-08 06:54:36 +00:00
Mark Spencer
8712d1d7f1
Fix timestamp issue with features (bug #4760 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 04:42:59 +00:00
Mark Spencer
f49ff59c3f
Fix monitoring when channel redirected (bug #3809 , patch redone)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-31 21:27:21 +00:00
Russell Bryant
80af1153bc
fix warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-27 22:19:49 +00:00
Kevin P. Fleming
8b3f4e3022
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: https://origsvn.digium.com/svn/asterisk/trunk@6208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 22:13:32 +00:00
Russell Bryant
36093d24f7
get rid of a warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-25 17:27:36 +00:00
Russell Bryant
5589a1e387
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: https://origsvn.digium.com/svn/asterisk/trunk@6178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-20 16:39:49 +00:00
Russell Bryant
5af1098063
get rid of unused variable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-18 05:00:23 +00:00
Russell Bryant
a9c7f50a09
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: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:24:51 +00:00
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 23:00:47 +00:00
Kevin P. Fleming
9d8d86e19d
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: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 22:06:15 +00:00
Kevin P. Fleming
b6486df40e
first phase of proper fix for portable string function problems (bug #4669 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 00:39:01 +00:00
Kevin P. Fleming
4bcf6f7806
fix logic error in searching for channel by name (bug #4684 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 16:00:23 +00:00
Kevin P. Fleming
24f9f8586b
cast constants into the proper type (bug #4686 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 15:13:39 +00:00
Anthony Minessale II
fb4106f357
Typo Fix (per corydon76)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09 20:37:59 +00:00
Malcolm Davenport
47edc64ecd
D'oh
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09 15:36:59 +00:00
Malcolm Davenport
fe7c0b0cce
Bug #4652 - Take two
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09 12:18:59 +00:00
Malcolm Davenport
d36d51f732
Bug #4652 - Require libstrfunc for FreeBSD. Thanks Corydon
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:54:07 +00:00
Kevin P. Fleming
c13d601fb4
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: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 21:14:34 +00:00
Kevin P. Fleming
6797e6334f
don't write frames out to channel until after sending them to spies and/or monitor, since the channel driver might modify the frame data in the buffer (bug #4623 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 22:21:54 +00:00
Kevin P. Fleming
386f0e70b3
ensure that text frames are copied correctly even if they are not null-terminated (bug #4615 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 19:52:48 +00:00
Russell Bryant
52ef5c7d30
add function to convert a cause code to a string
...
create MAX_MUSICCLASS instead of using MAX_LANGUAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 17:16:17 +00:00
Kevin P. Fleming
7ec4d28296
optimize ast_recvchar/ast_recvtext (bug #4591 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23 21:28:09 +00:00
Kevin P. Fleming
85091ab68d
add channel CLID info in manager Link event (bug #4548 with minor mod)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 23:10:29 +00:00
Kevin P. Fleming
767f019264
add AGI 'RECEIVE TEXT' command (bug #4525 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 01:16:18 +00:00
Mark Spencer
121a4d8c71
Fix timelimit bug (bug #4552 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18 17:18:02 +00:00
Russell Bryant
b71be71262
fix deadlock message output (bug #4508 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-14 18:09:56 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
0e6762dd5f
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +00:00
Kevin P. Fleming
1bac31d6bd
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 02:29:18 +00:00
Kevin P. Fleming
723d6b5be8
more ast_copy_string() conversion
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 16:32:16 +00:00
Kevin P. Fleming
7a2d5cbb3e
make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 15:04:43 +00:00
Kevin P. Fleming
a273ffa005
make 'show channeltypes' list whether device state is supported (bug #4464 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05 14:32:32 +00:00
Kevin P. Fleming
23472dd2c0
support configurable batch posting of CDRs (off by default) (bug #3883 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03 01:42:31 +00:00
Kevin P. Fleming
050416ed29
make 'show channeltypes' output format work properly (bug #4413 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 21:37:09 +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
Mark Spencer
81643ec9c3
Remove double fout++ and comment on flag (bug #4267 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:26:37 +00:00