# Command "rpt playback" doesn't send to all connected nodes

**URL:** <https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631>\
**Category:** AllStarLink\
**Created:** [May 24, 2021, 12:32am UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631 "2021-05-24T00:32:41Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 24, 2021, 12:32am UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/1 "2021-05-24T00:32:41Z")

</div>

I believe I’m using the correct command line (from the shell of course)

/usr/sbin/asterisk -rx “rpt playback 1100 /etc/asterisk/audio/newsfiles/newstonight”

1100 is the node # that is running on the same Pi as the above line. I hear it just fine on the local node 1100 but not on the two other connected nodes (also private)

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [May 24, 2021, 3:57am UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/2 "2021-05-24T03:57:47Z")

</div>

Works fine for me.

`asterisk -rx "rpt playback 2530 /etc/asterisk/sounds/wd6awprepeater"`

and heard it on 2521

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 24, 2021, 3:59am UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/3 "2021-05-24T03:59:02Z")

</div>

I’m running the latest beta if that makes a difference?

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [May 24, 2021, 4:00am UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/4 "2021-05-24T04:00:02Z")

</div>

I am also running the latest beta.

Edit: 2530 and 2521 are on the same server but I would not expect that to make a difference.

---

<div class="post-metadata">

**Author:** ![Wa1jhk1](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa1jhk1/32/1624_2.png) [@Wa1jhk1](https://community.allstarlink.org/u/Wa1jhk1)\
**Post date:** [May 24, 2021, 2:42pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/5 "2021-05-24T14:42:28Z")

</div>

Hi Ken,

I have the same issue.

I’ve been meaning to reply to some of your posts. I also use private node numbering and have the links configured as:

duplex=0  
linktolink=yes

This link configuration “breaks” the playback command.

As background: many years ago our system used RF analog FM links to link our repeater sites. We engineered and installed ASL private nodes that connect across ham band microwave Ethernet links. This works great but, ASL is not an exact equivalent. There are two issues I’ve run into that I think you’ve already seen:

– the playback command doesn’t properly play a file to all connected nodes.  
– DTMF tones are not transparently passed down the links as would happen on an RF analog FM link.

And there’s another one:

– when playback is occurring on multiple nodes at the same time and somebody keys up on one of the nodes, the playback audio on the remote node comes down the link. I think this is a clue to the cause of the playback command issue. The solution may be to use localplay instead, but I haven’t tried it.

BTW, our workaround for the playback command issue is to have an ASL macro execute a script that executes the playback on all nodes at the same time using ssh remote command execution. This works great.

These issues are on my list to fix.

73,

Dave  
WA1JHK

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 24, 2021, 3:10pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/6 "2021-05-24T15:10:38Z")

</div>

Thanks Dave. Yes, that is the link config I’m using, as well as a “permanent” links (which also don’t seem to work properly either). As for localplay, it doesn’t work at all on my setup.

My nodes are all connected via AREDN Mesh and aside from the latency issues, ASL seems to work well…for the most part 😮

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [May 24, 2021, 4:58pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/7 "2021-05-24T16:58:06Z")

</div>

> [@Wa1jhk1](#):
>
> I’ve been meaning to reply to some of your posts. I also use private node numbering and have the links configured as:
> 
> duplex=0

Not so long ago someone posted “no telemetry means no telemetry”. Duplex=0 is not supposed to pass telemetry. It’s debatable if that’s always desired but it is as intended.

Anyone care to code `rfemulation=yes`?

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 24, 2021, 5:26pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/8 "2021-05-24T17:26:42Z")

</div>

Manually playing a sound file is considered telemetry? Really?

---

<div class="post-metadata">

**Author:** ![Wa1jhk1](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa1jhk1/32/1624_2.png) [@Wa1jhk1](https://community.allstarlink.org/u/Wa1jhk1)\
**Post date:** [May 24, 2021, 7:19pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/9 "2021-05-24T19:19:50Z")

</div>

Hi Ken,

> which also don’t seem to work properly either

We should discuss this in a separate thread. Mine works fine.

73,

Dave  
WA1JHK

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 24, 2021, 7:26pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/10 "2021-05-24T19:26:35Z")

</div>

Please start one and I’ll happily jump in! 😀

---

<div class="post-metadata">

**Author:** ![Wa1jhk1](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa1jhk1/32/1624_2.png) [@Wa1jhk1](https://community.allstarlink.org/u/Wa1jhk1)\
**Post date:** [May 24, 2021, 7:26pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/11 "2021-05-24T19:26:43Z")

</div>

Hi Tim,

> Not so long ago someone posted “no telemetry means no telemetry”. Duplex=0 is not supposed to pass telemetry. It’s debatable if that’s always desired but it is as intended.

I remember seeing that, and that is what’s happening. All generated audio is in the “telemetry” type. Additional discussion required.

> Anyone care to code `rfemulation=yes` ?

That’s an interesting way to do it. I’ll consider that.

[Ken wrote:]

> Manually playing a sound file is considered telemetry? Really?

A sound file can be used as telemetry. It can also be used for general distribution. We use it for Newsline on our Sunday net.

73,

Dave  
WA1JHK

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 24, 2021, 7:28pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/12 "2021-05-24T19:28:58Z")

</div>

That’s exactly what I want to do - I’ve used used cron and scripts on my IRLP node for years to automate the download and playing of Newsline, 2 nights a week on my system. I want to get rid of IRLP and use my ASL Pi to do all that in place of it, hence the desire for playback to work correctly and distribute to all the connected nodes

---

<div class="post-metadata">

**Author:** ![Wa1jhk1](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wa1jhk1/32/1624_2.png) [@Wa1jhk1](https://community.allstarlink.org/u/Wa1jhk1)\
**Post date:** [May 25, 2021, 12:57pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/13 "2021-05-25T12:57:04Z")

</div>

Mornin’ Ken,

The script we use is appended below. Be sure to adjust the node number list and file paths.

73,

Dave  
WA1JHK

* * *

```auto
#!/bin/bash

#This script connects out to each node in the list, and plays the newsline file.
#We don't care which node it runs on, it will ssh in any case, even the local. That's fine, that way
#this same script can be run from anywhere with no local changes.

#List of nodes to kick this off from
node_list="1301 1308 1310 1315 1317"

for nodeNUM in $node_list
do
        #Get the IP for this node so we can SSH to it.
        #Use asterisk's config file, if this isn't right nothing will be...
        nodeIP=`cat /etc/asterisk/rpt.conf |grep "^${nodeNUM}" |cut -d'@' -f2 |cut -d':' -f1 |cut -d'/' -f1`

        if [! "$nodeIP"]
        then
                echo "Can't find IP for node $nodeNUM"
                continue
        fi

        #Put the command in a variable -- this is required so we get the quoting right through ssh
        astCommand="asterisk -R -x \"rpt playback $nodeNUM /tmp/news\""
        # test audio astCommand="asterisk -R -x \"rpt playback $nodeNUM carried-away-by-monkeys\""
        # test command # astCommand="asterisk -R -x \"rpt nodes $nodeNUM\""

        #OK, go ahead and run the command on the remote node
        #uses SSH port 222 (standard on ACID and DIAL), skips all host key checking
        ssh -q -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null" $nodeIP "$astCommand"
done

```

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 25, 2021, 9:46pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/14 "2021-05-25T21:46:16Z")

</div>

Thanks Dave. That’s what I was looking for

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [May 26, 2021, 6:19pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/15 "2021-05-26T18:19:09Z")

</div>

I would have to wonder if your private nodes have these settings in their stanza

telemdynamic=1 ;allow changing of specific telemetry items via cop command  
telemdefault=1 ; 0= t off - 1=t on - 2=on after command and shortly afterwards

While I no longer use this, it did work for connected nodes…

8902=Playback,/etc/asterisk/msg/wxfc ; play wx fcst ALL/BROADCASTWRN

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 26, 2021, 10:43pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/16 "2021-05-26T22:43:34Z")

</div>

> [@Mike](#):
>
> telemdynamic

Telemdynamic is set to 1 and telemdefalt is set to 0.

So as a test, I set telemdefault to 1 and restarted. Yep, telemetry was working.

So I issued /usr/sbin/asterisk -rx “rpt playback 1100 /etc/asterisk/audio/newsfiles/newsline\_5” but it still only played out the local 1100 node.

'tis OK, the ssh option works fine for my purposes

---

<div class="post-metadata">

**Author:** ![Mike](https://community.allstarlink.org/user_avatar/community.allstarlink.org/mike/32/1569_2.png) [@Mike](https://community.allstarlink.org/u/Mike)\
**Post date:** [May 26, 2021, 10:47pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/17 "2021-05-26T22:47:31Z")

</div>

Well, in my old example I used in the old ACID version, I assigned a command to it inside of asterisk with app\_rpt  
It always worked.  
So I was guessing using the command line, one would have to specify the nodes to play on.  
Because from a command line that would not be clear.  
Inside of app\_rpt, it would be.  
Just guessing.

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [May 26, 2021, 11:15pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/18 "2021-05-26T23:15:25Z")

</div>

Did a simple test on my node 25330 which has no radio connection.

duplex = 0 didn’t play sound on other nodes  
duplex = 2 did

Try duplex 2 on your hub and see if it works.

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 26, 2021, 11:19pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/19 "2021-05-26T23:19:23Z")

</div>

Doesn’t duplex 2 give me telemetry and hang time? I want neither

---

<div class="post-metadata">

**Author:** ![KenHorse](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/k/fbc32d/32.png) [@KenHorse](https://community.allstarlink.org/u/KenHorse)\
**Post date:** [May 26, 2021, 11:21pm UTC](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631/20 "2021-05-26T23:21:23Z")

</div>

I installed ssh keys on all my remote nodes so I can ssh to them without a password. As such, I issue the following commands from a bash script to play audio files that reside on each node and it works as I need

/usr/sbin/asterisk -rx “rpt playback 1100 $NEWSFILE”  
ssh [root@10.48.13.20](mailto:root@10.48.13.20) “/usr/sbin/asterisk -rx ‘rpt playback 1101 $NEWSFILE’”  
ssh [root@10.150.180.37](mailto:root@10.150.180.37) “/usr/sbin/asterisk -rx ‘rpt playback 1102 $NEWSFILE’”

[Next page](https://community.allstarlink.org/t/command-rpt-playback-doesnt-send-to-all-connected-nodes/18631.md?page=2)
