[arm-allstar] localplay

Doug Crompton doug at crompton.com
Mon Jul 28 22:11:11 EST 2014


Ramon,

 Good to hear you got it fixed. I figured it was something like that. The stock saytime.pl uses localplay not playback. If yours is different then someone must have changed it.

snipet of saytime.pl...

# Say the time on the local node
#
@proglist = ("/usr/sbin/asterisk -rx \"rpt localplay " . $mynode . " " . $outdir . "/current-time\"");
system(@proglist);



73 Doug
WA3DSP
http://www.crompton.com/hamradio


Date: Mon, 28 Jul 2014 22:33:52 -0400
From: kp4tr.ramon at gmail.com
To: arm-allstar at hamvoip.org
Subject: Re: [arm-allstar] localplay


  
    
  
  
    Doug,

      

      Since the "saytime.pl" does work from the cron entry, I thought
      there was my solution to see why my localplay doesnt work. But
      when I looked at your perl script, it uses playback! The localplay
      commands are commented out.

      

      But I found the issue. duplex=1 has to be set. It was the duplex
      setting in rpt.conf was set to 0 because my older existing node
      had it set like that and I assumed it needed to be the same to
      work as a simplex half duplex node.

      

      So if duplex=0,  localplay does not work! Has to be a 1.

      

      Thanks for your time! BTW I just installed another BBB on a
      friend's node who just removed his old noisy PC. Works like a
      charm!

      

      73!

      

       

      On 7/28/2014 11:24 AM, Doug Crompton wrote:

    
    
      
      Ramon,

          

          I did some checking on my BBB here in Cape May and localplay
          seems to be working OK.

          

          node40961*CLI> rpt localplay 40961
            /etc/asterisk/local/node-id

          

          Plays my node ID and

          

          node40961*CLI> rpt localplay 40961 /tmp/current-time

          

          Plays the time file. You need to run saytime.pl to create the
          current-time file. Notice I am playing it to the same node as
          the server. The radio node. 

          

          Also 

          

          /etc/asterisk/local/saytime.pl  
        

        Plays the time. TX key/unkey is
          handled by localplay.

        

        Playback definitely plays
          the sound files to all connected nodes so it should be avoided
          unless that is your intent.

        

        I don't know of any settings that
          would stop this from working unless you possibly have all of
          your telemetry turned off - rpt=0 in rpt.conf ???

        

        73 Doug

          WA3DSP

          http://www.crompton.com/hamradio

          

         
      

      
      

      _______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
    
    

  


_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/ 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20140728/c45c0521/attachment-0001.html>


More information about the arm-allstar mailing list