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
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.
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
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
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>
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
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 http://qrvc.com/mailman/listinfo/app_rpt-users
Yep got this all working as intended now. Thanks guys for all your help. Kind regards Matt Sent from my BlackBerry® wireless device -----Original Message----- From: Matt Beasant <matt.g4rky@googlemail.com> Date: Mon, 23 Nov 2009 18:38:00 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>
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
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 http://qrvc.com/mailman/listinfo/app_rpt-users
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>>
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 >
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
-- This message has been scanned for viruses and dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is believed to be clean. ------------------------------------------------------------------------
_______________________________________________ App_rpt-users mailing list App_rpt-users@qrvc.com http://qrvc.com/mailman/listinfo/app_rpt-users
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.
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
participants (6)
-
Matt -
Matt Beasant -
Matt Beasant -
Ramesh Dhami (VA3UV) -
Stephen Rodgers -
Steve Gladden