similar to: Regarding using Web service to handle file uploads

Displaying 20 results from an estimated 300 matches similar to: "Regarding using Web service to handle file uploads"

2005 May 29
1
Disabling logging for web service calls?
I''m using ActionWebService to allow users to upload files to my rails app. I do this by encoding to Base64. The problem with this is that rails logs the file data so my log file size spirals out of control. Is there any way to selectively disable logging when the web api is invoked? ActiveRecord::Base.silence doesn''t seem too useful here as it''s only called AFTER
2013 Nov 26
2
[LLVMdev] Disabling optimizations when using llvm::createPrintModulePass
Hello, using the LLVM API, I've build one very simple function that adds two ConstantInts and returns the result. I noticed that, when I emit IR code, it is optimized to a simple "ret i16 42" when I add 40 and 2. I'd like to see the operations that are necessary to compute the result, though. Can I somehow disable this optimization in the pass, leading to more verbose IR code?
2006 Apr 11
3
Web services and security
Hi all, How do folks generally secure their Rails web services? A password in a config file? A ''webservice'' user in a ''Users'' table with its own password? LDAP authentication for every method? Only authenticate on the "important" methods? Something else I''m not thinking of? I''d like to be secure, yet practical, for the sake
2013 Nov 28
0
[LLVMdev] Disabling optimizations when using llvm::createPrintModulePass
IRBuilder is a templated class, and one of the template arguments is the constant folder to use. By default it uses the ConstantFolder class which does target-independant constant folding. If you want to disable constant folding you can specify the NoFolder class instead, i.e. declare the builder as follows: IRBuilder<true, llvm::NoFolder> builder(body) On 26 Nov 2013, at 19:23, Daniel
2013 Mar 07
2
Recording with MixMonitor and AGI
Hi, I am developing a call recording application on Asterisk 11.2 and have this configuration in my dialplan: [macro-ccdev2-rec] exten => s,1,MixMonitor(${ARG1},b) [outgoing-originate] exten => _X.,1,NoOp(Will send call to ${EXTEN}) exten => _X.,n,Dial(SIP/${EXTEN}@x.y.z) [outgoing-originate-rec] exten => h,1,Agi(agi://localhost/ajpbx.agi?path=uploadrec&callid=${CC_CALLID})
2011 Aug 02
3
MixMonitor and attended transfers
Hi I'm using asterisk 1.8.3.2 (with a couple of patches) I have the following scenario... SIP call comes in and gets answered by extension A (MixMonitor is executed as part of this inbound dial plan of the number being called) Extension A puts call on hold and calls extension B Extension A then does an attended transfer of incoming call to extension B I'm finding that the recording
2008 Jul 05
18
Java Bridge Itext Example Anyone?
I MAY be able to derive something out of the present example given here : http://blog.codeinmotion.com/index.php/2006/12/22/pdf-generation-in-ruby-on-rails/ but this deals with filling out forms. Is there a simpler example that just allows you to talk to itext , send it some plain text and get back a pdf and then send that pdf to the user as downloadable / renderable data? -- Posted via
2006 Jul 19
5
SOAP on rails? Confused...
Hi, Ive been struggling with the SOAP client things to do with rails as I''m not sure how to do what I need to do. So far I have: class SOAPclient < SOAP::RPC::StandaloneServer def on_init setup = gui_controller.new add_method(setup, "submit") end end server = SOAPclient.new("http://127.0.0.1:3000", "http://192.168.0.5", 8080)
2006 Jan 12
4
where is the ActionStruct::Base in rails???
there is a example in http://api.rubyonrails.com/classes/ActionWebService/Base.html and it mentioned <code> class SearchCriteria < ActionStruct::Base member :firstname, :string member :lastname, :string member :email, :string end </code> but i can not find ActionStruct''s source code in the rails''s distribution,and i found ''NameError:
2013 Jul 12
1
Using PauseMonitor with MixMonitor
Hi I'm using asterisk 1.8 on CentOS 5 I'm initiating call recordings with MixMonitor and trying to pause them with the features.conf. Whenever I try to pause the recording the call dies. Is PauseMonitor incompatible with MixMonitor? Here are some key log excerpts features reload == Parsing '/etc/asterisk/features.conf': == Found == Registered Feature
2006 Jul 30
3
Returning custom error messages in ActionWebService
I want to return my own error messages from an API instead of letting the client see the stack trace. I''m returning a custom structure so I guess I could just put a member in that structure for the error message, although that seems like kind of a hack. Any suggestions? Chris
2007 Feb 06
7
Reference Documentation Server
Hi, I'm trying to get samba (v3.0.23d) going on an embedded system. Our initial requirement is to get a very simple windows share operational. No security required, read only anonymous access. With this in mind we followed the guidelines as per the samba documentation: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/StandAloneServer.html#simplynice Samba (smbd) crashes with a
2011 Mar 18
7
One PRI card with 2 (or more) Telcos
Hi list! We currently have a PRI gateway composed by a box with two Digium quad-span PRI cards (a TE420 and a ). One of the cards is filled with TELCO1, while the other has first two slots filled with TELCO2, and 3rd slot with TELCO3. I am currently having (timer ?) issues on TELCO3 (span 7) D-Chan (202 as determined by dahdi_genconf ) is constantly failing causing on-going calls to terminate.
2004 Jun 04
1
Performance Issues with AutoCad 2003
Hello, we are using a Samba server (3.0.2a) here at work. It's running on a dual 1.4ghz opteron with two 250gig HD. Everything seems to be running fine except for AutoCad (which is the main program we run). Any time we try to save it can take up to 10 seconds, or each time we try to print it can take about the same amount of time to bring up the print dialog. I am only serving about 6
2015 Mar 25
2
TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 34
hello list, i have asterisk 11.15.0 and i have some trunks sip from my provider we have some ip phone astra 6731i each Ip-phone is configured with trunk and we call no ihave configured another trunk from the same provider in my asterisk i can call all numbers just the numbers are configured in thses ip phones. but when i configured the same trunk in x-lite i can call theses ip-phones without
2006 May 08
2
overzealous Windows security
Hi, I've got a MSAccess database on a linux server (fedora core 5, samba 3, 192.168.0.90) which a Win XP client machine needs to use (192.168.0.50). However, Access refuses to open the database because "it's not on the LAN so is a security risk". How can I configure Samba so that Windows recognises 192.168.0.90 as a local machine, please? Jim Donovan Office +61+2-8923-5208
2002 Dec 19
1
Re: [xiph-cvs] cvs commit: vorbis/doc/xml 01-introduction.xml
On Thursday, December 19, 2002, at 06:10 am, Monty wrote: > Het rillian: How to get HTML output from the XML in order to roll > changes back to the website? Or do you plan to replace the HTML > on-site too? Sorry, I got distracted before I finished everything. If you have the tools installed (xsltproc, passivetex) 'make' should generate monolithic pdf and html
2011 May 05
2
[Asterisk 1.8.3.2] Mixmonitor not working on member(calling part) channel of Queue.
Hi, I have a simple Queue(named 1) and one Member(SIP/1119) logged into it. Now when a caller is placed into Queue and gets connected with Member, I want to record the call. It does record the call when I use MixMonitor() before placing the caller into Queue, but not when MixMonitor() is used in macro which is called upon Member answering the call. Following is my dialplan... [mixmonitortest]
2007 Oct 25
2
Accumulating smbd processes and sockets in CLOSE_WAIT state
Hello list Our central fileserver is a Samba 3.0.25b on Solaris 9 and has 10'000 users (several hundreds at the same time). This week it died on us and when I inspected the machine, it was out of 8GB Memory and 16GB Swap because thousands of smbd processes were running. netstat -na showed that many hundreds of connections to port 445 were in CLOSE_WAIT state. We first thought it could be
2008 May 30
1
[LLVMdev] Patches for Solaris on x86 solaris
Hi all, As mentioned earlier, we've been working on getting LLVM to build on Solaris on x86/x86-64. The changes required turned out to be fairly minor, so it's perhaps a bit of a stretch to call it a "port". There were two main issues that we ran into here: 1. The Solaris x86 ABI by default defines the x86 registers CS, DS, ES, etc in the system headers, which