Request url in every incoming call


I have Asterisk, 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