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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Apr 9 07:15:18 CDT 2014


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

Rusty Newton updated ASTERISK-23593:
------------------------------------

    Status: Open  (was: Triage)

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