Displaying 3 results from an estimated 3 matches for "managercontroller".
Did you mean:
manager_controller
2006 May 23
3
Transfer extensions processing control to Manager
I'm developing an application that monitors the state of the incoming
calls using Manager events. So, as a part of it, I need to "override"
the control of the extensions by the dialplan itself. The problem is
that, if I don't declare the incoming extension, Asterisk hangs up the
call by default. So I want to know if there's some kind of
"ManagerControl() application
2006 Apr 27
1
XML output ..
Hi,
I have a method showme_xml in my controller manager_controller.rb
class ManagerController < ApplicationController
def shome_xml
end
end
I have got a shome_xml.rxml template in my view section.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 27
3
XML output
..._AVAILABLE''>
<message>Some text</message>
<from>Me</from>
</response>
I make a request like such
http://localhost:3000/manager/shome_xml?from=Me
The page i get back is blank.
I have a method showme_xml in my controller manager_controller.rb
class ManagerController < ApplicationController
def shome_xml
@from = params[:from]
render :action => "showme_xml", :layout => nil
end
end
I have got a shome_xml.rxml template in my view section.
xml = Builder::XmlMarkup.new
xml.response(:status => "NOT_AVAILABLE")
xml.messa...