sorry but my English isn't very fluently, but I will try again.
I need to create a interface asterisk to the Web Service PHP.
So look is possible by entering the following command in the Asterisk dialplan exten => _X., 1, AGI (agi: / / IP: PORT / Testing | $ {EXTEN} | {VAR2}). ith my web service where I have a function "Lights"
What I need is communicate with my web service where I have a function "Ligths" and I need change the “Lights, ” in other words I need to read the status "Lights" and if I am interested to change them (put ligths on or put off). The Web service contains 3 files (index.php, and soap-client.php and soap-server.php), if I manually change the status of "Ligths" "1"to "0 ", I can turn them on and off-them, but I'm not sure how I intend to work via AGI Asterisk Dialplan php files which I have to call.
Can anyone give a help? Someone did something similar?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
sorry but my English isn't very fluently, but I will try again.
I need to create a interface asterisk to the Web Service PHP.
So look is possible by entering the following command in the Asterisk dialplan exten => _X., 1, AGI (agi: / / IP: PORT / Testing | $ {EXTEN} | {VAR2}). ith my web service where I have a function "Lights"
What I need is communicate with my web service where I have a function "Ligths" and I need change the “Lights, ” in other words I need to read the status "Lights" and if I am interested to change them (put ligths on or put off). The Web service contains 3 files (index.php, and soap-client.php and soap-server.php), if I manually change the status of "Ligths" "1"to "0 ", I can turn them on and off-them, but I'm not sure how I intend to work via AGI Asterisk Dialplan php files which I have to call.
Can anyone give a help? Someone did something similar?