Request url in every incoming call

Hi!

I have Asterisk 1.8.11.0, and I’d like to every incoming call will do a get request to an url with calling number in get parameter.

How can i do this?

use the Linux curl command or Asterisk curl function in your inbound context , use ${EXTEN} variable for the incoming DID or ${CALLERID(num)} for the customer callerid number