[asterisk-bugs] [JIRA] (ASTERISK-21812) Whitespace not escaped correctly on AGI()

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri May 24 10:30:04 CDT 2013


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

Rusty Newton commented on ASTERISK-21812:
-----------------------------------------

{noformat}
same => n,AGI(/tmp/blah /testfile.py)
{noformat}

{noformat}
    -- Executing [1111 at internal:1] Wait("Console/dsp", "1") in new stack
    -- Executing [1111 at internal:2] AGI("Console/dsp", "/tmp/blah /testfile.py") in new stack
    -- Launched AGI Script /tmp/blah /testfile.py
    -- <Console/dsp>AGI Script /tmp/blah /testfile.py completed, returning 0
    -- Executing [1111 at internal:3] Hangup("Console/dsp", "") in new stack
{noformat}

Works for me. Asterisk 11.4.0 on Ubuntu 12.04. I'm going to close this out, but feel free to comment if you find out what was causing the problem. It doesn't look like a bug. If you do find something that looks buggy we'll re-open. 
                
> Whitespace not escaped correctly on AGI()
> -----------------------------------------
>
>                 Key: ASTERISK-21812
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21812
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: . I did not set the category correctly.
>    Affects Versions: 11.4.0
>         Environment: Ubuntu server 12.04 server, using asterisk-latest from the tarball as well as the package.
>            Reporter: Ariel Wainer
>            Severity: Trivial
>
> When I try to call an AGI script like this:
> exten => 12345,2,AGI(/usr/bin/python /usr/local/bin/test.py)
> It doesn't work, it says: 
>  WARNING[30174][C-00000003]: res_agi.c:1681 launch_script: Failed to execute '/usr/bin/python /usr/local/bin/test.py': File does not exist.
> Both the binary and the script work and asterisk has the right permissions.

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