<HTML>
<head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style title="table borders">.htmtableborders, .htmtableborders td,
.htmtableborders th {border : 1px dashed lightgrey ! important;} </style>
<style type="text/css">html, body { border: 0px; } span.macro, span.macro
ul, span.macro div, span.macro p {background : #CCCCCC;} </style> <style
type="text/css"> p{margin-bottom: 0.15em;margin-top:
0.15em;}body{font-family:tahoma;font-size:10pt;}; </style></head><body>
<font style="font-family: tahoma; font-size: 10pt;"><div><br> </div>
</font> <br><blockquote style="border-left: 2px solid rgb(0, 0, 0);
padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
-----Original Message-----<br> From: "Damon Estep"
<damon@suburbanbroadband.net><br> To:
<asterisk-users@lists.digium.com><br> Date: Fri, 17 Nov 2006 13:32:53
-0700<br> Subject: [asterisk-users] wget from within asterisk?<br> <br>
<div class="Section1"> <p class="MsoNormal"><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;">What would be the
simplest way to retrieve information form a CNAM database that provides http
based query responses?<o:p></o:p></span></font></div> <p class="MsoNormal">
<font face="Arial" size="2"><span style="font-size: 10pt; font-family:
Arial;"><o:p> </o:p></span></font></div> <p class="MsoNormal"><font
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
Does an application or script already exist that does this?<o:p></o:p></span>
</font></div> <p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font>
</div> <p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Basically, I want to do a wget
of a URL that contains the callerID number as a variable, and assign the
returned text to another variable which can be used to set the caller ID
name.<o:p></o:p></span></font></div> <p class="MsoNormal"><font
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
<o:p> </o:p></span></font></div> <p class="MsoNormal"><font
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Any
suggestions?<o:p></o:p></span></font></div> <p class="MsoNormal"><font
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
<o:p> </o:p></span></font></div> <div> </div><div> </div>
</div> </blockquote> Look at the CURL function.</body>
</HTML>