EXISTS(Variable)exten => 123,1,Set(Var1=test)
exten => 123,n,Set(Var2=)
exten => 123,n,Set(foo=${EXISTS(${Var1})}) ; foo ist 1
exten => 123,n,Set(foo=${EXISTS(${Var2})}) ; foo ist 0————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about function 'EXISTS' =-
[Syntax]
EXISTS(<data>)
[Synopsis]
Existence Test: Returns 1 if exists, 0 otherwise
[Description]
Not available