[asterisk-users] Creating a HTTP Request on missed call?

Motiejus Jakštys desired.mta at gmail.com
Tue May 11 05:36:41 CDT 2010


Issuing HTTP request from dialplan is simple: Use System call when you
have all the statuses:
exten => _X.,n,System(curl -d number=${EXTEN},status=${STATUS}
http://mywebsite/)

Check your dialplan when you have to issue the command
and
man 1 curl

Good luck

On Tue, May 11, 2010 at 12:21 PM, Zhang Shukun <bitzsk at gmail.com> wrote:
> Hello there,
>
> I have successfully installed and configured asterisk for use as an
> office PBX using SIP trucks and Voip handsets (using g.729 codec)
> which works great.
>
> Now I wish to try and configure asterisk to do a HTTP request and
> submit callerID to an external website when a call is missed. eg
> Someone calls PBX and rings extension 100 -> Call is not answered ->
> HTTP request is initiated to the following URL
> "http://www.mywebsite.com/index.php?=NumberHere"
> ....or something similar.
>
> There are a couple of threads I have read on similar topics but none
> seem to fit the bill. One involved installing a DialPlan Injection
> module, however I was unable to get the associated SQL database
> installed so I fell at the first hurdle.
>
> I hope this is not too taxing to solve and understand that this may
> not be a native function of asterisk, but any help would be greatly
> appreciated.
> Thanks in advance!
>
>
> --
> Thanks for your supporting,
> have a nice day.
> Sucan
>
> --
> _____________________________________________________________________
> -- 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
>



More information about the asterisk-users mailing list