search for: premise

Displaying 20 results from an estimated 514 matches for "premise".

Did you mean: precise
2011 Feb 16
3
stubbing gets undone?
I''m looking at an example where a stub seems to work sometimes, and sometimes appears to become "unstubbed". I haven''t boiled it down to a minimal example, but it goes something like this: ---- the model: class Premise << ActiveRecord::Base def lookup_stuff_on_the_web $stderr.puts("entering lookup_stuff_on_the_web with #{self}") ... end end ---- the rspec test file: describe Analysis do before(:each) do @premise = Factory(:premise) @premise.stub(:lookup_things_on_the_web)...
2012 Apr 05
5
rspec: identical tests fails when repeated
...ext "with user logged in" do before(:each) do @user = mock_model(User, :admin? => false, :guest? => false) controller.stub(:current_user) { @user } # aka login @attributes = valid_attributes end # succeeds it "should create a new Premise" do lambda{ post(:create, {:premise => @attributes}, :format => :json) }.should change(Premise, :count).by(1) end # fails with CanCan::AccessDenied it "should create a new Premise again" do lambda{ post(:create, {:p...
2011 Mar 01
6
render :collection calling partial with phantom object?
I have two models with a straightforward has_many / belongs_to relationship: class Premise < ActiveRecord::Base has_many :metered_services, :dependent => :destroy ... end class MeteredService < ActiveRecord::Base belongs_to :premise ... end and nested routes to match: Demo::Application.routes.draw do devise_for :users resources :premises do resources :metered_...
2003 Nov 01
4
NAT router and off-premise SIP audio problem
...sing a dynamic DNS service to resolve our address. The Asterisk server has been alternately set up behind a NAT router and without a NAT router -- that is, with two NICs, one of which is providing NAT to the rest of the network; the office SIPs are behind that with static private IP addresses. Off-premise SIPs are all behind simple NAT routers. Off-premise SIPs have been able to receive calls from and make calls through the PSTN. No problem. Calls between on-premise SIPs, not a problem. Calls between off-premise SIPs and any other SIPs connected to the server are a problem... they ring up but no au...
2018 Mar 01
8
RADIUS
...cache of other emails. > > What do you want? I was asking for documentation telling me how RADIUS can be used, not only that it can be used. > What are your constraints? [AKA what have you been told to do.] The task is to provide wireless coverage for employees and customers on company premises. It is desirable to be able to keep track of customers, as in knowing where exactly on the premises they currently are (within like 3--5 feet, which is apparently tough), and simpler things like knowing how long they stay and if they have been on the premises before. To avoid legal issues, it is...
2009 May 14
2
Moving premises, new server at new building
Hi all, Our company is looking at moving premises some time next year, the plan at the moment is to have a new server room with all new servers set up at the new building prior to moving the workstations over. I'm wondering if anyone has done anything like this and what the best way to proceed is. We are using an LDAP backend. I am not co...
2003 Nov 02
1
FW: NAT router and off-premise SIP audio problem
...ice was a compelling one. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Rich Adamson Sent: Saturday, November 01, 2003 8:53 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] NAT router and off-premise SIP audio problem Jim, > Off-premise SIPs are all behind simple NAT routers. > > Off-premise SIPs have been able to receive calls from and make calls > through the PSTN. No problem. Calls between on-premise SIPs, not a problem. > Calls between off-premise SIPs and any other SIPs c...
2010 Nov 16
2
T1 with Robbed Bit Signaling
Has anyone here used T1s with RBS with asterisk? Cary Fitch
2009 Mar 29
12
need trouble ticket system
Hi, I need to implement trouble tracking system, we have 250 users in one premise & 3 desktop support technicians. I need to implement trouble ticket system, where user will enter their application / other issues. Mail will be sent to technician available on duty. trouble ticket will be provided to user & will be given close stat once resolved. Kindly suggest me one su...
2020 Oct 18
3
Using NFS to extend local email storage
We are running our IMAP mail server on a VPS in the cloud (dovecot+exim+horde webmail), and we are using our on-premises NAS for daily backups through custom rsync scripts (which work well with maildir). There is a lot of storage available on the NAS, while not so much on the VPS. Since, we often get downtime on-premises due to power outages we cannot move the mail server on-premises (though the outages do not inter...
2004 Oct 28
1
polr versus multinom
...searching for methods to compare regression models with an ordered categorical response variable (polr versus multinom). The pattern of predictions of both methods (using the same predictor variables) is quite different and the AIC is smaller for the multinom approach. I guess polr has more strict premises for the structure of the response variable, which methods can be used to test for these premises. If the AIC is smaller for the multinom approach is this approach more appropriate in every case? thanks for help Matthias *********************************************************** Matthias S...
2008 Jul 16
1
Help regarding arules package
Dear R experts,   I need help to make my little program efficient which now takes 2hrs to complete.   Using arules package I developed set of rules consisted of 900 rules. Now I want to check whether a lower rule is a subset of a higher premises rule. And if it is a subset of higher premises rule then drop this rule. I am using following code but it takes too much time.      nor<-length(rules) k<-rep(T, nor) for(i in 1:(nor-1)){       for(j in (i+1):nor){          if((is.subset(lhs(rules[i]),lhs(rules[j])) & is.subset(rhs(rules[...
2003 Jul 18
1
VoIP in hotels
Our company can offer VoIP to premises and domestic users and bill the premises as a whole. We need something to enable the hotel owner to bill each guest in a hotel in real time. What solutions do exist presently? (PS: Our radius (and every telephony equipment outside the hotel) does not recognise which room in the hotel initiated...
2011 Apr 22
0
how to set up fields_for to choose a subclass?
...fic utility provider. When the user goes to choose a UtilityProvider, I want to present a pull-down list of UtilityProvider.subclasses (or, more likely, a filtered version of that), and when the user hits [submit] to create the appropriate subclass. To add a little spice to the question, I have a Premise model, and premise has_many :utility_providers and I''m using nested routes to represent the relationship: resources :premises do resources :utility_providers end So at the point in my code where I invite the user to create a new UtilityProvider, I *do* have a @premise, but I do...
2013 Dec 14
2
[LLVMdev] Dropping debug info for base classes with pure virtual functions
...versation rather than restarting from scratch. > Personally I believe it better not be intended (we still do emit debug > info if the virtual function is commented out), That we do emit debug info if the virtual function is commented out doesn't indicate that this is a bug. The basic premise for the optimization is that if the type is used, its vtable must be emitted /somewhere/ so we only emit the debug info for the type where we emit the vtable information for the type. GCC already implements this optimization, so even if you compile half your code with Clang and half with GCC (or, s...
2013 Dec 14
0
[LLVMdev] Dropping debug info for base classes with pure virtual functions
...an restarting from scratch. > > Personally I believe it better not be intended (we still do emit debug info if the virtual function is commented out), > > That we do emit debug info if the virtual function is commented out doesn't indicate that this is a bug. > > The basic premise for the optimization is that if the type is used, its vtable must be emitted /somewhere/ so we only emit the debug info for the type where we emit the vtable information for the type. GCC already implements this optimization, so even if you compile half your code with Clang and half with GCC (or, s...
2010 Nov 07
7
Big practical systems
I don't want to start the "How many calls can Asterisk handle?" discussion or "How many angels can stand on the point of a pin?" discussion either. But can anyone contribute some practical knowledge of systems that take in channel bank T1s or DS3s from "far away", and process the calls? I am looking for real world, been there, done that, or "check the
2009 Jan 16
0
No subject
...> > -- Alex > > > On Fri, 13 Feb 2009 04:17:37 -0500, Alex Balashov > <abalashov at evaristesys.com> wrote: >> >> This discussion is not making any sense to me. >> >> Just what type of access product is this? >> >> If you have fiber to the premise and are handed Ethernet from there to a >> Cisco switch, it is some sort of Metro Ethernet or NMLI (Native Mode LAN >> Interconnection) type product. It could also be framed over mid-band > gear >> over copper at some point in the circuit design and they could be fibbing >&...
2018 Mar 01
0
RADIUS
...want? > > > I was asking for documentation telling me how RADIUS can be used, not only > that it can be used. > >> What are your constraints? [AKA what have you been told to do.] > > > The task is to provide wireless coverage for employees and customers on > company premises. It is desirable to be able to keep track of customers, > as in knowing where exactly on the premises they currently are (within > like 3--5 feet, which is apparently tough), and simpler things like knowing > how long they stay and if they have been on the premises before. To avoid >...
2009 Jan 08
6
Not Dialing 9
When I set up my Asterisk box at home I didn't want to have to dial 9 to dial off premises, so I gave all my local phones three digit extensions with this format: 1[1,0]*. My thought is that there are no area codes that start with 0 or 1, so if I use those numbers, I can create 20 local extensions that can be dialed with 3 digits, and not have to use a timeout when dialing long distanc...