Nothing to it, you want a Custom Destination. Add something like the following to extensions_custom.conf:
[from-internal-Dujith]
exten => s,1,Noop(Entering user defined context [from-internal-Dujith] in extensions_custom.conf)
exten => s,n,Set(result=${CURL(url_goes-here)})
exten => s,n,Return
The create a Custom Destination with a goto string of from-internal-Dujith,s,1
, select the return option and choose the destination where the call goes next after the URL is loaded. If you need a dialable feature code, that’s a Misc Application
Certs on the PBX are irrelevant. The only uncertainty in my mind is the special characters in the URL, the @
and {}
may need to be escaped by preceding each with a \
character. .