Can someone explain me, what difference between AGI(…) or system (…) ?
just for run bash script.
And one more question.
I want make scenario like this…
- Run bash script
- Bash return to asterisk value ( like 0, 7, 8)
- If zero, than say (…blablabla)
if 7, than say ( another blablabla)
if 8, then say ( one more blablabla)
IVR was already done and i can run script. But cant understand, how return value from bash to asterisk and check (if then if then …) it.
thanks and sorry about my english