Displaying 2 results from an estimated 2 matches for "dial_param".
Did you mean:
  dial_params
  
2010 Jul 26
0
URGENT - who picked up the call??
...$agi.answer
                                                $agi.exec('WAIT', '2')
                                
                                                local_channels =
get_locals()
                                                dial_params =
local_channels.join('&')
                                                dial_params <<
"||m(moh-0900-#{@moh_id})" if moh_available?()
 
                                                1.times do
                                                                r =...
2010 Jul 28
1
Passing Variables From Dial Macro To Parent Ruby
...rom my ruby script.
 
The only thing that I cant do so far, is capturing the ${CHANNEL} variable
in the ruby script that started the macro.
 
Is that variable accessible from the ruby script too or just from the macro?
 
Here's a snippet from my ruby script:
 
 
                        dial_params << "||M(testing)m(moh-0900-#{@moh_id})"
if moh_available?()
 
                        1.times do
                                r = $agi.exec('DIAL', dial_params)
                                r = $agi.get_variable('DIALSTATUS')...