<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>I have a need to call a shell script from a DTMF function.<br><br>An internet search finds this message in the archive : <a href="http://ohnosec.org/pipermail/app_rpt-users/2009-June/000183.html">Calling a script message</a><br>So based on what I found there I did this:<br><br>Added to extensions.conf:<br>[call-bash-script]<br>exten => 1,1,System(/etc/W3SBA/utils/drillactive) ; Configure for EmComm Drill<br><br>And in rpt.conf: <br>8495=autopatchup,context=call-bash-script,farenddisconnect=1 ;84951 - Set up for EmComm Drill <br>It works as is.<br>But, is this still the way to do this? Or is there a "better" way to make a call to the system?<br> <br><div><span name="x"></span><div><div><span style="FONT-WEIGHT: bold; FONT-FAMILY: arial"><span style="FONT-SIZE: 12px; FONT-STYLE: italic"><span style="FONT-SIZE: 12px; FONT-STYLE: italic">
<div> <br></div>
<div><span style="FONT-WEIGHT: bold; FONT-FAMILY: arial"><font size="3">Robert A. Poff<br></font></span><span style="FONT-WEIGHT: bold; FONT-FAMILY: arial"><font size="3">Loganville, PA.</font><br><br><span style="FONT-SIZE: 12px; FONT-STYLE: italic"><left></left><br><span style="FONT-SIZE: 12px; FONT-STYLE: italic">"Lieutenant, target the offending power boat and launch photon torpedoes" </span></span></span></div></span></span></span></div></div><span name="x"></span><br></div><br></div></body></html>