[App_rpt-users] Play two audio files back to back

kk6ecm kk6ecm at gmail.com
Tue Apr 26 11:20:16 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20160426/920cf21f/attachment.html>


More information about the App_rpt-users mailing list