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

Igor Drach (JIRA) noreply at issues.asterisk.org
Sun Apr 6 12:18:18 CDT 2014


Igor Drach created ASTERISK-23593:
-------------------------------------

             Summary: 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:
exten = 778,1,Set(smst=).:.)
same = n,Verbose(3,${smst})
same = n,Verbtose(3,${QUOTE(${smst})})
same = n,Verbose(3,${URIENCODE(${smst})})
Console output:
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




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



More information about the asterisk-bugs mailing list