[Freeswitch-users] HTTP API call from dialplan

Miguel Oyarzo miguelaustro at gmail.com
Tue Jun 24 11:32:53 MSD 2014


Hi,

Is there is a way to call an external API (HTTPS/GET), to validate a phone
number from the dialplan?

<extension>
  <condition https://domain/api?par1=value, $ret-val>  ??
  <action application="bridge" .....>
  </condition>
</<extension>

I'm looking at mod_curl but not sure if I can use it in dialplan and/or how
to retrieve the response.

Any idea?

Thanks

-- 
"Efficiency is doing things right; effectiveness is doing the right things
(Peter Drucker)"

Miguel Oyarzo
DevOps & VoIP Engineer
Linux User: # 483188 - counter.li.org
http://au.linkedin.com/in/mikeaustralia
Melbourne, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140624/799d1304/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list