[asterisk-users] Can YOU find a trailing parenthesis?
Steve Edwards
asterisk.org at sedwards.com
Sun May 17 14:31:58 CDT 2009
On Sun, 17 May 2009, sean darcy wrote:
> [setup-meetme-conf-room] exten =>
> _6000XXXNXXX,n,Set(Time-in-secs="${STRFTIME(${EPOCH},,%s}" )
>
> CLI:
> -- Starting simple switch on 'DAHDI/1-1' [2009-05-17 14:54:49]
> WARNING[13433]: pbx.c:2846 func_args: Can't find trailing parenthesis?
This seems too obvious...
> exten => _6000XXXNXXX,n,Set(Time-in-secs="${STRFTIME(${EPOCH},,%s}" )
> exten => _6000XXXNXXX,n,Set(Time-in-secs=${STRFTIME(${EPOCH},,%s)})
I didn't test it, but this looks right to me. I don't think you "want" a
trailing space assigned to Time-in-secs either.
Emacs has an excellent match-paren facility that works on (){}[] in any
nesting combination.
Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list