Displaying 20 results from an estimated 44 matches for "curlopt".
2009 Nov 24
1
asterisk trunk CURL hangs in the dialplan
...URL calls and occasionally CURL stops working.
The dialplan looks something like this:
[macro-curl]
; ${ARG1} CURL URL
; ${ARG2} CURL POST
exten => s,1,NoOp(CURL)
...
exten => s,n(post),Set(RF_CURL_POST=userID=${RF_DIALER_USERID}&password=${RF_PASSWORD}&${ARG2})
exten => s,n,Set(CURLOPT(httptimeout)=5)
exten => s,n,Set(CURLOPT(conntimeout)=5)
exten => s,n,NoOp(CURL(${RF_URL}/${ARG1}?${RF_CURL_POST}))
exten => s,n,Set(RF_CURL_RESPONSE=${CURL(${RF_URL}/${ARG1},${RF_CURL_POST})})
At this point, CURL either works or it will occasionally hang for a few minutes. tcpdump doesn...
2018 Oct 04
3
CURL to post application/json
We tried to use the CURL fn to POST json, but it's sent as form data and
there seems no support for changing the Content-Type header. We switched to
invoking curl in the shell.
All the documentation I could find says there is just one parameter for the
url and an optional second for POST body. Is there an undocumented way to
set Content-Type?
-------------- next part --------------
An HTML
2012 Dec 05
1
request
...ic port
(that i have mentioned in protocols in CreateNeosComm). However, the proxy
server does not have any password though to access wifi i need password.
After inserting the protocols as shown in Input (below), i have go the
output as shown in below.
input
library (rneos)
NC<-CreateNeosComm(curlopts=list(httpheader=c('content-type'="text/xml",
'User-Agent'="R"), protocols=proxy.noc.titech.ac.jp:3128,
port=3332),curlhandle=getCurlHandle())
#to check the neos server is active"NeosServer is alive" is returned
Nping(convert=T, nc=NC)
output
> libr...
2011 Jun 06
1
RCurl and kerberos
Dear list,
I would like to call a Kerberos-authenticated web-service from within R.
Curl can do it:
$ curl --negotiate -u : "http://my.web.service/"
so I would expect that RCurl also has the capability, but I have not been able to find the correct options to set.
listCurlOptions() does not return anything with negotiate, and searching the source of RCurl, the only thing I found was
./RCurl/R/curlInfo.S:names(CurlFeatureBits) = c("ipv6", "kerberos4", "ssl", "libz", "ntlm", "gssnegotiate",
but e.g.
getURL(&qu...
2008 Aug 27
1
RCurl: using netrc with curlPerform
...get an error
saying that the curl option is not recognized. I have tried 3 different
ways of instructing the curlPerform function to use the .netrc file (in
the .opts, curl handle and the ... argument) but got the same error
message each time.
# Failed attempt using .opts construct
myopts <-curlOptions(netrc=1)
curlPerform("http://www.omegahat.org/RCurl/testPassword/index.html",
.opts=myopts)
# Failed attempt using curl handle
handle <- getCurlHandle(netrc=1)
curlPerform("http://www.omegahat.org/RCurl/testPassword/index.html",
curl=handle)
# Failed attempt using ......
2011 Feb 17
1
RCurl HTTP Post ?
According to [1] and [2], using RCurl to post a form with basic
authentication is done using the postForm method. I'm trying to post
generated interpolation data from R onto an HTTP form. The call I'm using is
page <- postForm('http://our.server.com/dbInt/new', opts =
curlOptions=(userpwd="test:test", verbose=T), profileid = "-1",
value="1.801", type="history"). The page instance shows the HTTP response
500 screen and I get a nullpointerexception in the server logs. The line it
points to is dealing with getting an integer out of &...
2020 Apr 27
0
Advice on building a REST API over ASTDB
...B
3. Develop a custom Web App that either:
3.1 Directly read or write on /var/lib/asterisk/astdb.sqlite3 but what
about concurrency
3.2 Use shell CLI (asterisk -rx 'database put Foo Bar Baz')
4. Replace dialplan's ASTDB calls with CURL statements (if positive, how to
avoid repeating CURLOPT calls all over my dialplan).
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200427/b66b2c18/attachment.html>
2020 Nov 19
0
Asterisk 13.38.0 Now Available
...music the first time it is played
(Reported by Thomas
Frederiksen)
* ASTERISK-29081 - res_stasis: Add compare function for bridges
moh container
(Reported by Hajek Michal)
* ASTERISK-29085 - func_curl: Segmentation fault when using
CURL after setting httpheader CURLOPT
(Reported by P��ter
Juh��sz)
* ASTERISK-28416 - Unable to get rtp codec payload code for
slin
(Reported by Brian J. Murrell)
New Features made in this release:
-----------------------------------
* ASTERISK-29027 - Implement support for History-Info
(Reported...
2010 Feb 25
1
curl and ssl certificate
Hello,
Is it possible use asterisk curl function with ssl sertificate?
Thanks
--
Best Regards,
Giedrius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100225/37ceb99e/attachment.htm
2012 Apr 09
1
Listing the contents of an FTP directory via R?
R-helpers:
I'd like to be able to store all the file information from an ftp site
(e.g. file and foldernames) through an R command. Any ideas how to do
this? Here's an example site to use:
ftp://e4ftl01.cr.usgs.gov/MOTA/MCD15A3.005
--j
--
Jonathan A. Greenberg, PhD
Assistant Professor
Department of Geography and Geographic Information Science
University of Illinois at
2013 Mar 12
0
duplicate export entries in NAMESPACE
...in their NAMESPACE files. E.g.,
bit 1.1.9 : c("as.bit", "as.bitwhich", "as.which", "physical", "virtual")
forecast 4.1 : "forecast.lm"
graphics 2.15.3 : "barplot"
mcmc 0.9.1 : "morph"
RCurl 1.95.3 : "curlOptions"
utils 2.15.3 : "RweaveLatexOptions"
Would it be helpful for 'check' to alert package writers to this?
I made the list using f():
f <- function ()
{
for(pkg in installed.packages()[,"Package"]) {
try( {
exports <- parseNam...
2013 Mar 13
0
R-devel Digest, Vol 121, Issue 13
...E.g.,
> bit 1.1.9 : c("as.bit", "as.bitwhich", "as.which", "physical", "virtual")
> forecast 4.1 : "forecast.lm"
> graphics 2.15.3 : "barplot"
> mcmc 0.9.1 : "morph"
> RCurl 1.95.3 : "curlOptions"
> utils 2.15.3 : "RweaveLatexOptions"
> Would it be helpful for 'check' to alert package writers to this?
>
> I made the list using f():
> f<- function ()
> {
> for(pkg in installed.packages()[,"Package"]) {
>...
2010 Apr 16
0
RCurl slow when sending data over 1kb
...ing on the localhost. The command is something like this:
reader <- basicTextGatherer()
curlPerform(url="http://127.0.0.1/",
httpheader=c('Content-Type' = "text/xml; charset=utf-8"),
postfields=toString.XMLNode(xmlRoot(xdoc)),
writefunction=reader$update,
.opts=curlOptions(noproxy="*"))
When sending a short string, the web server responds instantly. However, when the content-length gets above 1024 bytes, the server takes about 2 seconds to receive all the content that is being sent to it. I've written the server myself in Python, so I can see that...
2015 Feb 06
0
Asterisk 11.16.0 Now Available
...ails if acl.conf is not present
on startup (Reported by Richard Kenner)
* ASTERISK-24628 - [patch] chan_sip - CANCEL is sent to wrong
destination when 'sendrpid=yes' (in proxy environment) (Reported
by Karsten Wemheuer)
* ASTERISK-24672 - [PATCH] Memory leak in func_curl CURLOPT
(Reported by Kristian H??gh)
* ASTERISK-20744 - [patch] Security event logging does not work
over syslog (Reported by Michael Keuter)
* ASTERISK-23850 - Park Application does not respect Return
Context Priority (Reported by Andrew Nagy)
* ASTERISK-23991 - [patch]asterisk.pc fil...
2015 Feb 06
0
Asterisk 11.16.0 Now Available
...ails if acl.conf is not present
on startup (Reported by Richard Kenner)
* ASTERISK-24628 - [patch] chan_sip - CANCEL is sent to wrong
destination when 'sendrpid=yes' (in proxy environment) (Reported
by Karsten Wemheuer)
* ASTERISK-24672 - [PATCH] Memory leak in func_curl CURLOPT
(Reported by Kristian H??gh)
* ASTERISK-20744 - [patch] Security event logging does not work
over syslog (Reported by Michael Keuter)
* ASTERISK-23850 - Park Application does not respect Return
Context Priority (Reported by Andrew Nagy)
* ASTERISK-23991 - [patch]asterisk.pc fil...
2020 Nov 19
0
Asterisk 17.9.0 Now Available
...when "auto" DTMF is used
(Reported
by Sebastian Damm)
* ASTERISK-28311 - dsp: ast_dsp_silence_noise_with_energy wrong
judgment of frame format
(Reported by ���������)
* ASTERISK-29085 - func_curl: Segmentation fault when using
CURL after setting httpheader CURLOPT
(Reported by P��ter
Juh��sz)
* ASTERISK-24329 - Music On Hold announcement cuts intro of
music the first time it is played
(Reported by Thomas
Frederiksen)
* ASTERISK-29089 - RTP Ports not cleared after hangup
(Reported by Ross Beer)
* ASTERISK-29081 - r...
2012 Oct 11
1
Problems with getURL (RCurl) to obtain list files of an ftp directory
...f the list of files (from ftp), I am
getting the complete html code. Anyone knows why this might happen?
This are the steps i have been doing:
> MOD16A2.doy<- '
ftp://ftp.ntsg.umt.edu/pub/MODIS/Mirror/MOD16/MOD16A2.105_MERRAGMAO/'
> items <- strsplit(getURL(MOD16A2.doy,
.opts=curlOptions(ftplistonly=TRUE)), "\n")[[1]]
>items #results
[1] "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"
http://www.w3.org/TR/html4/loose.dtd\">\n<!-- HTML listing generated by
Squid 2.7.STABLE9 -->\n<!-- Wed, 10 Oct 2012 13:...
2020 Nov 19
0
Asterisk 16.15.0 Now Available
...en ast_translator_build_path fails
(Reported by Jasper van der Neut)
* ASTERISK-28311 - dsp: ast_dsp_silence_noise_with_energy wrong
judgment of frame format
(Reported by ���������)
* ASTERISK-29085 - func_curl: Segmentation fault when using
CURL after setting httpheader CURLOPT
(Reported by P��ter
Juh��sz)
* ASTERISK-24329 - Music On Hold announcement cuts intro of
music the first time it is played
(Reported by Thomas
Frederiksen)
* ASTERISK-29089 - RTP Ports not cleared after hangup
(Reported by Ross Beer)
* ASTERISK-29081 - r...
2020 Nov 19
0
Asterisk 18.1.0 Now Available
...judgment of frame format
(Reported by ���������)
* ASTERISK-24329 - Music On Hold announcement cuts intro of
music the first time it is played
(Reported by Thomas
Frederiksen)
* ASTERISK-29085 - func_curl: Segmentation fault when using
CURL after setting httpheader CURLOPT
(Reported by P��ter
Juh��sz)
* ASTERISK-29089 - RTP Ports not cleared after hangup
(Reported by Ross Beer)
* ASTERISK-29081 - res_stasis: Add compare function for bridges
moh container
(Reported by Hajek Michal)
* ASTERISK-28416 - Unable to get rtp codec paylo...
2020 Feb 04
0
Asterisk 13.31.0 Now Available
...The release of Asterisk 13.31.0 resolves several issues reported by the
community and would have not been possible without your participation.
Thank you!
The following issues are resolved in this release:
New Features made in this release:
-----------------------------------
* ASTERISK-17491 - CURLOPT() needs a "followlocation" parameter
/ "maxredirs" doesn't do anything
(Reported by candrews)
* ASTERISK-28639 - res_pjsip_endpoint_identifier_ip: Add
ability to match on source port
(Reported by Sean Bright)
Bugs fixed in this release:
------------...