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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Sep 28 08:31:54 CDT 2018


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

Asterisk Team commented on ASTERISK-28083:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

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