[arm-allstar] app_rpt pass argument to script file?
    DuaneVT . 
    selkie2 at comcast.net
       
    Tue Feb  7 12:10:59 EST 2017
    
    
  
Can rpt.conf pass an argument to a called .sh script? as in:
770=cmd,/etc/asterisk/scripts/job.sh 0
771=cmd,/etc/asterisk/scripts/job.sh 1
So entering *771 would call script file /etc/asterisk/scripts/job.sh and
pass the argument "1" to it for control. *770 would call the file and pass
"0", so a switch ladder could make multiple decisions based on the user
inputs.
This can be done in Linux scripts, but how/can it work from within app_rpt?
Thanks,
Duane KA1LM
    
    
More information about the ARM-allstar
mailing list