JP Carballo wrote:
amaury BOSSE wrote:
Thanks for your answer but I don't want to include a file, I only
want to include a variable.
Is it possible to execute linux commands like grep or top in a .conf
file in order to parse a file and get a variable?
Look into the System() command:
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+System
Oops, I missed the "get a variable" part.
Your best bet is to use AGI.
--
JP Carballo
http://www.netfone2x.com
Bringing the world closer.
It might look like I'm doing nothing, but at the cellular level, I'm really quite busy.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users