Displaying 2 results from an estimated 2 matches for "grandstream406".
Did you mean:
grandstream03
2006 Nov 30
1
2nd attempt - Return code - How to?
...size of t3
I 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
2006 Nov 14
1
How to use Sipura SPA3k POTS line to dial Asterisk SIP phones?
My SIP phones can dial out through Sipura SPA3k to POTS for local and
911 calls _but_ incoming POTS calls are being swallowup somehow.
Am I on the right track with the code snippit below?
sip.conf:
---------
In sip.conf the following code is _supposed_ to ring the SIP phones when
a POTS line call comes in through Sipuara to Asterisk.
[spa3k-pstn-in] ; Pots-line-in from Sipura
; If