# playback command

**URL:** <https://community.allstarlink.org/t/playback-command/8056>\
**Category:** AllStarLink\
**Created:** [November 23, 2009, 10:26am UTC](https://community.allstarlink.org/t/playback-command/8056 "2009-11-23T10:26:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![G4rky](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/g/8797f3/32.png) [@G4rky](https://community.allstarlink.org/u/G4rky)\
**Post date:** [November 23, 2009, 10:26am UTC](https://community.allstarlink.org/t/playback-command/8056/1 "2009-11-23T10:26:04Z")

</div>

Hi all,

I have been going nuts trying to remember the syntax for this and I am hoping someone here can put me straight!

96=playback 2514 ,hello-world

in my rpt.conf file in the functions stanza. 2514 is the node number and hello-world is just an example sound file from the atserisk/sounds directory.

I had this working once upon a time but now I just cant seem to get the syntax right to get it to work.

All I want to do is to call a voice ID file from the scheduler by calling a macro, so I need to define a dtmf code to it so the macro can run the fiunction.

Matt

G4RKY

---

<div class="post-metadata">

**Author:** ![va3uv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/v/e9a140/32.png) [@va3uv](https://community.allstarlink.org/u/va3uv)\
**Post date:** [November 23, 2009, 12:19pm UTC](https://community.allstarlink.org/t/playback-command/8056/2 "2009-11-23T12:19:08Z")

</div>

Matt Beasant wrote:

> Hi all,
> 
> I have been going nuts trying to remember the syntax for this and I am hoping someone here can put me straight!
> 
> 96=playback 2514 ,hello-world

\<-- Hi Matt; try this...

96=playback 2514,rpt/hello-world

Note that 'playback' will play the file globally, so all nodes connected to 2514 will hear the announcement (use with caution!).

In the above example, the 'hello-world' file is located in the following dir:

/var/lib/asterisk/sounds/rpt

HTH - and I look forward to the news about the 220 gear!

Ramesh.

---

<div class="post-metadata">

**Author:** ![Sales1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/s/ed655f/32.png) [@Sales1](https://community.allstarlink.org/u/Sales1)\
**Post date:** [November 23, 2009, 2:51pm UTC](https://community.allstarlink.org/t/playback-command/8056/3 "2009-11-23T14:51:24Z")

</div>

Ramesh Dhami (VA3UV) wrote:

> Matt Beasant wrote:
> 
> > Hi all,
> > 
> > I have been going nuts trying to remember the syntax for this and I am  
> > hoping someone here can put me straight!
> > 
> > 96=playback 2514 ,hello-world
> 
> \<-- Hi Matt; try this...
> 
> 96=playback 2514,rpt/hello-world
> 
> Note that 'playback' will play the file globally, so all nodes connected  
> to 2514 will hear the announcement (use with caution!).
> 
> In the above example, the 'hello-world' file is located in the following  
> dir:
> 
> /var/lib/asterisk/sounds/rpt
> 
> HTH - and I look forward to the news about the 220 gear!
> 
> Ramesh.  
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> App\_rpt-users mailing list  
> App\_rpt-users@qrvc.com  
> [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

This is how it's used:

; Playback messages  
931000=playback,rpt/sitenorm ; site normal message  
931001=playback,rpt/alllinksdisconnected; all links disconnected  
931002=playback,rpt/alllinksrestored ; all links restored

Please not that playback is semi-broken in that it only plays back locally.  
This is logged in mantis.

Steve  
WA6ZFT

---

<div class="post-metadata">

**Author:** ![Matt\_G4rky1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@Matt\_G4rky1](https://community.allstarlink.org/u/Matt_G4rky1)\
**Post date:** [November 23, 2009, 6:38pm UTC](https://community.allstarlink.org/t/playback-command/8056/4 "2009-11-23T18:38:00Z")

</div>

Ah, thank you both for the replies.

I have this working now Stephen, thanks for that.

Now I have another related ( loosely ) question.

I wanted to use this function to play a voice ID at the top of the hour on a repeater.

I have just ( yesterday ) added an additonal node to my system at Dundry and now have two nodes running on 1 machine.

The instructions to achieve this were great and its easy to do, but there was one part I wasnt 100% sure about.

In RPT.CONF, where do I put my configuration for the second node?

Do I put it right at the very end of the existing config, after the scheduler section or do I put it after the node definition, after the statpost commands?

I’ll give it a try at the very end and see what happens…

Thanks,

Matt

> **···**
>
> 2009/11/23 Stephen Rodgers [sales@qrvc.com](mailto:sales@qrvc.com)
> 
> > Ramesh Dhami (VA3UV) wrote:
> > 
> > > Matt Beasant wrote:
> > 
> > > > Hi all,
> > 
> > > >
> > 
> > > > I have been going nuts trying to remember the syntax for this and I am
> > 
> > > > hoping someone here can put me straight!
> > 
> > > >
> > 
> > > > 96=playback 2514 ,hello-world
> > 
> > > >
> > 
> > > ← Hi Matt; try this…
> > 
> > > 
> > 
> > > 96=playback 2514,rpt/hello-world
> > 
> > > 
> > 
> > > 
> > 
> > > Note that ‘playback’ will play the file globally, so all nodes connected
> > 
> > > to 2514 will hear the announcement (use with caution!).
> > 
> > > 
> > 
> > > In the above example, the ‘hello-world’ file is located in the following
> > 
> > > dir:
> > 
> > > 
> > 
> > > /var/lib/asterisk/sounds/rpt
> > 
> > > 
> > 
> > > 
> > 
> > > HTH - and I look forward to the news about the 220 gear!
> > 
> > > 
> > 
> > > Ramesh.
> > 
> > > * * *
> > 
> > > App\_rpt-users mailing list
> > 
> > > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > >
> 
> > This is how it’s used:
> > 
> > ; Playback messages
> > 
> > 931000=playback,rpt/sitenorm ; site normal message
> > 
> > 931001=playback,rpt/alllinksdisconnected; all links disconnected
> > 
> > 931002=playback,rpt/alllinksrestored ; all links restored
> > 
> > Please not that playback is semi-broken in that it only plays back locally.
> > 
> > This is logged in mantis.
> > 
> > Steve
> > 
> > WA6ZFT
> 
> > * * *
> > 
> > App\_rpt-users mailing list
> > 
> > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![Matt\_G4rky1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@Matt\_G4rky1](https://community.allstarlink.org/u/Matt_G4rky1)\
**Post date:** [November 24, 2009, 12:18am UTC](https://community.allstarlink.org/t/playback-command/8056/5 "2009-11-24T00:18:18Z")

</div>

Yep got this all working as intended now.

Thanks guys for all your help.

Kind regards

Matt

> **···**
>
> Sent from my BlackBerry® wireless device
> 
> * * *
> 
> **From:** Matt Beasant [matt.g4rky@googlemail.com](mailto:matt.g4rky@googlemail.com)
> 
> **Date:** Mon, 23 Nov 2009 18:38:00 +0000
> 
> **To:** [sales@qrvc.com](mailto:sales@qrvc.com)
> 
> **Cc:** [Ramesh@va3uv.com](mailto:Ramesh@va3uv.com); app\_rpt[App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> 
> **Subject:** Re: [App\_rpt-users] playback command
> 
> Ah, thank you both for the replies.
> 
> I have this working now Stephen, thanks for that.
> 
> Now I have another related ( loosely ) question.
> 
> I wanted to use this function to play a voice ID at the top of the hour on a repeater.
> 
> I have just ( yesterday ) added an additonal node to my system at Dundry and now have two nodes running on 1 machine.
> 
> The instructions to achieve this were great and its easy to do, but there was one part I wasnt 100% sure about.
> 
> In RPT.CONF, where do I put my configuration for the second node?
> 
> Do I put it right at the very end of the existing config, after the scheduler section or do I put it after the node definition, after the statpost commands?
> 
> I’ll give it a try at the very end and see what happens…
> 
> Thanks,
> 
> Matt
> 
> 2009/11/23 Stephen Rodgers [sales@qrvc.com](mailto:sales@qrvc.com)
> 
> > Ramesh Dhami (VA3UV) wrote:
> > 
> > > Matt Beasant wrote:
> > 
> > > > Hi all,
> > 
> > > >
> > 
> > > > I have been going nuts trying to remember the syntax for this and I am
> > 
> > > > hoping someone here can put me straight!
> > 
> > > >
> > 
> > > > 96=playback 2514 ,hello-world
> > 
> > > >
> > 
> > > ← Hi Matt; try this…
> > 
> > > 
> > 
> > > 96=playback 2514,rpt/hello-world
> > 
> > > 
> > 
> > > 
> > 
> > > Note that ‘playback’ will play the file globally, so all nodes connected
> > 
> > > to 2514 will hear the announcement (use with caution!).
> > 
> > > 
> > 
> > > In the above example, the ‘hello-world’ file is located in the following
> > 
> > > dir:
> > 
> > > 
> > 
> > > /var/lib/asterisk/sounds/rpt
> > 
> > > 
> > 
> > > 
> > 
> > > HTH - and I look forward to the news about the 220 gear!
> > 
> > > 
> > 
> > > Ramesh.
> > 
> > > * * *
> > 
> > > App\_rpt-users mailing list
> > 
> > > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> > 
> > >
> 
> > This is how it’s used:
> > 
> > ; Playback messages
> > 
> > 931000=playback,rpt/sitenorm ; site normal message
> > 
> > 931001=playback,rpt/alllinksdisconnected; all links disconnected
> > 
> > 931002=playback,rpt/alllinksrestored ; all links restored
> > 
> > Please not that playback is semi-broken in that it only plays back locally.
> > 
> > This is logged in mantis.
> > 
> > Steve
> > 
> > WA6ZFT
> 
> > * * *
> > 
> > App\_rpt-users mailing list
> > 
> > [App\_rpt-users@qrvc.com](mailto:App_rpt-users@qrvc.com)
> > 
> > [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)

---

<div class="post-metadata">

**Author:** ![n8lbv](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/n/a5b964/32.png) [@n8lbv](https://community.allstarlink.org/u/n8lbv)\
**Post date:** [November 24, 2009, 9:34pm UTC](https://community.allstarlink.org/t/playback-command/8056/6 "2009-11-24T21:34:38Z")

</div>

Matt wrote:

> Yep got this all working as intended now.
> 
> Thanks guys for all your help.
> 
> Kind regards
> 
> Matt
> 
> Sent from my BlackBerry� wireless device
> 
> ------------------------------------------------------------------------  
> \*From: \* Matt Beasant \<matt.g4rky@googlemail.com\>  
> \*Date: \*Mon, 23 Nov 2009 18:38:00 +0000  
> \*To: \*\<sales@qrvc.com\>  
> \*Cc: \*\<Ramesh@va3uv.com\>; app\_rpt\<App\_rpt-users@qrvc.com\>  
> \*Subject: \*Re: [App\_rpt-users] playback command
> 
> Ah, thank you both for the replies.
> 
> I have this working now Stephen, thanks for that.
> 
> Now I have another related ( loosely ) question.
> 
> I wanted to use this function to play a voice ID at the top of the hour on a repeater.
> 
> I have just ( yesterday ) added an additonal node to my system at Dundry and now have two nodes running on 1 machine.
> 
> The instructions to achieve this were great and its easy to do, but there was one part I wasnt 100% sure about.
> 
> In RPT.CONF, where do I put my configuration for the second node?
> 
> Do I put it right at the very end of the existing config, after the scheduler section or do I put it after the node definition, after the statpost commands?
> 
> I'll give it a try at the very end and see what happens....
> 
> Thanks,
> 
> Matt
> 
> 2009/11/23 Stephen Rodgers \<sales@qrvc.com \<mailto:sales@qrvc.com\>\>
> 
> &nbsp;&nbsp;&nbsp;&nbsp;Ramesh Dhami (VA3UV) wrote:  
> &nbsp;&nbsp;&nbsp;&nbsp;\> Matt Beasant wrote:  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\> Hi all,  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\> I have been going nuts trying to remember the syntax for this  
> &nbsp;&nbsp;&nbsp;&nbsp;and I am  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\> hoping someone here can put me straight!  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\> 96=playback 2514 ,hello-world  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> \<-- Hi Matt; try this...  
> &nbsp;&nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> 96=playback 2514,rpt/hello-world  
> &nbsp;&nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> Note that 'playback' will play the file globally, so all nodes  
> &nbsp;&nbsp;&nbsp;&nbsp;connected  
> &nbsp;&nbsp;&nbsp;&nbsp;\> to 2514 will hear the announcement (use with caution!).  
> &nbsp;&nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> In the above example, the 'hello-world' file is located in the  
> &nbsp;&nbsp;&nbsp;&nbsp;following  
> &nbsp;&nbsp;&nbsp;&nbsp;\> dir:  
> &nbsp;&nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> /var/lib/asterisk/sounds/rpt  
> &nbsp;&nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> HTH - and I look forward to the news about the 220 gear!  
> &nbsp;&nbsp;&nbsp;&nbsp;\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> Ramesh.  
> &nbsp;&nbsp;&nbsp;&nbsp;\>\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> &nbsp;&nbsp;&nbsp;&nbsp;\> App\_rpt-users mailing list  
> &nbsp;&nbsp;&nbsp;&nbsp;\> App\_rpt-users@qrvc.com \<mailto:App\_rpt-users@qrvc.com\>  
> &nbsp;&nbsp;&nbsp;&nbsp;\> [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)  
> &nbsp;&nbsp;&nbsp;&nbsp;\>
> 
> &nbsp;&nbsp;&nbsp;&nbsp;This is how it's used:
> 
> &nbsp;&nbsp;&nbsp;&nbsp;; Playback messages  
> &nbsp;&nbsp;&nbsp;&nbsp;931000=playback,rpt/sitenorm ; site normal message  
> &nbsp;&nbsp;&nbsp;&nbsp;931001=playback,rpt/alllinksdisconnected; all links disconnected  
> &nbsp;&nbsp;&nbsp;&nbsp;931002=playback,rpt/alllinksrestored ; all links restored
> 
> &nbsp;&nbsp;&nbsp;&nbsp;Please not that playback is semi-broken in that it only plays back  
> &nbsp;&nbsp;&nbsp;&nbsp;locally.  
> &nbsp;&nbsp;&nbsp;&nbsp;This is logged in mantis.
> 
> &nbsp;&nbsp;&nbsp;&nbsp;Steve  
> &nbsp;&nbsp;&nbsp;&nbsp;WA6ZFT
> 
> &nbsp;&nbsp;&nbsp;&nbsp;\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> &nbsp;&nbsp;&nbsp;&nbsp;App\_rpt-users mailing list  
> &nbsp;&nbsp;&nbsp;&nbsp;App\_rpt-users@qrvc.com \<mailto:App\_rpt-users@qrvc.com\>  
> &nbsp;&nbsp;&nbsp;&nbsp;[http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)
> 
> --  
> This message has been scanned for viruses and  
> dangerous content by \*MailScanner\* \<[http://www.mailscanner.info/&gt;](http://www.mailscanner.info/&gt;), and is  
> believed to be clean.  
> ------------------------------------------------------------------------
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> App\_rpt-users mailing list  
> App\_rpt-users@qrvc.com  
> [http://qrvc.com/mailman/listinfo/app\_rpt-users](http://qrvc.com/mailman/listinfo/app_rpt-users)  
> &nbsp;&nbsp;

If you've not done this already be sure to try:

rpt playback \<node#\> tt-weasels

Trust me.. it's worthwhile.

If that's not your fancy there's always tt-monkeys

🙂

Steve

> **···**
>
> --  
> This message has been scanned for viruses and  
> dangerous content by MailScanner, and is  
> believed to be clean.

---

<div class="post-metadata">

**Author:** ![Matt\_G4rky1](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/m/5f8ce5/32.png) [@Matt\_G4rky1](https://community.allstarlink.org/u/Matt_G4rky1)\
**Post date:** [November 24, 2009, 10:04pm UTC](https://community.allstarlink.org/t/playback-command/8056/7 "2009-11-24T22:04:02Z")

</div>

> >

> If you’ve not done this already be sure to try:
> 
> rpt playback \<node#\> tt-weasels
> 
> Trust me… it’s worthwhile.
> 
> If that’s not your fancy there’s always tt-monkeys
> 
> 🙂
> 
> Steve

heh heh nice one Steve, yes all sorts of fun can be had now!

Just to tie the ribbons on my related question, I now have my 2 nodes working great using two separate stanzas in rpt.conf.

I wasnt sure of this would work but its working out well - I have two complete sets of node configs, I left the original one as it was and pasted a whole new one underneath it and renamed all the stanzas with a suffix of the repeater’s callsign so I know what I am doing when I edit it.

The more I find out about app\_rpt the more\*\*I love it!

Matt
