[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 13:44:03 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kinsey Moore closed ASTERISK-23242.
-----------------------------------

    Resolution: Not A Bug

As discussed, AGISTATUS is a channel variable and not a global variable and so is not available after the channel goes away, even for another channel originated in exactly the same way. This value should be captured using the h extension or hangup handlers (only available in 12+).
                
> 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 hanging up the channel while the script is being run. The value returned should be HANGUP, but NULL is returned instead.

--
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