[asterisk-bugs] [JIRA] (ASTERISK-23242) AGISTATUS returns false statuses for some scripts when using AGI(script.agi)

Kinsey Moore (JIRA) noreply at issues.asterisk.org
Wed Feb 26 11:14:03 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215672#comment-215672 ] 

Kinsey Moore commented on ASTERISK-23242:
-----------------------------------------

When I execute these AGI files, I see both returning SUCCESS in the AGISTATUS variable for Asterisk 11 branch and trunk. Did you check to make sure you had the execution bit set in permissions?

What documentation did you use to determine that waiting.agi should have returned HANGUP? Was it the test itself? I'm not that familiar with AGI.
                
> AGISTATUS returns false statuses for some scripts when using AGI(script.agi)
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-23242
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23242
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/testsuite
>    Affects Versions: 11.7.0
>         Environment: Ubuntu
>            Reporter: Benjamin Keith Ford
>            Assignee: Kinsey Moore
>            Severity: Minor
>
> While writing a test for AGI exit statuses, I found that the AGISTATUS variable was returning incorrect statuses when running the waiting.agi and donothing.agi scripts. waiting.agi should have returned HANGUP, and donothing.agi should have returned SUCCESS. Instead, the results were both FAILURE. A simple extensions.conf file that executes the AGI files and then checks the AGISTATUS variable for each will reproduce these results.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list