similar to: Challenge

Displaying 20 results from an estimated 4000 matches similar to: "Challenge"

2007 Sep 21
3
merb 0.4.0 - redirect problems
I had redirects working just the other day... before I upgraded to the latest release. Can somebody please chime in as to why this simple redirect is throwing an error? Controller: ----------------------- def do redirect "http://www.ebay.com" end Error Output: ------------------------- Internal server error 500 uninitialized constant Merb::ControllerMixin::MovedTemporarily in
2007 Oct 16
6
respond_to API
I''ll probably do my respond_to API rewrite, as discussed here: http://rubyforge.org/pipermail/merb-devel/2007-September/000275.html sometime this week, unless someone has come up with a better API. I''ll also work in http://merb.devjavu.com/ticket/227 at the same time. Any serious objections?
2007 Sep 22
9
skeleton and configs
Hi people, just thought I''d mumble out my thoughts on merb''s apps directory structure and config concepts and see what other people are feeling... the app dir: mvc/application is layed out as expected....maybe without the mailer by default (another discussion) the config dir: I really think that it''s confusing to have such a mixture of ways to configure some
2009 Mar 12
1
Trying to get sample applicationmap to work (*1.4)
I'm trying to actually use the example application map in features.conf: testfeature => #9,peer,Playback,tt-monkeys ;Allow both the caller and callee to play ;tt-monkeys to the opposite channel I see the feature get registered at the CLI: == Registered Feature 'monkey' == Mapping Feature 'monkey' to app
2007 Oct 27
1
merb_has_flash 0.0.1 - Rails-style flash
I ripped the flash stuff from merb and stuck it in a plugin, for folks who want a Rails-style flash. It''s on Rubyforge: http://rubyforge.org/projects/merb-plugins/ And will maybe have a little homepage: http://merb-plugins.rubyforge.org/merb_has_flash/ Try it out, please send bug reports to me via email for now.
2007 Aug 12
2
[PATCH] merb-rakefile-more-dist-byebye.diff
In rev 410, "rake db:migrate" doesn''t run because the Rake tasks are still looking for dist/ This patch removes all the references to dist/ that I could find. Ez, consider this a full copyright transfer from me to you on this and future patches; I''ll sign something official if you need it. -------------- next part -------------- A non-text attachment was
2007 Dec 07
4
mrblog rake task fails
Hi all, I''m trying to run the mrblog sample application but somehow the rake task fails: -- Los-Angeles:~/Projects/mrblog Ulf$ rake db:schema:load --trace (in /Users/Ulf/Projects/mrblog) rake aborted! Don''t know how to build task ''db:schema:load'' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1472:in `[]''
2007 Sep 20
11
Proposed API change for respond_to
Ez (or someone) asked on #merb tonight whether respond_to was the right API for what it does. After some discussion and pasties, I offer the following proposed API for content negotiation and response format selection: First, what does respond_to do right now? I see at as performing 3 distinct operations: 1. parse params[:format] and the accepts header to find out what format the
2007 Aug 29
11
Non-Erubis Templates
Trunk Issue: Because of the use of ''autoload'', template handlers other than Erubis are not loaded automatically (Haml, XMLBuilder). Either this should be fixed, or the documentation should be updated to instruct people how to use non-Erb template engines. Apparently the solution is to do something like this in merb_init.rb: ::Merb::AbstractController.register_engine
2009 Nov 10
10
Un-recognised routes that do exist, using namespaces & subdomain checking
I''m getting really cheesed off with RSpec not matching some of my routes when controller testing when I have subdomain checking (courtesy of subdomain-fu) on namespaces. These routes appear in the rake routes output, and work fine via HTTP requests . The really annoying thing is it''s working fine for routes that aren''t at the root of the namespace. E.g. say I have
2007 Aug 10
2
Dialplan loop
Folks, I'm trying to implement a simple loop in a dialplan. The object is to set a counter, run through some IVR options, increment the counter, return to the start, then finally fall through to an operator or voicemail. Am using 1.4.10 and have reviewed doc/ exten => s,1,Set(TIMEOUT(digit)=5) exten => s,n,Set(TIMEOUT(response)=20) exten => s,n,Set(loop = 0) exten =>
2009 Dec 15
1
cdr question
Hello, I'm using Asterisk 1.6.X version and I'm creating IVR. My question : is it possible create CDR record , before client is exiting from contexts ? My test dialplan is: context Sales { _X. => { Ringing(); Wait(4); Answer(); Playback(tt-monkeys); goto Techs|${EXTEN}|1; } } context Techs { _X. => { Playback(tt-monkeys); Playback(tt-monkeys); goto
2007 Jun 19
3
Ex-Girlfriend Logic in 1.4.4
I have this in my dialplan... [general] static=yes writeprotect=no clearglobalvars=no [start] exten => 5000,1,Answer exten => 5000,n,Wait(1) exten => 5000,n,NoOp(${CALLERID(num)}) exten => 5000,n,Playback(tt-monkeys) which, when I dial 5000, executes this... == Parsing '/etc/asterisk/sip_notify.conf': Found -- Executing [5000 at start:1]
2008 Jul 03
2
Asterisk VXML... Help.
So, I'm trying to get the Asterisk vxml (from i6net) working. Having no luck with it. My dial plan has: exten => _X.,1,Answer() exten => _X.,n,Wait(1) exten => _X.,n,Vxml(file:///tmp/menu.vxml) The /tmp/menu.vxml file has: <?xml version="1.0"?> <vxml version="1.0"> <form> <block><audio
2003 Nov 05
1
To anyone with a grandstream budgetone...
I logged a bug I wanted to see if anyone else is having this problem or if it's just me. http://bugs.digium.com./bug_view_page.php?bug_id=0000486 I just downloaded the newest version from CVS(Tuesday@~7pm) and I am getting an error whenever I call the asterisk box. I cannot here any audio on the budgtone. This works fine with my pingtel phone and my sip 7960. Also if I call my Skinny 7960 it
2007 Dec 03
4
Soundcard necessary on an asterisk server to get output of playback()??
Hi, I' still fighting the problem, that I can talk from one SIP phone to another, but I can't hear the output of the playback or similar applications: exten => 202,1,ANSWER() exten => 202,2,PLAYBACK(tt-monkeys) exten => 202,3,HANGUP() When I dial 202, asterisk show the following on the cli: -- Executing [202 at local:1]
2012 Nov 15
3
merge dataframes with condition
Hi @ all, I wamnt to combine two dataframes including a condition. I have two dataframes like the following: animal<-c("bear","bear","lion","monkey","fish","monkey","bear","zebra","zebra") val<-c(2,42,67,5,12,9,87,1,12)
2010 Aug 18
4
Using objectname in function
Is there anyway I can convert a vectors objectname to a string to be used in fx: Monkey<-c(0,0,0,1,1,1) Wax<-c(1,0,1,0,1,0) f<-function(x,y){ table(x,y) } f(Monkey,Wax) so that the printout is not y x 0 1 0 1 2 1 2 1 but Wax Monkey 0 1 0 1 2 1 2 1 -- View this message in context:
2009 Mar 05
4
Table of contents
I'm using Markdown in an app and would like to provide support for including a table of contents. Any suggestions for a syntax? Has anyone done this before? My first thoughts are: 1. Have a special header item (using markdown extra's header syntax), e.g. generate-contents: yes 2. Have a special xml tag with optional alternative text inside, e.g. <contents> 1. First thingy 2.
2007 Mar 16
1
transfer=mediaonly : can't hear nothing
I've setup this simple configuration to test the new mediaonly iax feature in 1.4 : Input (client) -> Server (routing) -> Termination transfer=no transfer=mediaonly transfer=no all the machines are in the same 192.168.0.x net the routing Server in the middle has iaxusers realtime backend on mysql the call is originated with a sip phone registered on the Input client