[asterisk-bugs] [JIRA] (ASTERISK-28083) res_agi: Asterisk truncates result of get_variable to 1024 characters

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon Oct 1 04:33:54 CDT 2018


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

Joshua C. Colp updated ASTERISK-28083:
--------------------------------------

    Status: Open  (was: Triage)

> res_agi: Asterisk truncates result of get_variable to 1024 characters
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-28083
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28083
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_agi
>    Affects Versions: 15.6.0
>         Environment: linux
>            Reporter: Daan Roet
>            Severity: Minor
>
> In asterisk, you can set a very long variable (>1024 characters) using:
> $agi->set_variable("test", $longString);
> You can verify this by running the verbose() function and checking the asterisk console, however when you then try and retrieve the same variable using:
> $result = $agi->get_variable("test");
> The variable gets truncated and limited to 1024 characters, making it impossible to retrieve the original string 



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list