[asterisk-users] wget from within asterisk?

Damon Estep damon at suburbanbroadband.net
Fri Nov 17 15:26:26 MST 2006


Makes more sense now!

 

Any way of setting an Asterisk CURL timeout in case of DNS, remote
server, or WAN link failure?

 

________________________________

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Russ
Beaupre
Sent: Friday, November 17, 2006 3:15 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] wget from within asterisk?

 


 The Curl/CURL is an asterisk dialplan distinction.

	 

	-----Original Message-----
	From: "Damon Estep" <damon at suburbanbroadband.net>
	To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
	Date: Fri, 17 Nov 2006 15:06:49 -0700
	Subject: RE: [asterisk-users] wget from within asterisk?

	Options I am aware of for installing curl are yum install in FC4
or download from curl.haxx.se, neither option distinguishes between curl
and CURL, can someone offer me the slap in the head I need?

	 

Damon

  

________________________________

From: asterisk-users-bounces at lists.digium.com [mailto:
asterisk-users-bounces at lists.digium.com] On Behalf Of Damon Estep
Sent: Friday, November 17, 2006 2:08 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] wget from within asterisk? 

  

Thanks a bunch, this seems to be a simple solution, I just did not have
CURL installed before I built asterisk.

  

________________________________

From: asterisk-users-bounces at lists.digium.com [mailto:
asterisk-users-bounces at lists.digium.com] On Behalf Of Russ Beaupre
Sent: Friday, November 17, 2006 2:05 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] wget from within asterisk? 

  

They both seem to work, but the Curl spits out warnings about being
deprecated.  Ours are all configured using CURL.
 

	 

-----Original Message-----
From: "Damon Estep" <damon at suburbanbroadband.net>
To: " Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Date: Fri, 17 Nov 2006 13:52:35 -0700
Subject: RE: [asterisk-users] wget from within asterisk? 

Thx!

  

I saw a note about Curl vs. CURL, is there a difference?

  

________________________________

From: asterisk-users-bounces at lists.digium.com [mailto:
asterisk-users-bounces at lists.digium.com] On Behalf Of Russ Beaupre
Sent: Friday, November 17, 2006 1:50 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] wget from within asterisk? 

 

Make sure the curl library/package is installed, then re-compile
asterisk.  We're using it on 1.2.
  

	 

-----Original Message-----
From: "Damon Estep" <damon at suburbanbroadband.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Date: Fri, 17 Nov 2006 13:40:40 -0700
Subject: RE: [asterisk-users] wget from within asterisk?

I saw CURL, but it does not register appear in show functions or show
applications, deprecated or add-on? 

  

________________________________

From: asterisk-users-bounces at lists.digium.com [mailto:
asterisk-users-bounces at lists.digium.com ] On Behalf Of Russ Beaupre
Sent: Friday, November 17, 2006 1:37 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] wget from within asterisk?

  


  

	  

-----Original Message-----
From: "Damon Estep" <damon at suburbanbroadband.net>
To: <asterisk-users at lists.digium.com>
Date: Fri, 17 Nov 2006 13:32:53 -0700
Subject: [asterisk-users] wget from within asterisk? 

What would be the simplest way to retrieve information form a CNAM
database that provides http based query responses? 

  

Does an application or script already exist that does this? 

  

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. 

  

Any suggestions? 

  

  

  

Look at the CURL function. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061117/024a8364/attachment-0001.htm


More information about the asterisk-users mailing list