aboutsummaryrefslogtreecommitdiffstats
path: root/app.c
AgeCommit message (Collapse)AuthorFilesLines
2006-04-21convert to use ast_stream_and_waitrizzo1-27/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22076 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15We are shaking up trunk tonight! allow data dir to be specified (issue #6967 ↵file1-1/+1
reported by tzafrir) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15applied two of the 3 chunks in #6907, and a similar onerizzo1-20/+10
(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-11Merged revisions 19008 via svnmerge from bweschke1-4/+2
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-05Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) ↵tilghman1-1/+1
rand() to threadsafe ast_random() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28remove a few unneeded calls to strlen, and replace a while()rizzo1-12/+8
loop with the equivalent function strchr() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15551 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-27Janitor work converting !ast_strlen_zero(a)?a:bmogorman1-2/+2
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-02-20Merged revisions 10577 via svnmerge from tilghman1-2/+2
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-18Merged revisions 10409 via svnmerge from tilghman1-0/+2
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-14more memory allocation wrapper conversion (issue #6365)kpfleming1-14/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21finish reverting my pass through the tree to remove checks of the result ofrussell1-4/+5
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-21remove some useless checks after calls to ast_strduparussell1-5/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8362 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 Spelling corrections (mostly in comments and doxygen areas) #6249 bweschke1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8100 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-15Allow application arguments to be quoted, allowing '|' characters inside ↵tilghman1-2/+10
arguments git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8079 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11add doxygen documentation and fix various issues with ast_dtmf_streamrussell1-36/+40
(discussed in issue #6087) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7969 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-10Allow a digitstream to contain a flash character ('f' or 'F') when sending ↵mattf1-3/+9
dtmf string to a channel. (#4935) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7948 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-13Merged revisions 7448-7449,7451,7453 via svnmerge from kpfleming1-32/+20
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-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-1/+1
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-03Bug 5858 - Make the chanvars.c functions return a 'const char *'tilghman1-8/+8
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-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14finish merging doxygen updates from issue #5605russell1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11ugh... another broken commitkpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7066 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10slight correction to options parsingkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7052 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10issue #5630, #5711, and probably othersrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7051 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03major update to arg/option parsing APIs and documentationkpfleming1-12/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01optionally send silence during recording (issue #5135)kpfleming1-2/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6925 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-30Actually write audio to file in get_voice (bug #5547)markster1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6894 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26change ast_strlen_zero to also check for the string to be definedrussell1-7/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26fix misplaced } (issue #5518)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-4/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14use a better name for structure element (when using named initializers)kpfleming1-5/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6593 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07remove useless buffer initializations (issue #5134)kpfleming1-12/+11
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-08-30Add SIP video fixesmarkster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22add 'restart' character to ast_control_playback function and ↵kpfleming1-3/+19
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-06Properly handle | within ()'s when doing app arg parsing... (bug #4911)markster1-14/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6294 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-4/+2
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-13fix up lock breakage from bug #4245kpfleming1-10/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6125 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-09fix channel walking problems from recent changes (bug #4494)kpfleming1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5883 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-1/+4
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-06major Makefile and build process improvements, including removal of all ↵kpfleming1-1/+0
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-06more efficient (and understandable) ast_channel_walk_locked, and vastly more ↵kpfleming1-21/+17
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-05more ast_copy_string() conversionkpfleming1-9/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5849 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05make ast_waitstream_* return value compatible with platforms that use ↵kpfleming1-2/+4
unsigned char by default (bug #4455) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25various code cleanups (bug #4353)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5764 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04fix obvious fault in ast_separate_app_argskpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5573 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-04re-implement ast_separate_app_args with clearer code and in a way that ↵kpfleming1-8/+21
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-04-29don't use '%i' at all, since we have no current use cases that need non ↵kpfleming1-2/+2
base-10 parsing (bug #4110) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b