[arm-allstar] Re BCD Telementry information from Doug example please ?
Bobby Bruton
bobbybruton at yahoo.com
Thu Aug 17 02:04:42 EST 2017
I have been reading and toying around with what you sent me.(see questions below)
What you are asking could be done but would require some script writing. Asfar as announcements the BCD script I sent could say what ever you want toyour local nodes after a channel is changed. You just need to send thevoice message out to them. Knowing the channel number in the script youcould do the following -
Lets assume the channel number is defined as $Channel in the script and thetwo nodes you wanted to play to were 40000 and 40001.
($Channel in script, which script and where to put it at in script example please ? )
/usr/sbin/asterisk "rpt localplay 46221 /var/lib/asterisk/sounds/channel"/usr/sbin/asterisk "rpt localplay 46221/var/lib/asterisk/sounds/digits/$Channel"/usr/sbin/asterisk "rpt localplay 46222 /var/lib/asterisk/sounds/channel"/usr/sbin/asterisk "rpt localplay 46222/var/lib/asterisk/sounds/digits/$Channel"
( What do I do with the above information example please ? )
This would play the word "channel" and the actual channel number to bothnodes. I think this is what you wanted. Setting it up to work with supermonwould not be hard but would require some scripting. I don't think there isany way to know what channel it is currently on other than storing thechange to a file or environment variable and reading it back. So in the BCDscript you might do something like this after the channel was changed.
echo $Channel > /tmp/last_channel
More information about the arm-allstar
mailing list