I’d like to develop a little script of statistics which can be called by my asterisk proxy when someone call.
But i don’t know how to proceed… what is the syntax to call an application from asterisk when a user make a call, and what file have i to edit?
I think i have to modify the extensions.conf but i don’t know anything else…
- a user call the number 999
- asterisk execute the script ‘toto’
- the result is returned to the user who called the 999