[asterisk-users] Using shell script output into phoneprov.conf's custom variables
Olivier
oza_4h07 at yahoo.fr
Thu Dec 22 10:58:48 CST 2011
2011/12/22, Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> On Thu, Dec 22, 2011 at 11:53:16AM +0100, Olivier wrote:
>> As a workaround, is it possible to use include statements in
>> phoneprov.conf ?
>
> Both #include and #exec (the latter: if enabled) should work in any
> Asterisk config file.
Great !
At least, this gives me a workaround : I need to value a custom
variable to something like 201112221645 (date and time (in hours and
minutes).
An include and an external script (ran every minute) would just give me that.
Maybe an exec, that would be triggered by an appropriate event, would
also do it.
Thanks for helping.
>
> --
> Tzafrir Cohen
> icq#16849755 jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406 mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list