From mike at infoanywhere.com Wed Apr 2 15:35:44 2008 From: mike at infoanywhere.com (Mike Clark) Date: Wed, 02 Apr 2008 15:35:44 -0400 Subject: [Telegraph-users] problem starting ami_event_handler Message-ID: <47F3E010.6000306@infoanywhere.com> I could not get the ami_event_handler to start. I get the following error messages. # script/ami_event_handler Loading DRb ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in `load_missing_constant': uninitialized constant RAI (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in `const_missing' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in `const_missing' from ./script/../config/../app/ami_logic/ami_logic.rb:1 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in `new_constants_in' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in `require' ... 22 levels... from script/ami_event_handler:58:in `send' from script/ami_event_handler:58:in `initialize' from script/ami_event_handler:162:in `new' from script/ami_event_handler:162 From Prometheus001 at gmx.net Fri Apr 4 06:27:55 2008 From: Prometheus001 at gmx.net (Peter P GMX) Date: Fri, 04 Apr 2008 12:27:55 +0200 Subject: [Telegraph-users] problem starting ami_event_handler In-Reply-To: <47F3E010.6000306@infoanywhere.com> References: <47F3E010.6000306@infoanywhere.com> Message-ID: <47F602AB.8030706@gmx.net> Hello Mike, for me it seems, that the Drb server doesn't connect to Asterisk. I am also struggling with that. I had the same problem with ami_server which had a missing Telegraph constant. After I passed the correct login credentials to Asterisk it worked fine. Maybe we can solve it together. So my first question is: Where and how do you place your login credentials for ami_event_handler? Best regards Peter Mike Clark schrieb: > I could not get the ami_event_handler to start. I get the following > error messages. > > # script/ami_event_handler > Loading DRb > ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no > restart). > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in > `load_missing_constant': uninitialized constant RAI (NameError) > from > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in > `const_missing' > from > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in > `const_missing' > from ./script/../config/../app/ami_logic/ami_logic.rb:1 > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > from > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' > from > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in > `require' > from > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in > `new_constants_in' > from > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in > `require' > ... 22 levels... > from script/ami_event_handler:58:in `send' > from script/ami_event_handler:58:in `initialize' > from script/ami_event_handler:162:in `new' > from script/ami_event_handler:162 > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > > From djidane41771 at yahoo.fr Fri Apr 4 11:25:43 2008 From: djidane41771 at yahoo.fr (ENG Borei) Date: Fri, 4 Apr 2008 15:25:43 +0000 (GMT) Subject: [Telegraph-users] problem starting ami_event_handler In-Reply-To: <47F602AB.8030706@gmx.net> Message-ID: <836191.55590.qm@web25707.mail.ukl.yahoo.com> An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/telegraph-users/attachments/20080404/64a8cad9/attachment.html From Prometheus001 at gmx.net Sun Apr 6 14:50:43 2008 From: Prometheus001 at gmx.net (Peter P GMX) Date: Sun, 06 Apr 2008 20:50:43 +0200 Subject: [Telegraph-users] problem starting ami_event_handler In-Reply-To: <836191.55590.qm@web25707.mail.ukl.yahoo.com> References: <836191.55590.qm@web25707.mail.ukl.yahoo.com> Message-ID: <47F91B83.40904@gmx.net> Thanks for the hint. This works in the controller class. In my case I had to change a line in script/ami_event_handler I changed c = DRbObject.new(nil, 'druby://localhost:9000') to my local IP where ami_server is listening on: c = DRbObject.new(nil, 'druby://192.168.178.51:9000') Now I start ami_server and then ami_event_handler and it finally works. I am happy. Best regards Peter ENG Borei schrieb: > hi > > guys, just try to change RAI in the ami logic class declaration by > Telegraph. > > hope thats will works > > Bore? > > --- En date de : *Ven 4.4.08, Peter P GMX //* a > ?crit : > > De: Peter P GMX > Objet: Re: [Telegraph-users] problem starting ami_event_handler > ?: telegraph-users at rubyforge.org > Date: Vendredi 4 Avril 2008, 12h27 > > Hello Mike, > > for me it seems, that the Drb server doesn't connect to Asterisk. I am > also struggling with that. I had the same problem with ami_server which > had a missing Telegraph constant. After I passed the correct login > credentials to Asterisk it worked fine. > > Maybe we can solve it together. So my first question is: Where > and how > do you place your login credentials for ami_event_handler? > > Best regards > Peter > > Mike Clark schrieb: > > I could not get the ami_event_handler to start. I get the following > > error messages. > > > > # script/ami_event_handler > > Loading DRb > > ** Signals ready. TERM => stop. USR2 => restart. INT => stop > (no > > restart). > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in > > > `load_missing_constant': uninitialized constant RAI (NameError) > > from > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in > > > `const_missing' > > from > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in > > > `const_missing' > > from > ./script/../config/../app/ami_logic/ami_logic.rb:1 > > from > > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > > `gem_original_require' > > from > > /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > > from > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in > > > `require' > > from > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:342:in > > > `new_constants_in' > > from > > > /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:495:in > > > `require' > > ... 22 levels... > > from script/ami_event_handler:58:in `send' > > from script/ami_event_handler:58:in `initialize' > > from script/ami_event_handler:162:in > `new' > > from script/ami_event_handler:162 > > > > _______________________________________________ > > Telegraph-users mailing list > > Telegraph-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/telegraph-users > > > > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > > > ------------------------------------------------------------------------ > Envoy? avec Yahoo! Mail > . > Une boite mail plus intelligente. > ------------------------------------------------------------------------ > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > From Prometheus001 at gmx.net Tue Apr 8 17:44:53 2008 From: Prometheus001 at gmx.net (Peter P GMX) Date: Tue, 08 Apr 2008 23:44:53 +0200 Subject: [Telegraph-users] Configuring Telegraph via telegraph.yaml Message-ID: <47FBE755.6000304@gmx.net> Hello, I made ami_server + ami_event_handler configurable via telegraph.yaml (agi_server was already done. If anybody is interested, I can send you a small document which describes how to do it. Best regards Peter From david at corp.hbqt.fr Fri Apr 11 09:40:50 2008 From: david at corp.hbqt.fr (David) Date: Fri, 11 Apr 2008 15:40:50 +0200 Subject: [Telegraph-users] breakpoint and template_root patches Message-ID: <47FF6A62.8040207@corp.hbqt.fr> Hello, We prepare (for a long time, in fact) a migration of our current Asterisk logic to Telegraph controllers. I've just migrated successfully our existing Telegraph code into our current trunk. But I had few troubles with the Telegraph current code. * template_root is used by render_voice, but it seems to be replaced by view_paths * breakpoint is required by CallConnection but without being really used (already signaled in march in this list) The two small patches are in attachments. I hope it can be usefull. -- David - HubiDev team http://www.hubiquity.fr -------------- next part -------------- A non-text attachment was scrubbed... Name: telegraph-trunk-fix-template-search.patch Type: text/x-diff Size: 1797 bytes Desc: not available Url : http://rubyforge.org/pipermail/telegraph-users/attachments/20080411/21cb9460/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: telegraph-trunk-remove-breakpoint.patch Type: text/x-diff Size: 307 bytes Desc: not available Url : http://rubyforge.org/pipermail/telegraph-users/attachments/20080411/21cb9460/attachment-0001.bin From Prometheus001 at gmx.net Sun Apr 13 08:00:03 2008 From: Prometheus001 at gmx.net (Peter P GMX) Date: Sun, 13 Apr 2008 14:00:03 +0200 Subject: [Telegraph-users] breakpoint and template_root patches In-Reply-To: <47FF6A62.8040207@corp.hbqt.fr> References: <47FF6A62.8040207@corp.hbqt.fr> Message-ID: <4801F5C3.90701@gmx.net> Hello David, this seems interesting and I am curiuous about it. Can you explain what you mean by "We prepare (for a long time, in fact) a migration of our current Asterisk logic to Telegraph controllers." How do you do this? Do you laos migrate voicemails etc. Best regards Peter David schrieb: > Hello, > > We prepare (for a long time, in fact) a migration of our current > Asterisk logic to Telegraph controllers. > > I've just migrated successfully our existing Telegraph code into our > current trunk. But I had few troubles with the Telegraph current code. > > * template_root is used by render_voice, but it seems to be replaced by > view_paths > * breakpoint is required by CallConnection but without being really used > (already signaled in march in this list) > > The two small patches are in attachments. > > I hope it can be usefull. > > ------------------------------------------------------------------------ > > _______________________________________________ > Telegraph-users mailing list > Telegraph-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/telegraph-users > From david at corp.hbqt.fr Mon Apr 14 08:39:34 2008 From: david at corp.hbqt.fr (David) Date: Mon, 14 Apr 2008 14:39:34 +0200 Subject: [Telegraph-users] breakpoint and template_root patches In-Reply-To: <4801F5C3.90701@gmx.net> References: <47FF6A62.8040207@corp.hbqt.fr> <4801F5C3.90701@gmx.net> Message-ID: <48035086.4090203@corp.hbqt.fr> Peter P GMX wrote: > Can you explain what you mean by > "We prepare (for a long time, in fact) a migration of our current Asterisk logic to Telegraph controllers." > > How do you do this? Do you laos migrate voicemails etc. Our Asterisk servers will migrate on a new AGI architecture to improve our telephony services. For several months, we made several (small) tests with Telegraph. We're starting a whole migration to Telegraph to make more complete tests. Our AGI scripts manage voicemails, customer announces, fax detection and receiving, validation calls, etc ... The Telegraph "Rails integration" is very interesting (may be difficult to maintain and follow the Rails evolutions). We hope these first patches can help. -- David - HubiDev team http://www.hubiquity.fr