Am I missing something or is the Allstar Stats server been offline lately. Cannot reach it to obtain node statuses and bubble maps.
73s
Chuck
KM4NRJ
···
On Apr 26, 2016 12:00 PM, app_rpt-users-request@ohnosec.org wrote:
Send App_rpt-users mailing list submissions to
app_rpt-users@ohnosec.org
To subscribe or unsubscribe via the World Wide Web, visit
[http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users](http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users)
or, via email, send a message with subject or body ‘help’ to
app_rpt-users-request@ohnosec.org
You can reach the person managing the list at
app_rpt-users-owner@ohnosec.org
When replying, please edit your Subject line so it is more specific
than “Re: Contents of App_rpt-users digest…”
Today’s Topics:
Re: Play two audio files back to back (David McGough)
Re: Play two audio files back to back (Steve Mahler)
Message: 1
Date: Tue, 26 Apr 2016 07:51:32 -0400 (EDT)
From: David McGough kb4fxc@inttek.net
To: “app_rpt-users@ohnosec.org” app_rpt-users@ohnosec.org
Subject: Re: [App_rpt-users] Play two audio files back to back
Message-ID:
<Pine.LNX.4.44.1604260747210.7079-100000@goliath.inttek.net>
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
I think the playback command only takes a single audio filename.
Try this approach:
cat /var/lib/asterisk/sounds/tide.gsm > /tmp/temp.gsm
cat /var/lib/asterisk/sounds/times.gsm >> /tmp/temp.gsm
cat /var/lib/asterisk/sounds/will-expire.gsm >> /tmp/temp.gsm
cat /var/lib/asterisk/sounds/at-any-time.gsm >> /tmp/temp.gsm
asterisk -rx “rpt playback $node /tmp/temp”
rm -f /tmp/temp.gsm
Note that once these audio segments are cat’ed together, a final call to
sox can be used to change levels, formats, etc., if needed.
73, David KB4FXC
On Tue, 26 Apr 2016, kk6ecm wrote:
Hmmm … appears to be a mix of two syntaxes, and you may not achieve your goal…
Xxxxxxx*CLI> help rpt playback
Usage: rpt playback <sound_file_base_name>
Send an Audio File to a node, send to all other connected nodes (global)
(seems there used to be a <delay> as a third variable)
and
playback, file&file1 on the current node, where the concatenated files are joined with the &, no spaces.
I’m wondering… set delay to 0… not sure if there is a default, or even if it is still a feature.
e.g.
asterisk -rx “rpt playback $node channel 0”
asterisk -rx “rpt playback $node digits/$chan 0”
Thanks,
Bob
kk6ecm
73
Sent from iPad
On Apr 25, 2016, at 9:26 PM, Skyler F electricity440@gmail.com wrote:
Small Problem:
rpt playback 42622 channel&channel
ast_streamfile: Unable to open channel&channel
73
Skyler
On Mon, Apr 25, 2016 at 10:23 PM, kk6ecm kk6ecm@gmail.com wrote:
Leading and trailing spaces with the & are not tolerated.
e.g filename&filename2 OK
filename & filename2 Not OK
Thanks,
Bob
kk6ecm
73
Sent from iPad
On Apr 25, 2016, at 8:13 PM, Skyler F electricity440@gmail.com wrote:
I am currently writing scripts for my remote base, and am working on the channel switch acknowledgment.
Here is what I am currently doing:
asterisk -rx “rpt playback $node channel”
asterisk -rx “rpt playback $node digits/$chan”
This works well for my 16 channel radio, but I am annoyed by the amount of space between the audio files.
I tried stuff like
asterisk -rx “rpt playback $node channel & digits/$chan”
but I just get a syntax error.
Does anybody know the solution to get the audio files to play back to back like they do when AllStar announces node connections etc?
73
Skyler KD??WHB\
App_rpt-users mailing list
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
–
Skyler Fennell
KD??WHB
Message: 2
Date: Tue, 26 Apr 2016 07:08:11 -0500
From: Steve Mahler kizzy@lusfiber.net
Subject: Re: [App_rpt-users] Play two audio files back to back
Message-ID: 571F5A2B.4050307@lusfiber.net
Content-Type: text/plain; charset=windows-1252; format=flowed
Or, if you are using WAV files … catwav them (which uses sox) and play
the result …
/bin/rm -f $WXT/$TEMPMSG #Make filename available for output
/usr/local/bin/catwav $WXT/$TAILMSG $WXA/${P1}${P2}${P3} $WXT/$TEMPMSG
/bin/rm -f $WXT/$TAILMSG #Make filename available for output
/usr/local/bin/catwav $WXT/$TEMPMSG $WXA/spc.wav $WXT/$TAILMSG
You would do the asterisk -rx " rpt localplay NODE cattedfile" here (I
use it to build tailmessages with multiple announcements).
…STeve - KF5VH
On 4/26/2016 6:51 AM, David McGough wrote:
I think the playback command only takes a single audio filename.
Try this approach:
cat /var/lib/asterisk/sounds/tide.gsm > /tmp/temp.gsm
cat /var/lib/asterisk/sounds/times.gsm >> /tmp/temp.gsm
cat /var/lib/asterisk/sounds/will-expire.gsm >> /tmp/temp.gsm
cat /var/lib/asterisk/sounds/at-any-time.gsm >> /tmp/temp.gsm
asterisk -rx “rpt playback $node /tmp/temp”
rm -f /tmp/temp.gsm
Note that once these audio segments are cat’ed together, a final call to
sox can be used to change levels, formats, etc., if needed.
73, David KB4FXC
On Tue, 26 Apr 2016, kk6ecm wrote:
Hmmm … appears to be a mix of two syntaxes, and you may not achieve your goal…
Xxxxxxx*CLI> help rpt playback
Usage: rpt playback <sound_file_base_name>
Send an Audio File to a node, send to all other connected nodes (global)
(seems there used to be a <delay> as a third variable)
and
playback, file&file1 on the current node, where the concatenated files are joined with the &, no spaces.
I’m wondering… set delay to 0… not sure if there is a default, or even if it is still a feature.
e.g.
asterisk -rx “rpt playback $node channel 0”
asterisk -rx “rpt playback $node digits/$chan 0”
Thanks,
Bob
kk6ecm
73
Sent from iPad
On Apr 25, 2016, at 9:26 PM, Skyler F electricity440@gmail.com wrote:
Small Problem:
rpt playback 42622 channel&channel
ast_streamfile: Unable to open channel&channel
73
Skyler
On Mon, Apr 25, 2016 at 10:23 PM, kk6ecm kk6ecm@gmail.com wrote:
Leading and trailing spaces with the & are not tolerated.
e.g filename&filename2 OK
filename & filename2 Not OK
Thanks,
Bob
kk6ecm
73
Sent from iPad
On Apr 25, 2016, at 8:13 PM, Skyler F electricity440@gmail.com wrote:
I am currently writing scripts for my remote base, and am working on the channel switch acknowledgment.
Here is what I am currently doing:
asterisk -rx “rpt playback $node channel”
asterisk -rx “rpt playback $node digits/$chan”
This works well for my 16 channel radio, but I am annoyed by the amount of space between the audio files.
I tried stuff like
asterisk -rx “rpt playback $node channel & digits/$chan”
but I just get a syntax error.
Does anybody know the solution to get the audio files to play back to back like they do when AllStar announces node connections etc?
73
Skyler KD??WHB\
App_rpt-users mailing list
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
–
Skyler Fennell
KD??WHB
App_rpt-users mailing list
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the “Unsubscribe or edit options button”
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
App_rpt-users mailing list
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
End of App_rpt-users Digest, Vol 86, Issue 62