[asterisk-users] how to launch a URl when dialing a number
Justin Killen
jkillen at allamericanasphalt.com
Thu May 30 17:02:42 CDT 2013
If you just want the url to be opened (perhaps to update a counter via a web service or cgi script), you can do this:
system("wget http://")
or
system("fetch http://...")
-Justin
________________________________
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Salaheddine Elharit
Sent: Thursday, May 30, 2013 8:07 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] how to launch a URl when dialing a number
Hello
i want to luanch an URL in my PC when i call a number like below
exten => 066104xxxx,1,Set(CALLERID(number)=52xxxxxxx)
exten => 066104xxxx,n,MixMonitor(zap_g1_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))
exten => 066104xxxx,n,Dial(Zap/g1/${EXTEN},30,A(this-call-may-be-monitored-or-recorded))
exten => 066104xxxx,n,http://192.168.5.109/interface2/interface2.php ( here i want to launch this url in my pc )
exten => 066104xxxx,n,Hangup()
thanks and regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130530/ba6ebf55/attachment.htm>
More information about the asterisk-users
mailing list