file
db5a6fcfc3
We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 22:53:53 +00:00
rizzo
91102c5a2c
applied two of the 3 chunks in #6907 , and a similar one
...
(replace nested 'if' with '&&')
I cannot make sense of the first chunk of the proposed patch,
i think the original is correct.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20225 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 00:53:04 +00:00
bweschke
5bd391eb84
Merged revisions 19008 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines
When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 01:12:13 +00:00
tilghman
e0ba99b7f5
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
rizzo
23c7441b9a
remove a few unneeded calls to strlen, and replace a while()
...
loop with the equivalent function strchr()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15551 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 14:30:31 +00:00
mogorman
7f2b0a39ea
Janitor work converting !ast_strlen_zero(a)?a:b
...
to S_OR functions. from bug note 6805 with minor
modifications.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27 19:31:54 +00:00
tilghman
e100a316d4
Merged revisions 10577 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r10577 | tilghman | 2006-02-20 17:01:12 -0600 (Mon, 20 Feb 2006) | 2 lines
Would be nice to tell people to look in the right file to increase a constant
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10578 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-20 23:02:31 +00:00
tilghman
99b95e1008
Merged revisions 10409 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r10409 | tilghman | 2006-02-17 18:17:09 -0600 (Fri, 17 Feb 2006) | 2 lines
Bug 6529 - memory leak in ast_play_and_prepend
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10410 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-18 00:32:10 +00:00
kpfleming
e72e24e047
more memory allocation wrapper conversion (issue #6365 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 22:28:01 +00:00
russell
b79bdab5cc
finish reverting my pass through the tree to remove checks of the result of
...
ast_strdupa, this one is revision 8362
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8401 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:20:06 +00:00
russell
708a7ca40e
remove some useless checks after calls to ast_strdupa
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8362 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 00:42:25 +00:00
bweschke
4e83a000aa
Spelling corrections (mostly in comments and doxygen areas) #6249
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8100 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 17:37:44 +00:00
tilghman
d947f8c971
Allow application arguments to be quoted, allowing '|' characters inside arguments
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8079 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-15 18:02:46 +00:00
russell
07ec2feb51
add doxygen documentation and fix various issues with ast_dtmf_stream
...
(discussed in issue #6087 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7969 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 05:23:19 +00:00
mattf
dd86739302
Allow a digitstream to contain a flash character ('f' or 'F') when sending dtmf string to a channel. ( #4935 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7948 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10 21:35:45 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
kpfleming
7c789eb820
Merged revisions 7448-7449,7451,7453 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7448 | kpfleming | 2005-12-12 22:25:14 -0600 (Mon, 12 Dec 2005) | 2 lines
use the stream's current point when pausing/unpausing, instead of elapsed time (which doesn't work when the stream has been skipped forward or backward) (issue #5897 )
........
r7449 | kpfleming | 2005-12-12 22:43:38 -0600 (Mon, 12 Dec 2005) | 2 lines
only report AGENT_IDLE for callback mode agents when they are actually idle (issue #5902 )
........
r7451 | kpfleming | 2005-12-12 23:14:27 -0600 (Mon, 12 Dec 2005) | 2 lines
ensure that hangups while incoming calls are in early state are handled properly (issue #5919 )
........
r7453 | kpfleming | 2005-12-12 23:53:00 -0600 (Mon, 12 Dec 2005) | 2 lines
restore ability of caller to hangup calls that are still ringing (issue #5839 )
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7457 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-13 06:00:17 +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
russell
8acbf04043
finish merging doxygen updates from issue #5605
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14 19:00:38 +00:00
kpfleming
398cfbb083
ugh... another broken commit
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7066 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 01:01:19 +00:00
kpfleming
d6e2d41e4e
slight correction to options parsing
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7052 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:18:03 +00:00
russell
dc51c798ce
issue #5630 , #5711 , and probably others
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7051 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 23:12:09 +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
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
markster
add0062160
Actually write audio to file in get_voice (bug #5547 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6894 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-30 06:58:17 +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
1423ff5180
fix misplaced } (issue #5518 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 15:02:23 +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
kpfleming
95fe2b8fd4
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +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
e72564ce33
remove useless buffer initializations (issue #5134 )
...
convert pbx_dundi to use ast_copy_string) (issue #5134 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 21:01:31 +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
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
74332ff7e3
Properly handle | within ()'s when doing app arg parsing... (bug #4911 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6294 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-06 16:52:56 +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
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
5fbc774f67
fix channel walking problems from recent changes (bug #4494 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5883 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09 19:27:19 +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
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
2dd14b8c0e
more ast_copy_string() conversion
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5849 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 16:32:16 +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
russell
3c746d45b9
various code cleanups (bug #4353 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5764 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25 10:57:15 +00:00
kpfleming
66bdf33c08
fix obvious fault in ast_separate_app_args
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5573 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04 15:26:03 +00:00
kpfleming
1d2cc0bca4
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: http://svn.digium.com/svn/asterisk/trunk@5566 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04 03:43:10 +00:00
kpfleming
b7e6d89aa2
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29 17:00:33 +00:00
kpfleming
d6e1341f9b
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 13:11:34 +00:00