28 Feb
2014
28 Feb
'14
2:39 p.m.
Rafal Pilos wrote:
if (%{exec:/path/to/script.sh} == "some numbers"){
That's wrong. See "man unlang".
However this doesn't work. Debug shows: Bare %{...} is invalid in condition at: %{exec:/path/to/script.sh} == "some numbers") What im doing wrong ?
Add quotes around the exec: if ("%{exec:...}" == "blah") {
Is there possibility to execute remote script in this place ?
Yes. Alan DeKok.