[asterisk-bugs] [JIRA] (ASTERISK-23593) If the variable contains ").:." then it can not be used as a function argument

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Dec 18 10:38:07 CST 2017


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

Joshua Colp updated ASTERISK-23593:
-----------------------------------

    Affects Version/s: 13.18.4

> If the variable contains ").:." then it can not be used as a function argument 
> -------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23593
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23593
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 11.8.1, 13.18.4
>         Environment: Debian testing AMD64
>            Reporter: Igor Drach
>
> 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 at DLPN_DialPlan2:1] Set("SIP/10-00000014", "smst=).:.") in new stack
>     -- Executing [778 at 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 at 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 at DLPN_DialPlan2:4] Verbose("SIP/10-00000014", "3,") in new stack
> {noformat}



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



More information about the asterisk-bugs mailing list