#97 ✓resolved
MichelV69

Manager Events not triggered in Daemon mode

Reported by MichelV69 | June 15th, 2010 @ 09:49 AM | in 0.8.4

Adhearsion v0.8.4

events.rb:

events.asterisk.manager_interface.each do |event|
  case event.name.downcase
  when "hangup"
   ahn_log "events.rb: start hangup event"
   now = Time.new
   ahn_log "events.rb: end hangup event at #{now} "
  end
end # do event

I have three different installations for customers right now with similar behavior. In each case, the code in the "hangup" event does not fire (no logs or DB activity) if AHN is running in "daemon" mode in the background. However, when running in foreground mode, the hangup event fires as expected.

Current work around is to run ahn via the "screen" utility:

screen -d -m ahn start .

AHN is thus running in "foreground" mode on a detached screen session and hangup events are handled correctly.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages