[arm-allstar] Script Question
KY220GROUP@GMAIL.COM
ky220group at gmail.com
Wed Feb 19 18:35:16 EST 2020
I am calling a script via a cronjob for a net I connect with. The script is working great except I have a short announcement that localplays for the connection, after the announcement I have the standard asterisk fun to connect the reflector. My problem is the connection is taking place during the script and if there is activity on the reflector the mixed announcement and refl audio is a train wreck. Is there a way to delay the refl connection in my script a few seconds to allow the announcement to finish? I have experimented with different size silent .ul's but can't seem to get what I want. Below is a copy of the script I'm running.
#! /bin/bash
/usr/sbin/asterisk -rx "rpt fun 47293 *76"
asterisk -rx "rpt localplay 47293 /etc/asterisk/local/net_connect"---->>> I need a delay here <<<----
asterisk -rx "rpt fun 47293 *7349799"
# End of Script
73
Tim Webb - KK4WH(606)909-2094
https://www.qrz.com/db/KK4WHwww.facebook.com/kentucky220
More information about the ARM-allstar
mailing list