I wrote some php code in AMI to work with asterisk command.
I don't know exactly what's the difference between Asterisk Manager Interface (AMI) and Asterisk Gateway Interface (AGI) and witch one is better for my planning.
I'm planning to call party users that their number is is my panel on web. We have some operators and they can call party users via client softphone by clicking on their number, so they are limiteded to call just the listed numbers (and can't call another number).
How can I set those permissions? And how can I store called record in asterisk (IVR recorded voice) via php. Should I use Asterisk Manager Interface (AMI) orAsterisk Gateway Interface (AGI).