similar to: Passing function names from string variables

Displaying 20 results from an estimated 100 matches similar to: "Passing function names from string variables"

2006 May 05
2
dovecot LDA w/virtual domains and postfix
Hi, I've been trying to follow the documentation that I am finding, but am running into trouble getting things set up correctly for postfix + virtual domains (using ldap) with dovecot LDA. I can get it to work without LDA, but I'm running into permissions problems when I try to run with LDA. I am wondering if anyone has any good examples of configuring this. I basically have a
2006 Mar 18
6
ActiveLDAP and variable sub scope object writing
Anyone out there using ActiveLDAP have an idea how I can accomplish creating an object one level below a known base where we have a variable item in the middle? That first sentence doesn''t even make sense to me. Here''s what I want to do: I have a user class that I use for managing users. Each user gets a ou called addressbook (which in turn will contain sub-entries, but
2006 Jun 19
6
User Loses Ability to Make Outgoing Calls
We've been running an Asterisk-based phone system here in our office for a year and a half, and it's pretty much been running smoothly. One employee who works out of the office has a problem that she can't make outgoing calls on a temporary basis every so often (a few times a day). No one else has this problem, her settings are fine, and she regains the capability spontaneously with no
2006 May 04
1
SIEVE: Any information at all?
Hi, I am quickly losing the will to live over the lack of any kind of information at all about the SIEVE support that is listed in the dovecot features list. Does anyone have any information at all? I've grepped through the source, looked through all the configuration files, and googled a fair bit and come up with nothing at all. How would a user with maildir enable a sieve script?
2010 Mar 30
6
find conditions issue
I am making a search to look through my database at a string that I enter into a text field. I got it to work properly if I enter in the exact title but I wanted to see if I could find database entries with similar titles. I currently have this code that works: @find = Product.find(:first, :conditions => ["title = ''#{name}''"]) So when I enter in "Rolling
2008 Nov 13
4
Moving a file with Puppet
I wanted to move a file from one directory to another because my co- worker didn''t like where it was being put by puppet. I went into puppet and changed the name parameter of the the file directive. I then created a new file directive to delete the old file, but I was wondering if there was a better way to do this. So, just to clarify, I went from: file {"myfile": name
2009 Jun 24
7
PHP AGI Not Working and Odd Behavior
Hi, I'm running asterisk 1.4.22 on a debian server. I have php5 installed and it works correctly command line. When trying to run a php script via AGI, I get messages such as: GI Tx >> I> AGI Rx << #!/usr/bin/php5 -q AGI Tx >> 510 Invalid or unknown command The scripts are completely executable and owned by asterisk -rwxr-xr-x 1 asterisk asterisk Googling is not helping
2012 Jul 13
2
alternate tick labels and tick marks with lattice xyplot
Hi, I would like to use xyplot to create a figure. Unfortunately, I cannot find documentation in xyplot to specify alternating the x-axis tick labels with the x-axis tick marks. I can do this with the regular R plot function as follows. #A small version of my data looks like this data<-data.frame(matrix(ncol=3,nrow=12)) data[,1]<-rep(c(1,2,3),c(4,4,4)) data[,2]<-rep(c(1,2,3,4),3)
2006 Mar 06
1
ActiveLDAP handle uppercase attributes?
Does anyone know how to assign values to LDAP objects with upper cased attributes? For example, you can normally do: user = User.new(@user) user.sn = params[:user][attr] But what about the case where there is an attribute that looks like OXTimeZone? You clearly can''t do: user = User.new(@user) user.OXTimeZone = params[:user][attr] I''m trying to
2004 Sep 23
1
Alternate MP3 Player
Hi! I am currently working on setting up an Asterisk system, and I was wondering if anyone has worked on an alternate mp3 player to mpg123. We have a library of MP3 files that we would like people to be able to select and play over the phone -- and this will require pause & resume, as well as fast forward / reverse (jump forward / jump back). It doesn't seem like mpg123 can do this. Is
2009 Mar 23
1
Axes in 3D plots
I am wondering if anyone knows how to change or rotate the default axes on a 3D scatterplot. I would like to change which sides of the cube the 3 axes are displayed on. Many thanks, Leah Gerber [[alternative HTML version deleted]]
2007 Jan 19
1
naive bayes help
Hello I have a rather simple code and for some reason it produces an error message. If someone can tell me why and how to fix it, I would be very greatful. Thank you in advance. ##### create data set.seed(10) n <- 200 # number of training points n.test <- 200 # number of test points p<-2 # dimension of input space z <-
2008 Oct 29
3
Blank Voicemail.Conf after Password Change
Hi, For a few weeks now, our asterisk server has been experiencing something very odd. From time to time, voicemail.conf would go blank. We finally tracked it down to happening when someone attempts to change their password. It seems the file is touched, but not written to, and we're left with a blank voicemail file. Permissions seem to be fine: -rw-rw-r-- 1 asterisk asterisk 12707
2012 Apr 01
3
Mail migration troubles
Hello all, OK, I would really appreciate your help on this. I managed to do a pretty straight-forward and flawless migration on dovecot from one domain to another. However, I have this nagging problem with most of the thunderbird MTAs. When I try to delete some "test" messages I sent to make sure that everything works, it comes back with the following message on the bottom of the
2009 Feb 26
11
OpenSSL::Cipher decrypt returns 'wrong final block length'
I just want to encrypt a string submitted through a form before saving it to the DB. And then decrypt it again when I need to retrieve and use it. Im trying to use the OpenSSL::Cipher library. I have the following module for encryption/decryption [code] require ''openssl'' module AESCrypt # Decrypts a block of data (encrypted_data) given an encryption key # and an
2007 Jul 19
8
Blank Voicemails
Hi, we're running Asterisk 1.2.10 and have been randomly being left blank voicemails with long messages that we can't hear. I've searched and searched but cannot find a solution. This is what happens: Internal Server runs Asterisk 1.2.10 where our mailboxes are Incoming Server (behind a firewall) runs Asterisk 1.2.13 and calls are bridged between this server and our internal server.
2006 Jun 22
1
Re: Can I enter an extension to dial whilevoicemail is playing?
The options are not seperated by commas. exten => s,1,Dial(SIP/50,23,r,d) should be exten => s,1,Dial(SIP/50,23,rd) -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]On Behalf Of John Klimek Sent: Thursday, June 22, 2006 2:59 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users]
2006 Jan 28
8
how to pass search parameters to pagination links
I have a search page with a text_field as below <%= text_field ''program'', ''program_name'' %> After I perform the search in my controller I go to a search results view which shows search results and uses Rails pagination. Now how to pass the search paramters (i.e. params[:program][:program_name] in my controller) to the pagination links (next and
2008 Oct 10
4
Budge Tones pick up wrong calls
We have 3 Grandstream Budge Tone 100 phones which are being very fluid on incoming calls. They are set up as extensions 2501, 2518, and 2536. When calling out to another phone, they always identify themselves correctly. But sometimes they will respond to the wrong incoming calls. (By respond, I mean that the phone rings and if someone picks up the receiver, the call then goes thru.) For
2006 Mar 05
2
ActiveLDAP maintain user connection
Hi, I''ve just started to do some work using ActiveLDAP and Rails. I''ve managed to get some basic login code that works to authenticate users, but I would like to be able to maintain that connection for the User Model so that the ACL''s in LDAP for each user will be used correctly as the various controller queries are made. I haven''t quite sorted out how to