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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Dec 25 04:56:35 CST 2011


On Fri, Dec 23, 2011 at 12:41:22PM +0530, virendra bhati wrote:
> hi tzafrir,
> 
> How to used #exec in extension.conf ?
> asterisk.conf is used to enable this option i know..

So you can use it just like you use it in any other Asterisk
configuration file.

#exec some command line

Will be replaced with the output of 'some command line'

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



More information about the asterisk-users mailing list