Displaying 1 result from an estimated 1 matches for "22e9".
Did you mean:
229
2006 Nov 30
1
2nd attempt - Return code - How to?
...did the following....
exten => 542,1,Set(s1=${STAT(e,"/var/lib/asterisk/t1")})
which should set s1 = 1 if the file exists and 0 if not.
but I get ....
Nov 30 00:19:06 ERROR[23493]: pbx.c:1382 ast_func_read: Function STAT not
registered
-- Executing Set("SIP/grandstream406-22e9", "s1=0") in new stack
and in general I am confused about return codes. How would you use a
return code from the following....
exten => s,1,System(somescript arg1 arg2)
Can someone give me a working example??? I keep getting the above error
Doug