[App_rpt-users] Allstar Stats Server

KM4NRJ FLORIDA km4nrj at gmail.com
Wed Apr 27 04:17:38 UTC 2016


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 at ohnosec.org> wrote:

Send App_rpt-users mailing list submissions to
        app_rpt-users at ohnosec.org

To subscribe or unsubscribe via the World Wide Web, visit
        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 at ohnosec.org

You can reach the person managing the list at
        app_rpt-users-owner at 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:

   1. Re: Play two audio files back to back (David McGough)
   2. 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 at inttek.net>
To: "app_rpt-users at ohnosec.org" <app_rpt-users at ohnosec.org>
Subject: Re: [App_rpt-users] Play two audio files back to back
Message-ID:
        <Pine.LNX.4.44.1604260747210.7079-100000 at 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 <nodename> <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 at 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 at 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 at 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
> >> > App_rpt-users at ohnosec.org
> >> > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> >> >
> >> > 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
> > amsatnet.info
> > KD??WHB
> > electricity440 at gmail.com
>



------------------------------

Message: 2
Date: Tue, 26 Apr 2016 07:08:11 -0500
From: Steve Mahler <kizzy at lusfiber.net>
To: app_rpt-users at ohnosec.org
Subject: Re: [App_rpt-users] Play two audio files back to back
Message-ID: <571F5A2B.4050307 at 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 <nodename> <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 at 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 at 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 at 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
>>>>> App_rpt-users at ohnosec.org
>>>>> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>>>>>
>>>>> 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
>>> amsatnet.info
>>> KD??WHB
>>> electricity440 at gmail.com
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> 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
App_rpt-users at ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users


End of App_rpt-users Digest, Vol 86, Issue 62
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20160427/f944e23e/attachment.html>


More information about the App_rpt-users mailing list