[Asterisk-Users] Executing external script

Alessio Focardi alessiof at interconnessioni.it
Thu Feb 19 06:37:43 MST 2004


Tnx !

I tried System(), but documentation is very scarce ...

what can I insert in the () ?

a system command like System(sh myscript.sh) does not seem to work ....

Again tnx !


At 18.54 18/02/04, Philipp von Klitzing wrote:
>Hi!
>
> > just a simple question: I'm looking for a way to execute an external
> > script (php) on the server when an extension is dialed.
> >
> > I have looked around in google without results ...
>
>Use AGI, EAGI or System():
>
>http://www.voip-info.org/wiki-
>Asterisk+AGI?PHPSESSID=aa7ef3b3958673084a41274ea0c637aa
>
>http://www.voip-info.org/wiki-Asterisk+cmd+System
>
>Cheers, Philipp


Alessio Focardi






More information about the asterisk-users mailing list