Matias G.
2005-Mar-18 09:26 UTC
[Asterisk-Users] call a url and get a result in the dialplan
Hi, can a call a php script wich is located in a remote server, someting like calling www.theserveraddress.com/scripts/validate?code=234234swq and get the result which this script generates (a 0 or a 1) back in the dial plan in a direct way or should I create a script which in turn does this? I'm using * CVS HEAD. Also I searched for this for I while but didn't manage to find anything but SendUrl and PHP AGI thanks M.
Alexander Lopez
2005-Mar-18 09:54 UTC
[Asterisk-Users] call a url and get a result in the dialplan
Build a script, use curl or wget parse output and use the variable to trigger events either via gotos of via the agi-script you wrote. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matias G. Sent: Friday, March 18, 2005 11:27 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] call a url and get a result in the dialplan Hi, can a call a php script wich is located in a remote server, someting like calling www.theserveraddress.com/scripts/validate?code=234234swq and get the result which this script generates (a 0 or a 1) back in the dial plan in a direct way or should I create a script which in turn does this? I'm using * CVS HEAD. Also I searched for this for I while but didn't manage to find anything but SendUrl and PHP AGI thanks M. _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users