Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

not compatible with asterisk 16 #17

@slesru

Description

@slesru

Hello!

Previously asterisk sent --END command

action_command_cleanup:

    close(fd);
    unlink(template);
    astman_append(s, "--END COMMAND--\r\n\r\n");
    
    ast_free(buf);
    ast_free(final_buf);

which php-agi waits for

while(substr($buff, 0, 6) != '--END ')

but now there is no such code

action_command_cleanup:
astman_append(s, "\r\n");

    close(fd);
    unlink(template);

    ast_free(buf);
    ast_free(final_buf);

So php-agi does not work with asterisk 16.. :-(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions