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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org