<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>

<META name=GENERATOR content="MSHTML 11.00.10586.212"></HEAD>
<BODY id=MailContainerBody class=hmmessage 
style="PADDING-TOP: 15px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px" leftMargin=0 
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV>I forgot the syntax to load a string variable with a DTMF  code</DIV>
<DIV>such as</DIV>
<DIV>888 = /temp/xyz.txt="P"</DIV>
<DIV> </DIV>
<DIV>Thanks<BR>73 Neil Sablatzky  K8IT<BR>Allstar Node 41838 
KITLINK<BR>Allstar Node 42087 KITLINK HUB<BR>IRLP Node exp0068<BR>Echolink 
K8IT-L<BR>WIRES-X K8IT 11479 Room 21479</DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=doug@crompton.com 
href="mailto:doug@crompton.com">Doug Crompton</A> </DIV>
<DIV><B>Sent:</B> Friday, January 22, 2016 3:27 PM</DIV>
<DIV><B>To:</B> <A title=arm-allstar@hamvoip.org 
href="mailto:arm-allstar@hamvoip.org">ARM Allstar</A> </DIV>
<DIV><B>Subject:</B> Re: [arm-allstar] A Script to Change Courtesy 
tones</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV dir=ltr><FONT color=#000000 face=Tahoma,sans-serif>Laroy,<BR><BR> Glad 
to hear you got it going. The voice feedback is of course optional. I attached a 
sound file that might be more appropriate if you want one. Just put it in 
/etc/asterisk/local   and change the path and filename in the 
localplay line in change_telemetry.sh<BR id=FontBreak></FONT><BR><B><FONT 
style="FONT-SIZE: 16pt" size=4>73 Doug</FONT><FONT style="FONT-SIZE: 16pt" 
size=4><BR></FONT><FONT style="FONT-SIZE: 16pt" size=4>WA3DSP</FONT><FONT 
style="FONT-SIZE: 16pt" size=4><BR></FONT><FONT style="FONT-SIZE: 16pt" 
size=4><A 
href="http://www.crompton.com/hamradio">http://www.crompton.com/hamradio</A></FONT></B><FONT 
style="FONT-SIZE: 16pt" size=4><BR></FONT><BR><BR>
<DIV>
<HR id=stopSpelling>
To: <A 
href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A><BR>From: <A 
href="mailto:lmccann@dtisp.com">lmccann@dtisp.com</A><BR>Date: Fri, 22 Jan 2016 
09:36:14 -0600<BR>Subject: Re: [arm-allstar] A Script to Change Courtesy 
tones<BR><BR>
<DIV class=ecxmoz-cite-prefix>Doug,<BR>So I could not wait till later to try 
this. lol<BR><BR>It works well.  Just not sure what "T-changed-to" is 
supposed to say.<BR><BR>It says "has been changed to" and the telemetry 
number.<BR><BR>Great job.  Thanks<BR><BR>LaRoy McCann, 
K5TW<BR><BR><BR><BR>On 1/21/2016 6:59 PM, Doug Crompton wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:BLU171-W6738583C82B85EC58E3A89BAC40@phx.gbl>
  <STYLE><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></STYLE>

  <DIV dir=ltr><FONT color=#000000 face=Tahoma,sans-serif>OK, here is a 
  reasonable way to do it that seems to work well. There is a little setup but 
  it should not take too long. Follow these steps -<BR><BR>Put the attached 
  script in /etc/asterisk/local<BR><BR>Make it executable<BR><BR>chmod 750 
  change_telemetry.sh<BR><BR>Backup your rpt.conf file<BR><BR>Make a new 
  directory if it does not already exist in /etc/asterisk called 
  custom<BR><BR>Edit the primary rpt.conf file and copy (cut and paste or 
  whatever) the telemetry section in entirety.<BR><BR>Save the telemetry section 
  you copied out of rpt.conf to /etc/asterisk/custom/telemetry.conf<BR><BR>Also 
  copy it to /etc/asterisk/custom/telemetry1    and   
  telemetry2 <BR><BR>This assumes you will have two telemetry changes. If you 
  will have more copy to more telemetry files telemetry3, telemetry4, 
  etc.<BR><BR>Go back to the rpt.conf file and either delete or comment (your 
  choice) ALL lines in the telemetry section you just copied out. When you are 
  done there should be no active telemetry section in rpt.conf<BR><BR>Go to the 
  end of the rpt.conf file and change the last line to this 
  -<BR><BR>#includeifexists custom/telemetry.conf<BR><BR>Go to the 
  /etc/asterisk/custom directory and edit the files for the different telemetry 
  settings you want. telemetry.conf and telemetry1 should not be edited - they 
  will be the stock files. Edit telemetry2, 3, 4 etc. however many different 
  tone groups you want to define. You can have as many as you want, just give 
  them consecutive numbers and remember them by number.<BR><BR>Once the files 
  are saved run the change_telemetry program. It is set at start to only 
  accept  two files - telemetry1 and 2 - change the MAX_FILE parameter in 
  the script to the number of definitions you have (telemetryx files in the 
  custom directory.) <BR><BR>You can run the script manually to see how it 
  works. It does not effect Allstar operation. You can change at any 
  time.<BR><BR>change_telemetry x        - 
  where x equals the file number<BR><BR>Once this is all working you can call 
  the script either directly from a function, via the autopatch, cron, 
  etc.<BR><BR>function section 
  example....<BR><BR>811=cmd,/etc/asterisk/local/change_telemetry 
  1<BR></FONT><FONT color=#000000 
  face=Tahoma,sans-serif>812=cmd,/etc/asterisk/local/change_telemetry 
  2</FONT><BR><FONT color=#000000 face=Tahoma,sans-serif><FONT color=#000000 
  face=Tahoma,sans-serif>813=cmd,/etc/asterisk/local/change_telemetry 
  3<BR>etc.<BR><BR>then DTMF <BR><BR>*811  - default 
  telemetry<BR>*812  - Telemetry values 2<BR>etc.<BR><BR>What this 
  does.<BR><BR> The telemetry section is removed from rpt.conf. rpt.conf is 
  then setup to call telemetry.conf in the /etc/asterisk/custom directory. The 
  change_telemetry.sh then copies different definition files to telemetry files 
  to telemetry.conf based on a number. It then reloads rpt.conf and sends an 
  audible message to the user.<BR><BR>Things to remember - <BR><BR>if you run 
  setup again the rpt.conf file will be overwritten. You will have to delete the 
  telemetry section and add the last line again.<BR><BR>Always leave at least 
  one file - preferably telemetry1 - as the default stock values.<BR><BR>The 
  mapping in rpt.conf should not need to be changed. For instance if 
  unlinkct=ct2  and you wanted to change it you would change the ct2 
  definition in the telemetry section in one of the files.<BR><BR>The 
  change_telemetry script announces the change locally on the primary node given 
  in the environment variable NODE1. If you want it to speak on a different node 
  you need to change the node in the voice lines in the change_telemetry 
  script.<BR><BR>I hope this helps or at least gives you ideas of how to do it. 
  Let me know how it works for you and if you have any questions I would be glad 
  to answer them.<BR><BR></FONT></FONT><B><FONT style="FONT-SIZE: 16pt" 
  size=4>73 Doug</FONT><FONT style="FONT-SIZE: 16pt" size=4><BR></FONT><FONT 
  style="FONT-SIZE: 16pt" size=4>WA3DSP</FONT><FONT style="FONT-SIZE: 16pt" 
  size=4><BR></FONT><FONT style="FONT-SIZE: 16pt" size=4><A 
  class=ecxmoz-txt-link-freetext href="http://www.crompton.com/hamradio" 
  target=_blank>http://www.crompton.com/hamradio</A></FONT></B><FONT 
  style="FONT-SIZE: 16pt" size=4><BR></FONT><BR><BR>
  <DIV>
  <HR id=ecxstopSpelling>
  To: <A class=ecxmoz-txt-link-abbreviated 
  href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A><BR>From: <A 
  class=ecxmoz-txt-link-abbreviated 
  href="mailto:lmccann@dtisp.com">lmccann@dtisp.com</A><BR>Date: Wed, 20 Jan 
  2016 15:29:57 -0600<BR>Subject: Re: [arm-allstar] Courtesy tones<BR><BR>
  <DIV class=ecxmoz-cite-prefix>Is there any way to dynamically change the 
  courtesy tones?<BR>Maybe thru the event management subsystem?<BR><BR>Or is the 
  only way to read the definitions from rpt.conf?<BR>I know I could always use a 
  script to edit rpt.conf and then reload, but was just hoping of some other way 
  to do it.<BR><BR>LaRoy McCann, K5TW<BR><BR><BR><BR>On 1/20/2016 11:41 AM, 
  LaRoy McCann wrote:<BR></DIV>
  <BLOCKQUOTE cite=mid:569FC6B6.4020409@dtisp.com>
    <DIV class=ecxmoz-cite-prefix>Doug,<BR><BR><B><I>remotetx</I></B>  That 
    was what I was looking for.<BR><BR>Thanks<BR><BR>LaRoy McCann, 
    K5TW<BR><BR>On 1/20/2016 11:29 AM, Doug Crompton wrote:<BR></DIV>
    <BLOCKQUOTE cite=mid:BLU171-W76C0978975FC7576531C57BAC20@phx.gbl>
      <STYLE><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></STYLE>

      <DIV dir=ltr><FONT color=#000000 
      face=Tahoma,sans-serif>LaRoy,<BR><BR>  linkunkeyct  when 
      connected and someone on the network unkeys.  But your local radio 
      unkey is set by the remotetx tone group in the telemetry stanza.<BR><BR>So 
      if you change linkunkeyct you would not hear the change unless someone 
      else on the connected network unkeys. You could test this by connecting 
      two locals nodes together.  That is why I mentioned it is confusing 
      because you expect it to change when you are connected and unkey and it 
      doesn't. Also always remember to 'reload rpt' in the client after a 
      change.<BR id=ecxFontBreak></FONT><BR><B><FONT style="FONT-SIZE: 16pt" 
      size=4>73 Doug</FONT><FONT style="FONT-SIZE: 16pt" size=4><BR></FONT><FONT 
      style="FONT-SIZE: 16pt" size=4>WA3DSP</FONT><FONT style="FONT-SIZE: 16pt" 
      size=4><BR></FONT><FONT style="FONT-SIZE: 16pt" size=4><A 
      class=ecxmoz-txt-link-freetext href="http://www.crompton.com/hamradio" 
      target=_blank></A><A class=ecxmoz-txt-link-freetext 
      href="http://www.crompton.com/hamradio" 
      target=_blank>http://www.crompton.com/hamradio</A></FONT></B><FONT 
      style="FONT-SIZE: 16pt" size=4><BR></FONT><BR><BR>
      <DIV>
      <HR id=ecxstopSpelling>
      To: <A class=ecxmoz-txt-link-abbreviated 
      href="mailto:arm-allstar@hamvoip.org"></A><A 
      class=ecxmoz-txt-link-abbreviated 
      href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A><BR>From: 
      <A class=ecxmoz-txt-link-abbreviated 
      href="mailto:lmccann@dtisp.com">lmccann@dtisp.com</A><BR>Date: Wed, 20 Jan 
      2016 10:47:58 -0600<BR>Subject: [arm-allstar] Courtesy tones<BR><BR>Ok, 
      I've been racking my brain trying to figure this out.<BR><BR>The courtesy 
      tone on a single node when a users unkeys is 
      <B><I>unlinkedct</I></B>.<BR><BR>The courtesy tone changes when this node 
      connects to another node via the internet.<BR>What courtesy tone variable 
      is used when the local user unkeys and the two nodes are linked 
      together?<BR><BR><BR>LaRoy McCann, K5TW<BR>
      <TABLE style="BORDER-TOP: #aaabb6 1px solid">
        <TBODY>
        <TR>
          <TD style="WIDTH: 105px; PADDING-TOP: 15px"><A 
            href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
            target=_blank><IMG style="HEIGHT: 33px; WIDTH: 90px" 
            src="https://ipmcdn.avast.com/images/logo-avast-v1.png"></A> </TD>
          <TD 
          style="FONT-SIZE: 13px; FONT-FAMILY: Arial, Helvetica, sans-serif; WIDTH: 470px; COLOR: #41424e; PADDING-TOP: 20px; LINE-HEIGHT: 18px">This 
            email has been sent from a virus-free computer protected by Avast. 
            <BR><A style="COLOR: #4453ea" 
            href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
            target=_blank>www.avast.com</A> 
      </TD></TR></TBODY></TABLE><BR>_______________________________________________ 
      arm-allstar mailing list <A class=ecxmoz-txt-link-abbreviated 
      href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A> <A 
      class=ecxmoz-txt-link-freetext 
      href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" 
      target=_blank>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</A> 
      Visit the BBB and RPi2 web page - <A class=ecxmoz-txt-link-freetext 
      href="http://hamvoip.org" target=_blank></A><A 
      class=ecxmoz-txt-link-freetext href="http://hamvoip.org" 
      target=_blank>http://hamvoip.org</A></DIV></DIV><BR>-- <BR>This message 
      has been scanned for viruses and <BR>dangerous content by the <A 
      href="http://www.dtisp.com/" target=_blank><B>DTISP MailScanner</B></A>, 
      and is <BR>believed to be clean. <BR>
      <FIELDSET class=ecxmimeAttachmentHeader></FIELDSET> <BR><PRE>_______________________________________________

arm-allstar mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A>
<A class=ecxmoz-txt-link-freetext href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target=_blank>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</A>

Visit the BBB and RPi2 web page - <A class=ecxmoz-txt-link-freetext href="http://hamvoip.org" target=_blank>http://hamvoip.org</A></PRE></BLOCKQUOTE><BR>
    <TABLE style="BORDER-TOP: #aaabb6 1px solid">
      <TBODY>
      <TR>
        <TD style="WIDTH: 105px; PADDING-TOP: 15px"><A 
          href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
          target=_blank><IMG style="HEIGHT: 33px; WIDTH: 90px" 
          src="https://ipmcdn.avast.com/images/logo-avast-v1.png"></A> </TD>
        <TD 
        style="FONT-SIZE: 13px; FONT-FAMILY: Arial, Helvetica, sans-serif; WIDTH: 470px; COLOR: #41424e; PADDING-TOP: 20px; LINE-HEIGHT: 18px">This 
          email has been sent from a virus-free computer protected by Avast. 
          <BR><A style="COLOR: #4453ea" 
          href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
          target=_blank>www.avast.com</A> </TD></TR></TBODY></TABLE><BR>-- <BR>This 
    message has been scanned for viruses and <BR>dangerous content by the <A 
    href="http://www.dtisp.com/" target=_blank><B>DTISP MailScanner</B></A>, and 
    is <BR>believed to be clean. <BR>
    <FIELDSET class=ecxmimeAttachmentHeader></FIELDSET> <BR><PRE>_______________________________________________

arm-allstar mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A>
<A class=ecxmoz-txt-link-freetext href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target=_blank>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</A>

Visit the BBB and RPi2 web page - <A class=ecxmoz-txt-link-freetext href="http://hamvoip.org" target=_blank>http://hamvoip.org</A></PRE></BLOCKQUOTE><BR>
  <TABLE style="BORDER-TOP: #aaabb6 1px solid">
    <TBODY>
    <TR>
      <TD style="WIDTH: 105px; PADDING-TOP: 15px"><A 
        href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
        target=_blank><IMG style="HEIGHT: 33px; WIDTH: 90px" 
        src="https://ipmcdn.avast.com/images/logo-avast-v1.png"></A> </TD>
      <TD 
      style="FONT-SIZE: 13px; FONT-FAMILY: Arial, Helvetica, sans-serif; WIDTH: 470px; COLOR: #41424e; PADDING-TOP: 20px; LINE-HEIGHT: 18px">This 
        email has been sent from a virus-free computer protected by Avast. 
        <BR><A style="COLOR: #4453ea" 
        href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
        target=_blank>www.avast.com</A> 
  </TD></TR></TBODY></TABLE><BR>_______________________________________________ 
  arm-allstar mailing list <A class=ecxmoz-txt-link-abbreviated 
  href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A> <A 
  class=ecxmoz-txt-link-freetext 
  href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" 
  target=_blank>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</A> 
  Visit the BBB and RPi2 web page - <A class=ecxmoz-txt-link-freetext 
  href="http://hamvoip.org" 
  target=_blank>http://hamvoip.org</A></DIV></DIV><BR>-- <BR>This message has 
  been scanned for viruses and <BR>dangerous content by the <A 
  href="http://www.dtisp.com/" target=_blank><B>DTISP MailScanner</B></A>, and 
  is <BR>believed to be clean. <BR>
  <FIELDSET class=ecxmimeAttachmentHeader></FIELDSET> <BR><PRE>_______________________________________________

arm-allstar mailing list
<A class=ecxmoz-txt-link-abbreviated href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</A>
<A class=ecxmoz-txt-link-freetext href="http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar" target=_blank>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar</A>

Visit the BBB and RPi2 web page - <A class=ecxmoz-txt-link-freetext href="http://hamvoip.org" target=_blank>http://hamvoip.org</A></PRE></BLOCKQUOTE><BR>
<TABLE style="BORDER-TOP: #aaabb6 1px solid">
  <TBODY>
  <TR>
    <TD style="WIDTH: 105px; PADDING-TOP: 15px"><A 
      href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
      target=_blank><IMG style="HEIGHT: 33px; WIDTH: 90px" 
      src="https://ipmcdn.avast.com/images/logo-avast-v1.png"></A> </TD>
    <TD 
    style="FONT-SIZE: 13px; FONT-FAMILY: Arial, Helvetica, sans-serif; WIDTH: 470px; COLOR: #41424e; PADDING-TOP: 20px; LINE-HEIGHT: 18px">This 
      email has been sent from a virus-free computer protected by Avast. <BR><A 
      style="COLOR: #4453ea" 
      href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" 
      target=_blank>www.avast.com</A> 
</TD></TR></TBODY></TABLE><BR>_______________________________________________ 
arm-allstar mailing list arm-allstar@hamvoip.org 
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar Visit the BBB and 
RPi2 web page - http://hamvoip.org</DIV></DIV>
<P>
<HR>

<P></P>_______________________________________________<BR><BR>arm-allstar 
mailing 
list<BR>arm-allstar@hamvoip.org<BR>http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar<BR><BR>Visit 
the BBB and RPi2 web page - http://hamvoip.org</BODY></HTML>