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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matias G.
Sent: Friday, March 18, 2005 11:27 AM
To: [email protected]
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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to