Christophorus Laube
2006-Sep-16 04:15 UTC
[asterisk-users] read variable from shell script
Hi list, is it possible to call a shell script from * which returns a number or a string which can be read to an asterisk variable? Something like 'Set(VAR(System(/opt/scripts/something.script)))? Does anyone have an idea? Regards, Christophorus
On Sat, Sep 16, 2006 at 01:15:01PM +0200, Christophorus Laube wrote:> Hi list, > > is it possible to call a shell script from * which returns a number or a > string which can be read to an asterisk variable? Something like > 'Set(VAR(System(/opt/scripts/something.script)))? > Does anyone have an idea?http://pbxfreeware.org/app_backticks.c -- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com