[arm-allstar] Playnews-0.11

Lloyd Duck lduck at me.com
Mon Apr 30 23:49:42 EST 2018


Doug,

Your instruction on commenting out the part in the script "read -n 1", worked great.

I tested it on my other Allstar node "46663" and starting it from dtmf works great. That node decodes dtmf just fine. 

Still working on dtmf's going through the RC210 controller. I'll post when I get it working. 

Lloyd 
W5LND

On Apr 30, 2018, at 11:01 PM, ""Doug Crompton via arm-allstar"" <arm-allstar at hamvoip.org> wrote:

LLoyd,

Just one other comment. You probably know this but when you take out the
read line the script will go through and run BUT it will take up to a
minute to download and process the files so it won't immediately play when
you issue the DTMF command.


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*


On Mon, Apr 30, 2018 at 10:25 PM, "Lloyd Duck via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

Doug,

Thank you, I guess I'm not passing good dtmf codes from the repeater
through an RC210 controller into the node. I ran Asterisk CLI client to see
the dtmf codes and I only see this. Thinking I have something set wrong.

-- Received OK from Echolink server server3.echolink.org
-- Hungup 'DAHDI/pseudo-937225823'
-- Hungup 'DAHDI/pseudo-2082242416'
w5aw*CLI>

I'm able to do *976 and click on dtmf from Supermon and it works, but not
dtmf from a radio.

On Apr 29, 2018, at 10:10 PM, ""Doug Crompton via arm-allstar"" <
arm-allstar at hamvoip.org> wrote:

Lloyd,

You can't start the script with the NOW command as it requires a key press
to start. You could go in and eliminate the key press start in the script
for the NOW option. Commenting the "read -n 1" line by placing a # before
it should solve your problem.

echo "$NEWSTYPE news will start $TIME and use $MODE $MODETYPE mode on node
- $NODE"
echo -n "Press any key to start news..."
read -n 1


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*




On Sun, Apr 29, 2018 at 10:26 PM, "Lloyd Duck via arm-allstar" <
arm-allstar at hamvoip.org> wrote:


Doug or anyone,

I'm having trouble playing Amateur Radio Newsline by using dtmf, it never
starts playing.

976=cmd,/etc/asterisk/local/playnews-0.11 ARN now 42449 G &> /dev/null
2>&1 ;Newsline *976

I've been able to run it using crontab and from the command line with
./playnews_0.11 ARN now 42449.

With the command line has a part where the script stop till you "press any
key to start news".

else

echo "$NEWSTYPE news will start $TIME and use $MODE $MODETYPE mode on node
- $NODE"
echo -n "Press any key to start news..."
read -n 1
fi

Do I need to make a change to the script so I can use dtmf to start it?

Lloyd
W5LND
_______________________________________________

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

Visit the BBB and RPi2/3 web page - http://hamvoip.org
_______________________________________________

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

Visit the BBB and RPi2/3 web page - http://hamvoip.org
_______________________________________________

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

Visit the BBB and RPi2/3 web page - http://hamvoip.org
_______________________________________________

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

Visit the BBB and RPi2/3 web page - http://hamvoip.org


More information about the arm-allstar mailing list