<div dir="ltr">I can not share his rpt.conf file but I can explain what was done....<div><br></div><div>Three changes were made to his rpt.conf file as noted here:</div><div><ol><li>tailmessagetime=2700001 ; incremented to 2700001 to be easily found by DTMF control script - <b>in node stanza</b><br></li><li>84=cmd,/usr/local/sbin/tail45minutes.sh ; added DTMF Controllable bash script to change the rpt.conf variable - <b>in functions stanza</b></li><li>85=cmd,/usr/local/sbin/tail5minutes.sh ; added DTMF Controllable bash script to change the rpt.conf variable - <b>in functions stanza</b></li></ol><div><div>In the rpt.conf file I modified the tail time from 2700000 to 2700001 to make that easy for the script to find. Easier than me dealing with SED and spaces anyway....I then added the DTMF command of *84 to set the tailmessage time to 45 minutes, and *85 to set the tailmessage time to 5 minutes. ALL 3 changes are commented on the file.</div><div><br></div><div>The deal breaker: The script from 45 to 5 minutes will only work if it is currently set to 2700001, and the script from 5 minutes to 45 will only work if the variable is currently set to 300001. Basically if someone manually changes the time to anything other than 2700001 & 300001 neither script will work.</div><div><br></div><div>First modify your rpt.conf file to match the above changes. Then upload the two additional scripts linked below, these 2 scripts need to be saved to the /usr/local/sbin/ and once there will need to be set to executable and set by typing the following four commands:</div><div><font size="4"><br></font></div><div><font size="4">sudo -s</font></div><div><font size="4">chmod u+x /usr/local/sbin/tail45minutes.sh</font></div><div><font size="4">chmod u+x /usr/local/sbin/tail5minutes.sh<span style="font-family:Roboto,arial,sans-serif"> </span></font></div><div><span style="font-size:large">sudo asterisk -rx "rpt reload"</span><br></div><div><br></div><div><br></div><div>Files linked: <br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/10uk28qAnGlE_kpa62ZwZw-OGt3ipOqPT/view?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://drive-thirdparty.googleusercontent.com/16/type/text/x-sh"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">tail45minutes.sh</span></a></div></div><br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/file/d/1l4_Z0OHxIu7DFuDOacFGVUxd4VR0hd_l/view?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://drive-thirdparty.googleusercontent.com/16/type/text/x-sh"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">tail5minutes.sh</span></a></div><br><div>All should be set after that.</div></div></div><div>Jae KG5EBI</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 6, 2019 at 5:31 PM Joshua Nulton <<a href="mailto:kg5ebi@gmail.com">kg5ebi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Thanks, :) I didn't want to email or call without confirmation that those were still valid points of contact or that he was available. But have since made contact.<br></div><div><br>I explained to him over the phone that my approach would be to write a couple custom scripts to modify the variable as needed and those scripts could be run via remote DTMF control or rotated on a fixed schedule. I will post the solution here as well, should anyone else want to have a copy.</div></div>
</blockquote></div>