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

virendra bhati virbhati at gmail.com
Fri Dec 23 01:11:22 CST 2011


hi tzafrir,

How to used #exec in extension.conf ?
asterisk.conf is used to enable this option i know..

On Thu, Dec 22, 2011 at 10:28 PM, Olivier <oza_4h07 at yahoo.fr> wrote:

> 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
> >
>
> --
> _____________________________________________________________________
> -- 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
>



-- 

Thanks and regards

 Virendra Bhati
+91-8885268942
Software Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111223/ff1f97ca/attachment.htm>


More information about the asterisk-users mailing list