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
Kevin P. Fleming
8634ef9e4a
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Mark Spencer
7bedf24c8c
If poll returns 0, force *ms to 0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-24 22:54:50 +00:00
Kevin P. Fleming
199add9567
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +00:00
Kevin P. Fleming
e1d1a962c7
initialize errno and don't report an error when poll() returns without indicating one (bug #4059 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 01:40:23 +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
Kevin P. Fleming
3afbc3287f
don't force transcoding through SLINEAR when transcoding is not needed at all
...
clean up formatting and variable names in ast_channel_make_compatible
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-18 16:26:41 +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
33801137f8
don't take the channel list lock until we're actually ready to put the new channel into the list in ast_channel_alloc (bug #3928 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 21:38:17 +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
b6fd23d966
Fix build without zaptel (bug #3901 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 19:07:27 +00:00
Mark Spencer
886b082880
Make bridging more efficient
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31 03:00:37 +00:00
Anthony Minessale II
1c7fef7ece
increase queue length of chanspy queue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30 22:09:01 +00:00
Anthony Minessale II
6afb37c9ae
add missing newlines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30 16:20:53 +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
df81f135e4
GCC 4 fix (bug #3875 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 21:58:10 +00:00
Anthony Minessale II
4d48644182
Fix the mysterious missing if
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24 03:04:45 +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
ff47b7ec31
Make sure that waitfordigit_full doesn't hangup on -EINTR (bug #3831 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-22 22:44:55 +00:00
Mark Spencer
18d9b26cf9
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04 06:47:24 +00:00
Mark Spencer
34e8ed636d
Fix queue URL passing (bug #3543 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-28 06:06:42 +00:00
Mark Spencer
9cd9198127
Fix silly newline miss (bug #3555 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-10 23:46:03 +00:00