Summary: | ASTERISK-23593: If the variable contains ").:." then it can not be used as a function argument | ||
Reporter: | Igor Drach (laigor) | Labels: | |
Date Opened: | 2014-04-06 12:17:22 | Date Closed: | |
Priority: | Minor | Regression? | |
Status: | Open/New | Components: | Core/General |
Versions: | 11.8.1 13.18.4 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Debian testing AMD64 | Attachments: | |
Description: | Dial plan example:
{noformat} exten = 778,1,Set(smst=).:.) same = n,Verbose(3,${smst}) same = n,Verbtose(3,${QUOTE(${smst})}) same = n,Verbose(3,${URIENCODE(${smst})}) {noformat} Console output: {noformat} Executing [778@DLPN_DialPlan2:1] Set("SIP/10-00000014", "smst=).:.") in new stack -- Executing [778@DLPN_DialPlan2:2] Verbose("SIP/10-00000014", "3,).:.") in new stack -- ).:. [Apr 6 21:12:00] WARNING[12484][C-00000081]: func_strings.c:1240 quote: No argument specified! -- Executing [778@DLPN_DialPlan2:3] Verbose("SIP/10-00000014", "3,""") in new stack -- "" [Apr 6 21:12:00] WARNING[12484][C-00000081]: func_uri.c:79 uriencode: Syntax: URIENCODE(<data>) - missing argument! -- Executing [778@DLPN_DialPlan2:4] Verbose("SIP/10-00000014", "3,") in new stack {noformat} | ||
Comments: |