events.asterisk.hungup_call not working
Reported by jsgoecke | January 6th, 2009 @ 08:13 AM
this code doesn't work at all:
events.asterisk.hungup_call.each do |event| puts "!!!!!! event hungup !!!!" end
i found that : in "events_support.rb" line 32, that is : /asterisk/hungup_call but in "agi_server.rb" line 38, that is : Events.trigger [:asterisk, :call_hangup], hungup_call.call
i think it's a bug.
Originally reported here:
Comments and changes to this ticket
-
Jayson Vaughn January 26th, 2009 @ 05:56 PM
I had the same problem; after a few changes I was able to get it working great.
I pushed code to my adhearsion fork on github. Hopefully this will be pushed upstream shortly.
-
jsgoecke January 29th, 2009 @ 09:56 PM
Great, thanks for that. I will follow-up with Jay. Could you be sure to do a pull request to Jay on your change?
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป