<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> The
Curl/CURL is an asterisk dialplan distinction.<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 15:06:49
-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;">Options I am aware of for installing curl are yum install in
FC4 or download from </span></font><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">curl.haxx.se, neither option
distinguishes between curl and CURL, can someone offer me the slap in the
head I need?<o:p></o:p></span></font></div> <p class="MsoNormal"><font
face="Courier New" size="1"><span style="font-size: 9pt; font-family:
"Courier New";"><o:p> </o:p></span></font></div> <p
class="MsoNormal"><font face="Courier New" size="1"><span style="font-size:
9pt; font-family: "Courier New";">Damon</span></font><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;"><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>Damon Estep<br> <b><span
style="font-weight: bold;">Sent:</span></b> Friday, November 17, 2006 2:08
PM<br> <b><span style="font-weight: bold;">To:</span></b> <st1:personname
w:st="on">Asterisk Users Mailing List - Non-Commercial
Discussion</st1:personname><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> <p class="MsoNormal"><font color="navy" face="Arial" size="2">
<span style="font-size: 10pt; font-family: Arial; color: navy;">Thanks a
bunch, this seems to be a simple solution, I just did not have CURL
installed before I built asterisk.<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 2:05
PM<br> <b><span style="font-weight: bold;">To:</span></b> <st1:personname
w:st="on">Asterisk Users Mailing List - Non-Commercial
Discussion</st1:personname><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;">They both seem to work,
but the Curl spits out warnings about being deprecated. Ours are all
configured using CURL.<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: "<st1:personname w:st="on">
Asterisk Users Mailing List - Non-Commercial Discussion</st1:personname>"
<asterisk-users@lists.digium.com><br> Date: Fri, 17 Nov 2006 13:52:35
-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;">
Thx!<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> <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 a note about Curl vs. CURL, is there
a difference?<u1:p></u1:p></span></font><o:p></o:p></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> <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:50 PM<br> <b><span style="font-weight: bold;">To:</span></b>
<st1:personname w:st="on">Asterisk Users Mailing List - Non-Commercial
Discussion</st1:personname><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;">
Make sure the curl library/package is installed, then re-compile
asterisk. We're using it on 1.2.<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: "<st1:personname
w:st="on">Asterisk Users Mailing List - Non-Commercial
Discussion</st1:personname>" <asterisk-users@lists.digium.com><br>
Date: Fri, 17 Nov 2006 13:40:40 -0700<br> Subject: RE: [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 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?<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 color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><u3:p> </u3:p>
</span></font><u1:p> </u1:p><o:p></o:p></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"
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
u4:st="on"><st1:personname u2:st="on"><st1:personname w:st="on">
asterisk-users-bounces@lists.digium.com</st1:personname></st1:personname>
</st1:personname> [mailto:<st1:personname u4:st="on"> <st1:personname
u2:st="on"><st1:personname w:st="on">
asterisk-users-bounces@lists.digium.com</st1:personname></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> <st1:personname w:st="on">Asterisk Users Mailing List -
Non-Commercial Discussion</st1:personname><br> <b><span style="font-weight:
bold;">Subject:</span></b> Re: [asterisk-users] wget from within
asterisk?</span></font><u3:p></u3:p><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;"><u3:p> </u3:p><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> <u3:p></u3:p></span>
</font><u1:p></u1:p> <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;"><u3:p> </u3:p> </span></font><u1:p></u1:p>
<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?<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;">What would be the simplest way to retrieve information
form a CNAM database that provides http based query responses?<u5:p></u5:p>
</span></font><u3:p> </u3:p><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;"><u5:p> </u5:p> </span></font><u3:p></u3:p><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?<u5:p></u5:p> </span></font><u3:p></u3:p><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;"><u5:p> </u5:p></span>
</font> <u3:p></u3:p><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.<u5:p></u5:p> </span></font><u3:p></u3:p>
<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;"><u5:p> </u5:p>
</span></font><u3:p></u3:p><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?<u5:p></u5:p> </span></font><u3:p>
</u3:p><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;">
<u5:p> </u5:p> </span></font><u3:p></u3:p><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;"> <u3:p> </u3:p></span>
</font><u1:p></u1:p><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;">
<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;">Look at the CURL function.<u3:p></u3:p></span>
</font><u1:p></u1:p><o:p></o:p></div> </div> </blockquote> </body>
</HTML>