[asterisk-bugs] [JIRA] (ASTERISK-18396) [patch] - Variables Truncated When Using Realtime Dialplan
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Tue Jan 15 10:00:45 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-18396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan updated ASTERISK-18396:
-----------------------------------
Summary: [patch] - Variables Truncated When Using Realtime Dialplan (was: Variables Truncated When Using Realtime Dialplan)
> [patch] - Variables Truncated When Using Realtime Dialplan
> ----------------------------------------------------------
>
> Key: ASTERISK-18396
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-18396
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: PBX/pbx_realtime
> Affects Versions: 1.8.6.0
> Environment: Cent OS 5.5
> Reporter: Ross Beer
> Attachments: 20110913__ASTERISK-18396__2.diff.txt, 20110913__ASTERISK-18396.diff.txt
>
>
> When setting/using variables in a realtime MySQL database variables are truncated within Asterisk. The following is the output from the CLI:
> SET("<channel removed>", "GROUPDIAL=Local/10000*200 at vh-pbx-extension&Local/10000*201 at vh-pbx-extension&Local/10000*202 at vh-pbx-extension&Local/10000*203 at vh-pbx-extension&Local/10000*200 at vh-pbx-extension&Local/10000*200 at vh-pbx-extension&Local/10000*200 at vh-pbx-extension")
> When appending with an additional extension it is truncated (Using the same loop as the previous entries):
> SET("<channel removed>", "GROUPDIAL=Local/10000*200 at vh-pbx-extension&Local/10000*201 at vh-pbx-extension&Local/10000*202 at vh-pbx-extension&Local/10000*203 at vh-pbx-extension&Local/10000*200 at vh-pbx-extension&Local/10000*200 at vh-pbx-extension&Local/10000*200 at vh-pbx-extension&Local/1")
> If the same code is used in the extensions.conf this issue does not occur. However if you use the same variable once generated in the extensions.conf dial plan in a dial command from within a realtime dial plan the variable is once again truncated. It looks like the variable when being used in the real-time dial plan is cut short.
> The variable is totally generated from within asterisk and the channel names are stored separately within the database dial plan. i.e they do no fill the length of the column, therefore they are being truncated inside the asterisk core.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list