[Telegraph-users] problem starting ami_event_handler

Peter P GMX Prometheus001 at gmx.net
Fri Apr 4 06:27:55 EDT 2008


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
>
>   


More information about the Telegraph-users mailing list