[Home]

Summary:ASTERISK-11036: FAILURE status report
Reporter:Angelo Conforti (angeloxx-sir)Labels:
Date Opened:2007-12-14 03:02:29.000-0600Date Closed:2007-12-14 09:11:21.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Resources/res_agi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi,
 in res/res_agi.c help (line 101) says that:
 
 This application sets the following channel variable upon completion:
    AGISTATUS      The status of the attempt to the run the AGI script
                   text string, one of SUCCESS | FAILED | HANGUP
                   
                   
but in source code the failure status is identified by FAILURE string
and not FAILED (line 2073):

       case AGI_RESULT_FAILURE:
               pbx_builtin_setvar_helper(chan, "AGISTATUS", "FAILURE");
               break;

Can you correct the help?
Thanks
Comments:By: Digium Subversion (svnbot) 2007-12-14 08:59:34.000-0600

Repository: asterisk
Revision: 92933

U   branches/1.4/res/res_agi.c

------------------------------------------------------------------------
r92933 | tilghman | 2007-12-14 08:59:32 -0600 (Fri, 14 Dec 2007) | 5 lines

Change help documentation to match actual behavior (FAILURE vs FAILED).
Reported by: angeloxx-sir
Patch by: tilghman
(Closes issue ASTERISK-11036)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=92933

By: Digium Subversion (svnbot) 2007-12-14 09:11:21.000-0600

Repository: asterisk
Revision: 92936

_U  trunk/
U   trunk/res/res_agi.c

------------------------------------------------------------------------
r92936 | tilghman | 2007-12-14 09:11:20 -0600 (Fri, 14 Dec 2007) | 13 lines

Merged revisions 92933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r92933 | tilghman | 2007-12-14 09:01:10 -0600 (Fri, 14 Dec 2007) | 5 lines

Change help documentation to match actual behavior (FAILURE vs FAILED).
Reported by: angeloxx-sir
Patch by: tilghman
(Closes issue ASTERISK-11036)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=92936