[asterisk-bugs] [JIRA] Commented: (ASTERISK-20294) Asterisk is unable to execute AGI commands longer than 2048 bytes

Matt Jordan (JIRA) noreply at issues.asterisk.org
Wed Aug 22 09:19:07 CDT 2012


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

Matt Jordan commented on ASTERISK-20294:
----------------------------------------

Features requests are no longer submitted to or accepted through the issue tracker. Features requests are openly discussed on the mailing lists [1] and Asterisk IRC channels and made note of by Bug Marshals.

[1] http://www.asterisk.org/support/mailing-lists



> Asterisk is unable to execute AGI commands longer than 2048 bytes
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-20294
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20294
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_agi
>    Affects Versions: 10.7.0
>            Reporter: Pavlo Lavrenenko
>         Attachments: agi.log, testagi.pl
>
>
> Asterisk is unable to execute AGI commands longer than 2048 bytes, which are limited by statically allocated char buf[AGI_BUF_LEN]; buffer in res/res_agi.c::3466
> What was done:
> 1. Asterisk 10.7.0 from http://svn.asterisk.org/svn/asterisk/tags/10.7.0 configured and installed with --refix=/opt/asterisk-10.7.0;
> 2. Sample configs have been installed with make samples;
> 3. Peer added to sip.conf, Linksys UA registered;
> 4. exten => 000112, 1, AGI(/home/santa/sandbox/testagi.pl) added to [default] context in extensions.conf;
> 5. testagi.pl executes Background AGI application with concatenated promts as a parameter and total length > 4k;
> 6. A test call has been made to 000112.
> Expected results:
> Asterisk plays all the prompts sequentially.
> Real results:
> Asterisk reads up to 2048 bytes on each fgets() iteration, the command is being cutted up and not all prompts are being played.
> See agi log and testagi.pl code in attachment.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list