[asterisk-users] how to launch a URl when dialing a number
Salaheddine Elharit
salah.elharit200 at gmail.com
Fri May 31 09:21:32 CDT 2013
thanks justin i try to do this but the issue still the same.this link is
stored in my server 192.168.5.109 .but what i want to receive this link
when i call this number in my pc
ip adresse of my pc 192.168.5.131
ip adresse of server when the page php is stored
thanks and regards
2013/5/30 Justin Killen <jkillen at allamericanasphalt.com>
> **
>
> 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****
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130531/4b8fff45/attachment.htm>
More information about the asterisk-users
mailing list