Displaying 1 result from an estimated 1 matches for "my_shell_script".
2009 Jan 22
2
Dumb question: retrieve values from OS-level commands?
Hi, all. I want to execute a script, and return the value of said
(Python) script to the dialplan. I thought something like
exten => 1,1,Set(MyWorkingDir=System(/bin/pwd))
might work, but apparently not. I also looked into AGI stuff, but that
doesn't quite seem to be the right approach. Surely there's *some* way to
do this...
Any suggestions?
Thanks!
-Ken