That apparently isn't a feature anymore

root@pistar:~# asterisk -rx "rpt playback $node channel 0"

Usage: rpt playback <nodename> <sound_file_base_name>

       Send an Audio File to a node, send to all other connected nodes (global)



On Tue, Apr 26, 2016 at 5:20 AM, kk6ecm <kk6ecm@gmail.com> 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@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
> App_rpt-users@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@gmail.com