search for: do_th

Displaying 2 results from an estimated 2 matches for "do_th".

Did you mean: do_sh
2008 Jun 05
1
Using and_yield to pass multiple or no iterations
Hi, imagine there''s a class called Egg which has the following method (which calls another method): <CODE> def do_thing has_iterated = false self.each_row do |row| has_iterated = true unless has_iterated end has_iterated end </CODE> Stupid code, I know. I have two questions with it. The first is, would it be possible to set it up to test the case when each_row operates on an empty Array? Sort...
2006 Mar 10
2
Action after _caller_ has hungup(cmd Dial 'g'-option)
Hello! There's the "g"-option for the Dial-cmd that allows to execute the next extensions in the current context when the callee hangs up. I would need the same for a call where the caller hangs up, concretely i have to inform a agi-application of the end of a call. Does someone know a way to do this from the dialplan? thanks Christian