[asterisk-users] Using shell script output into phoneprov.conf's custom variables

Olivier oza_4h07 at yahoo.fr
Thu Dec 22 04:31:05 CST 2011


Hello,

I'm looking at phoneprov.conf capabilities for the first time.
I've seen this:
setvar => CUSTOM_CONFIG=/var/lib/asterisk/phoneprov/configs/custom.cfg
 ; Custom variable

Is it possible to use something like:
setvar => CUSTOM_CONFIG=$(/bin/date)

In other words, is it possible to use the output of a shell script as
a way to set a phoneprov.conf custom variable ?

(I could test this on my own, but as I'm new to the whole
phoneprov.conf process which gives many reasons to fail, I prefer to
ask here).

Regards



More information about the asterisk-users mailing list