I want to execute a shell script which will turn on/off LED lights based on input number while call is going on.
For example :
Pick up phone
Dial *** (any number or signs)
Fire/triggered a shell script to mange the LEDs
I do have little bit idea about to take inputs from users while call is going and based on that perform some action using dial plans define in extenstions.conf file but I don’t know how to run/triggered a shell script.
Please guide/suggest some solution to do the same.