[Asterisk-Users] Include a variable from another
file in configfiles
JP Carballo
lists at netfone2x.com
Mon Dec 5 15:47:03 MST 2005
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.
More information about the asterisk-users
mailing list