is there a way to switch the function stanza with a dtmf command? Here's my issue. I have some prerecorded audio clips that can be called via dtmf commands. They're goofy things like canned laughs and applause clips. I use the "playback" versus the "localplay" so the files will play on my 4 nodes that are permanently connected. The issue is that we link the system to a state wide ARES net on Sundays, i obviously don't want those going out over the net. Is there a way that I can call a different function stanza before the net which doesn't contain the commands to call those audio clips? thanks and 73 de K0JSC
One approach might be to write a script that swaps the entire active rpt file between two alternatives then calls the asterisk reload instruction. 73 Ken From: app_rpt-users-bounces@ohnosec.org [mailto:app_rpt-users-bounces@ohnosec.org] On Behalf Of Jeff Carrier Sent: Saturday, November 17, 2012 9:52 PM To: app_rpt mailing list Subject: [App_rpt-users] change function stanza is there a way to switch the function stanza with a dtmf command? Here's my issue. I have some prerecorded audio clips that can be called via dtmf commands. They're goofy things like canned laughs and applause clips. I use the "playback" versus the "localplay" so the files will play on my 4 nodes that are permanently connected. The issue is that we link the system to a state wide ARES net on Sundays, i obviously don't want those going out over the net. Is there a way that I can call a different function stanza before the net which doesn't contain the commands to call those audio clips? thanks and 73 de K0JSC
I have often wondered about this too. One of my repeaters are used for a road rally in June. It would be really nice to give a command to disable announcements and to change the courtesy tones. The site I have this at still doesn't have Internet but I have had this node in place for over a year now so I can't sash into to change things at this time Corey N3FE On Nov 17, 2012, at 9:51 PM, "Jeff Carrier" <k0jsc.jeff@gmail.com<mailto:k0jsc.jeff@gmail.com>> wrote: is there a way to switch the function stanza with a dtmf command? Here's my issue. I have some prerecorded audio clips that can be called via dtmf commands. They're goofy things like canned laughs and applause clips. I use the "playback" versus the "localplay" so the files will play on my 4 nodes that are permanently connected. The issue is that we link the system to a state wide ARES net on Sundays, i obviously don't want those going out over the net. Is there a way that I can call a different function stanza before the net which doesn't contain the commands to call those audio clips? thanks and 73 de K0JSC -- This message was scanned and is believed to be clean. Click here to report this message as spam.<http://simba.repeater.net:8080/cgi-bin/learn-msg.cgi?id=1C2FA221F.A8917> _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org<mailto:App_rpt-users@ohnosec.org> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
How about calling an external script that just writes over the sound files? I keep a ulaw file which contains 250ms of silence on each repeater for that purpose. For example, my weather script creates ulaw files that are used as squelch tail files. If there aren't any weather events, the script copies the silence files to the tail files. When there's an event, it uses Cepstral to create the tail file. That way the tail files still play but no one notices it. You could have your external script copy the effects files somewhere. Copy the silence file into each of their places. Then when you return from the net, copy the originals back into place. Like this : On start : cp foo.ul ./Archive/foo.ul cp bar.ul ./Archive/bar.ul cp silence.ul foo.ul cp silence.ul bar.ul On return cp ./Archive/foo.ul foo.ul cp ./Archive/bar.ul bar.ul You get the idea. -- Robert A. Poff Loganville, PA S/V Loon 1983 Hunter 34 Havre de Grace, MD. WB3AWJ - Allstar 27784 Powered by Linux On Sat, 2012-11-17 at 19:51 -0700, Jeff Carrier wrote:
is there a way to switch the function stanza with a dtmf command? Here's my issue. I have some prerecorded audio clips that can be called via dtmf commands. They're goofy things like canned laughs and applause clips. I use the "playback" versus the "localplay" so the files will play on my 4 nodes that are permanently connected.
Yes, but what about baz.ul and waldo.ul ?? :-) Jim From: wb3awj@comcast.net To: app_rpt-users@ohnosec.org Date: Sun, 18 Nov 2012 10:26:11 -0500 Subject: Re: [App_rpt-users] change function stanza How about calling an external script that just writes over the sound files? I keep a ulaw file which contains 250ms of silence on each repeater for that purpose. For example, my weather script creates ulaw files that are used as squelch tail files. If there aren't any weather events, the script copies the silence files to the tail files. When there's an event, it uses Cepstral to create the tail file. That way the tail files still play but no one notices it. You could have your external script copy the effects files somewhere. Copy the silence file into each of their places. Then when you return from the net, copy the originals back into place. Like this : On start : cp foo.ul ./Archive/foo.ul cp bar.ul ./Archive/bar.ul cp silence.ul foo.ul cp silence.ul bar.ul On return cp ./Archive/foo.ul foo.ul cp ./Archive/bar.ul bar.ul You get the idea. -- Robert A. Poff Loganville, PA S/V Loon 1983 Hunter 34 Havre de Grace, MD. WB3AWJ - Allstar 27784 Powered by Linux On Sat, 2012-11-17 at 19:51 -0700, Jeff Carrier wrote: is there a way to switch the function stanza with a dtmf command? Here's my issue. I have some prerecorded audio clips that can be called via dtmf commands. They're goofy things like canned laughs and applause clips. I use the "playback" versus the "localplay" so the files will play on my 4 nodes that are permanently connected. _______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
Thank you all for your suggestions! I mostly used a combination of all your input to come up with a solution along with some script examples from Kyle K0KN. Thank you! 73 de K0JSC On Sun, Nov 18, 2012 at 8:26 AM, Robert Poff <wb3awj@comcast.net> wrote:
** How about calling an external script that just writes over the sound files?
I keep a ulaw file which contains 250ms of silence on each repeater for that purpose. For example, my weather script creates ulaw files that are used as squelch tail files. If there aren't any weather events, the script copies the silence files to the tail files. When there's an event, it uses Cepstral to create the tail file. That way the tail files still play but no one notices it.
You could have your external script copy the effects files somewhere. Copy the silence file into each of their places. Then when you return from the net, copy the originals back into place. Like this : On start : cp foo.ul ./Archive/foo.ul cp bar.ul ./Archive/bar.ul cp silence.ul foo.ul cp silence.ul bar.ul
On return cp ./Archive/foo.ul foo.ul cp ./Archive/bar.ul bar.ul
You get the idea.
-- *Robert A. Poff* *Loganville, PA*
*S/V Loon <http://wb3awj.hobby-site.org/loon.htm>* *1983 Hunter 34* *Havre de Grace, MD.*
WB3AWJ* - Allstar 27784* *Powered by Linux*
On Sat, 2012-11-17 at 19:51 -0700, Jeff Carrier wrote:
is there a way to switch the function stanza with a dtmf command? Here's my issue. I have some prerecorded audio clips that can be called via dtmf commands. They're goofy things like canned laughs and applause clips. I use the "playback" versus the "localplay" so the files will play on my 4 nodes that are permanently connected.
_______________________________________________ App_rpt-users mailing list App_rpt-users@ohnosec.org http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
participants (5)
-
Corey Dean -
Jeff Carrier -
Jim Duuuude -
Ken -
Robert Poff