similar to: Failover with Rails?

Displaying 20 results from an estimated 100000 matches similar to: "Failover with Rails?"

2009 Jun 29
0
FW: re: Asterisk Outbound with Failover, alarm notification, dial status and hangupcause capturing to CDR from Dialplan
Managed to implement this on asterisk v1.4.24.1, Also, Hangupcause updating to user field. However, this only works on the edge of my voice network (demarcation point) It does not work on my internal routing boxes as I use IAX to route between remote sites. I was thinking of using some sort of SIP variables to transport these results over the IAX trunk.. Any bright ideas folks???
2006 Jul 14
1
Appending something to a Rails route?
Hello railslist, I''m trying to accomplish the following: The URL http://localhost:3000/page/news/edit should redirect to the URL http://localhost:3000/login I''ve accomplished this by setting up a route like: map.connect ''page/:name/edit'', :controller => "login" But this fails in the case of the following URL:
2009 Feb 07
0
Redirection in shell (was: squid HA failover?)
Hi, Regarding the last example creating the config files with several echos with redirection: On Fri, Feb 6, 2009 at 20:37, J Potter <jpotter-centos at codepuppy.com> wrote: > echo "node a.example.com" > /etc/ha.d/ha.cf > echo "node b.example.com" >> /etc/ha.d/ha.cf > echo "udpport 9000" >> /etc/ha.d/ha.cf >
2012 Oct 21
2
No failover from director to backend?
Hi everyone, short version: Is there no built in failover mechanism for the director service to handle a backend failure? Long version: I have a frontend server running the director service and two backends. Due to maintenance I had to shut down one of the backends which caused connection errors for the users being directed to this backend. I was very surprised as I expected the director to
2020 Nov 24
2
switch a source, idea?
hi there, let's say I have a mountpoint /important with a source a, and a mountpoint /notimportant with source b now I have to switch source a and b so that the content of source b plays on mountpoint /important mountpoint /notimportant is, well, not so important of course I can do it manually, but I wonder if there is a trick to accomplish that programmatically or within icecast. ideas
2004 May 15
0
*8 (call pickup) using Manager or AGI interfaces?
I'd like to programmatically do the equivalent of a *8 using either the Manager or AGI interfaces or some other Asterisk interface. In this scenario, a line is ringing, the "pickup" program executes with an argument that is the extension to connect the incoming call to. That extension starts to ring and, when answered, the incoming call is automatically connected to the extension.
2006 May 17
0
How to validate in_place_edit updates
Can anyone enlighten me on how to make in_place_edit fields go through validations that are defined in the model? For example, my customer model has a "validates_numericality_of phone", but when the in_place_edit is done you can enter whatever you want. The field is defined as a string in the DB. I can''t change the database schema, due to other constraints, so I need a
2011 Oct 05
3
Rails 3 routes with same name, different param name based on constraint
Hello there fellow RoR enthusiasts, I have been wrestling with rails 3 routes for hours trying to accomplish the following: I want to use the *same url helper* (photo_url) in my views but have a different route match made depending on the format of the parameter I pass. Seems simple enough, right?? If the parameter looks like nn.nn.nnnnnn.whatever, I want the param passed to
2007 Oct 08
1
How to get database adapter type programmatically in rails?
Hi,all I am developing a Rails application supporting both Mysql and Oracle. I have to use Native SQL statements some place. While we know the SQL grammar is quite different for Mysql and Oracle, so I have to get database adapter type programmatically in my codes to process different native SQL statements. I haven''t found any document for this situation. After some research, I have found
2002 May 07
1
Using iptables for failover
Hi I am using a small script that monitors my webservers from inside. If it does not find the test page on the primary webserver it flips DNAT to point to the hot backup webserver. This is the command that it uses: iptables -t nat -D PREROUTING -i eth0 -p tcp -d 65.211.35.209 -j DNAT --to 192.168.1.151 iptables -t nat -A PREROUTING -i eth0 -p tcp -d 65.211.35.209 -j DNAT --to 192.168.1.30
2010 Jul 14
0
[LLVMdev] different layout of structs for llc vs. llvm-gcc
On Wednesday 14 July 2010 17:57:26 Andrew Lenharth wrote: > On Wed, Jul 14, 2010 at 10:54 AM, Eli Friedman <eli.friedman at gmail.com> wrote: > > On Wed, Jul 14, 2010 at 8:33 AM, Andrew Lenharth <andrewl at lenharth.org> wrote: > >> On Wed, Jul 14, 2010 at 10:26 AM, Eli Friedman <eli.friedman at gmail.com> wrote: > >> Is alignment on a field
2010 May 04
1
Channel failover
How do you configure Asterisk to dial, in order, each channel from a group of channels until it either finds an available channel, or runs out of channels? We recently got VoIP, so when we make a call, Asterisk should first try to make the call with VoIP, but in case either our VoIP or our internet service are down, Asterisk should then try to make the call with our old school analog phone line
2010 Jul 14
1
[LLVMdev] different layout of structs for llc vs. llvm-gcc
I believe he was asking if adding __attribute__((aligned(NN))) to the fields worked. It's probably a cleaner away of accomplishing alignment than padding. Reid On Wed, Jul 14, 2010 at 2:03 PM, Torvald Riegel <torvald at se.inf.tu-dresden.de> wrote: > On Wednesday 14 July 2010 17:57:26 Andrew Lenharth wrote: >> On Wed, Jul 14, 2010 at 10:54 AM, Eli Friedman <eli.friedman at
2004 Sep 24
1
Call redirect with *
I would like to redirect a call from one IAX "destination" system to another and I'm wondering if it is possible and if so, how. Here is an explanation of what I mean: Point A is our main office. It has the lines from the PSTN and it converts them to VOIP traffic on an * box. Point B is a satellite office with a small number of people working who work there. It also has a * box
2012 Jan 05
1
[ncdf] programmatically copying a netCDF file
How to programmatically (i.e., without no or minimal handcoding) copy a netCDF file? (Without calling > system("cp whatever wherever") :-) Why I ask: I need to "do surgery" on a large netCDF file (technically an I/O API file which uses netCDF). My group believes a data-assimilation error caused a data variable to be corrupted in a certain way, so I'm going to
2006 Jul 20
2
programmatical retrieval of windows event logs from linux
Am a Linux guy and trying to support security monitoring for Windows devices. Am trying to find a programmatic way of pulling security and application logs from Windows machine. OR it can be a push model where windows can generate events/traps. It should all be built-in in windows with no external tool installation. Looks like there is no NATIVE built in asynchronous event
2012 Oct 18
1
routing issue with mounted engine - Rails 3.2.8
I mounted the Forem::Engine in my app MyApp::Application.routes.draw do scope "/:locale" do ... resources :sites, :only => [:none] do get ''home'', :on => :collection get ''events'', :on => :collection end .. mount Forem::Engine, :at => "/forums", :as => :forums, constraints: lambda { |r|
2005 Mar 22
0
In Call functions
Hi all, I want to know whether the following functions are already present in Asterisk (on SIP). 1.) To redirect a end-to-end call into a meetme room by pressing some key by either of the user (like Redirect Manager command) 2.) During a conference, invite more people by dialing their URI's when already in a call 3.) I dial a number on one phone and hang-up (maybe with a different
2011 Mar 17
0
Testing route with proc --- possible and how?
I have this route (Rails 3) which handles redirecting shortened urls: # handles the shortened url lookup match '':hash'' => redirect { |params| Sharing.get_url_path_by_short_url(params[:hash]) }, :constraints => { :hash => /[a-zA-Z0-9]{7}/ } It works correctly at the ui. However am having trouble getting a spec working for it. Note that in the UI the user must be
2005 Jun 06
1
Rails spider/site copy with internal web requests
Hi all, On a related topic to Web spidering, I would like to solve a problem of internally spidering and saving a Rails application from within rails. The goal is to spider and save each resource in a site to a filesystem friendly structure /many/things/1?page=3 -> many_things_1_page_3.html or /many/things/1?page=3 -> many/things/1_page_3.html If a redirect is created