aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-10AST-2009-005tilghman1-13/+13
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@211526 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-30Revert change in revision 71656, even though it fixed a bug, because many ↵tilghman1-1/+2
people were depending upon the (broken) behavior. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@77782 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-25Issue 10035 - handle_exec returns a result inconsistent with all of the ↵tilghman1-1/+1
other AGI commands git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@71656 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Fix a few silly usages of ast_playstream() - it only ever returns 0...qwell1-16/+2
Issue 10035 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@71065 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Issue #9069 - If we open with TH we should not close with /TD. (seanbright)oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@54771 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11When doing a fork() and exec(), two problems existed (Issue 8086):tilghman1-3/+17
1) Ignored signals stayed ignored after the exec(). 2) Signals could possibly fire between the fork() and exec(), causing Asterisk signal handlers within the child to execute, which caused nasty race conditions. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48374 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31fix some copy/paste bugs in the checking of arguments for the russell1-2/+2
"control stream file" AGI command (issue #8255, mnicholson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46557 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27We should always be using _exit() after a fork() or vfork() instead of exit().russell1-2/+2
This is because exit() does some extra cleanup which in some implementations of vfork(), for example, can actually modify the state of the parent process, causing very weird bugs or crashes. (issue #7971, Nick Gavrikov) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46361 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06Don't close the second file descriptor if it's the same as the first one, as ↵file1-1/+2
it will have already been closed elsewhere and could cause massive panic. (issue #7699 reported by bn999) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@42148 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-23Revert last change - breaks retrieval of builtin variablestilghman1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40901 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15use pbx_builtin_getvar_helper() so that GET VARIABLE can retrieve globalrussell1-5/+4
variables (issue #7609) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39935 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12remove some more bad examples of using printfkpfleming1-5/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37419 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-12fix a place where a frame would be free'd twicerussell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33693 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-12Move set priority up, because at this point in the code, stdout is no longertilghman1-3/+3
the console. If we're unable to set priority, the error goes to Asterisk as if it were an AGI command (issue 7335). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@33615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-31if the connection to a FastAGI server fails because of a timeout, log a morerussell1-2/+7
informative log message git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@31194 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24support video recording via AGI 'RECORD FILE' command (issue #7068)kpfleming1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@29973 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-28add a missing newline in the agi app description (thanks wunderkin!)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@11382 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15ensure that FastAGI launcher can handle system call interruption (issue #6449)kpfleming1-9/+15
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@10108 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20check array bounds when parsing arguments to AGI (issue #5868)russell1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7557 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5648kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03issue #5589russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6954 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-10-04truncate last 200ms of DTMF-terminated recording to eliminate inband DTMF ↵kpfleming1-1/+5
(issue #5383) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6717 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-08-23make sure realtime/high scheduling priority is relinquished before executing ↵kpfleming1-0/+3
an AGI script (issue #4930) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6368 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22allow custom dialplan functions to be called from AGI (issue #4855)kpfleming1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6363 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22add CONTROL STREAM FILE AGI command (issue #4738)kpfleming1-0/+56
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6360 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-15Fix usage text for AGI recieve text (bug #4948)twisted1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6334 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03Fix sighup with AGI (bug #4854)markster1-5/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6264 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-8/+7
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-15phase two of string portability stuff:kpfleming1-3/+0
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-11don't hangup the channel when a RECEIVE TEXT command times out (bug #4607)kpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6082 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10more ast_copy_string conversionsrussell1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6075 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21add AGI 'RECEIVE TEXT' command (bug #4525)kpfleming1-1/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5950 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-8/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 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-25/+13
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-05make AGI 'TDD MODE' command behave as documented when the channel doesn't ↵kpfleming1-4/+4
support options (bug #4370) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5851 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-19support labels as targets of SET PRIORITY command (bug #4057)kpfleming1-5/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5727 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-27don't use %i for numeric input in scanf (bug #4071)kpfleming1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5507 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-22/+22
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-11Add datetime to AGI (bug #3984)markster1-0/+49
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5446 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-30Add say date to AGi (bug #3768)markster1-0/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5305 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-29Little say numer fix (bug #3884)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5298 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-28Continue with GET_DATA if no file is there (bug #3878)markster1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5290 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-26Make sure AGI continues even when files aren't there (bug #3862)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5263 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-24Add additional fields for calling parameters per BT requestmarkster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5251 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-17Add support for Solaris/x86 (bug #3064)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5199 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b