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: [email protected] 
[mailto:[email protected]] 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
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to