<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>They both seem to
work, but the Curl spits out warnings about being deprecated. Ours are
all configured using CURL.<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 Mailing List - Non-Commercial Discussion"
<asterisk-users@lists.digium.com><br> Date: Fri, 17 Nov 2006 13:52:35
-0700<br> Subject: RE: [asterisk-users] wget from within asterisk?<br> <br>
<div class="Section1"> <p class="MsoNormal"><font color="navy"
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;
color: navy;">Thx!<o:p></o:p></span></font></div> <p class="MsoNormal">
<font color="navy" face="Arial" size="2"><span style="font-size: 10pt;
font-family: Arial; color: navy;"><o:p> </o:p></span></font></div> <p
class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;">I saw a note about
Curl vs. CURL, is there a difference?<o:p></o:p></span></font></div> <p
class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p>
</span></font></div> <div> <div class="MsoNormal" style="text-align:
center;" align="center"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> <hr tabindex="-1" align="center" size="2"
width="100%"> </span></font></div> <p class="MsoNormal"><b><font
face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;
font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2">
<span style="font-size: 10pt; font-family: Tahoma;"> <st1:personname
w:st="on">asterisk-users-bounces@lists.digium.com</st1:personname>
[mailto:<st1:personname w:st="on">
asterisk-users-bounces@lists.digium.com</st1:personname>] <b><span
style="font-weight: bold;">On Behalf Of </span></b>Russ Beaupre<br> <b><span
style="font-weight: bold;">Sent:</span></b> Friday, November 17, 2006 1:50
PM<br> <b><span style="font-weight: bold;">To:</span></b> Asterisk Users
Mailing List - Non-Commercial Discussion<br> <b><span style="font-weight:
bold;">Subject:</span></b> RE: [asterisk-users] wget from within
asterisk?</span></font><o:p></o:p></div> </div> <p class="MsoNormal"><font
face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p>
</o:p></span></font></div> <div> <p class="MsoNormal"><font
face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
Make sure the curl library/package is installed, then re-compile
asterisk. We're using it on 1.2.<br> <o:p></o:p></span></font>
</div> </div> <blockquote style="border-style: none none none solid;
border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color
black; border-width: medium medium medium 1.5pt; margin: 5pt 0in 5pt 3.75pt;
padding: 0in 0in 0in 4pt;"> <p class="MsoNormal"><font face="Tahoma"
size="2"><span style="font-size: 10pt; font-family: Tahoma;"><o:p>
</o:p></span></font></div> <p class="MsoNormal" style="margin-bottom:
12pt;"><font face="Tahoma" size="2"><span style="font-size: 10pt;
font-family: Tahoma;">-----Original Message-----<br> From: "Damon Estep"
<damon@suburbanbroadband.net><br> To: "Asterisk Users Mailing List -
Non-Commercial Discussion" <asterisk-users@lists.digium.com><br> Date:
Fri, 17 Nov 2006 13:40:40 -0700<br> Subject: RE: [asterisk-users] wget from
within asterisk?<o:p></o:p></span></font></div> <div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><font
color="navy" face="Arial" size="2"><span style="font-size: 10pt;
font-family: Arial; color: navy;">I saw CURL, but it does not register
appear in show functions or show applications, deprecated or add-on?<u1:p>
</u1:p></span></font><o:p></o:p></div> </div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><font
color="navy" face="Arial" size="2"><span style="font-size: 10pt;
font-family: Arial; color: navy;"><u1:p> </u1:p></span></font><o:p>
</o:p></div> </blockquote> <div> <div class="MsoNormal"
style="text-align: center;" align="center"><font face="Times New Roman"
size="3"><span style="font-size: 12pt;"> <hr tabindex="-1" align="center"
size="2" width="100%"> </span></font></div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><b><font
face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;
font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2">
<span style="font-size: 10pt; font-family: Tahoma;"> <st1:personname
u2:st="on"><st1:personname w:st="on">
asterisk-users-bounces@lists.digium.com</st1:personname></st1:personname>
[mailto:<st1:personname u2:st="on"> <st1:personname w:st="on">
asterisk-users-bounces@lists.digium.com</st1:personname></st1:personname>]
<b><span style="font-weight: bold;">On Behalf Of </span></b>Russ Beaupre<br>
<b><span style="font-weight: bold;">Sent:</span></b> Friday, November 17,
2006 1:37 PM<br> <b><span style="font-weight: bold;">To:</span></b> Asterisk
Users Mailing List - Non-Commercial Discussion<br> <b><span
style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users] wget
from within asterisk?</span></font><u1:p></u1:p><o:p></o:p></div> </div>
<p class="MsoNormal" style="margin-right: 0in; margin-bottom: 1.8pt;
margin-left: 0in;"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"><u1:p> </u1:p><o:p></o:p></span></font></div>
<div> <p class="MsoNormal" style="margin-right: 0in; margin-bottom: 1.8pt;
margin-left: 0in;"><font face="Tahoma" size="2"><span style="font-size:
10pt; font-family: Tahoma;"><br> <u1:p></u1:p></span></font><o:p></o:p>
</div> </div> <blockquote style="border-style: none none none solid;
border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color
black; border-width: medium medium medium 1.5pt; margin: 5pt 0in 5pt 3.75pt;
padding: 0in 0in 0in 4pt;"> <p class="MsoNormal" style="margin-right: 0in;
margin-bottom: 1.8pt; margin-left: 0in;"><font face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma;"><u1:p> </u1:p></span>
</font><o:p></o:p></div> </blockquote> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 12pt; margin-left: 0in;"><font
face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
-----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?<u1:p> </u1:p>
</span></font><o:p></o:p></div> <div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><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?<u3:p></u3:p></span></font><u1:p>
</u1:p><o:p></o:p></div> </div> <p class="MsoNormal" style="margin-right:
0in; margin-bottom: 1.8pt; margin-left: 0in;"><font face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial;"><u3:p> </u3:p></span>
</font><u1:p></u1:p><o:p></o:p></div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><font
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
Does an application or script already exist that does this?<u3:p></u3:p>
</span></font><u1:p></u1:p><o:p></o:p></div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><font
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
<u3:p> </u3:p></span></font> <u1:p></u1:p><o:p></o:p></div> <p
class="MsoNormal" style="margin-right: 0in; margin-bottom: 1.8pt;
margin-left: 0in;"><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.<u3:p></u3:p> </span>
</font><u1:p></u1:p><o:p></o:p></div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><font
face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">
<u3:p> </u3:p> </span></font><u1:p></u1:p><o:p></o:p></div> <p
class="MsoNormal" style="margin-right: 0in; margin-bottom: 1.8pt;
margin-left: 0in;"><font face="Arial" size="2"><span style="font-size: 10pt;
font-family: Arial;">Any suggestions?<u3:p></u3:p> </span></font><u1:p>
</u1:p><o:p></o:p></div> <p class="MsoNormal" style="margin-right: 0in;
margin-bottom: 1.8pt; margin-left: 0in;"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><u3:p> </u3:p> </span>
</font><u1:p></u1:p><o:p></o:p></div> <div> <p class="MsoNormal"
style="margin-right: 0in; margin-bottom: 1.8pt; margin-left: 0in;"><font
face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<u1:p> </u1:p></span></font><o:p></o:p></div> </div> <div> <p
class="MsoNormal" style="margin-right: 0in; margin-bottom: 1.8pt;
margin-left: 0in;"><font face="Tahoma" size="2"><span style="font-size:
10pt; font-family: Tahoma;"> <u1:p></u1:p></span></font><o:p></o:p>
</div> </div> <p class="MsoNormal" style="margin-right: 0in;
margin-bottom: 1.8pt; margin-left: 0in;"><font face="Tahoma" size="2"><span
style="font-size: 10pt; font-family: Tahoma;">Look at the CURL
function.<u1:p></u1:p></span></font><o:p></o:p></div> </div> </blockquote>
</body>
</HTML>