[Asterisk-Users] call a url and get a result in the dialplan

Alexander Lopez alex.lopez at opsys.com
Fri Mar 18 09:54:52 MST 2005


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 at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matias G.
Sent: Friday, March 18, 2005 11:27 AM
To: asterisk-users at 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 at 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



More information about the asterisk-users mailing list