#71 ✓resolved
ronin-9952 (at lighthouseapp)

hangup fails to stop application execution

Reported by ronin-9952 (at lighthouseapp) | May 20th, 2009 @ 07:04 PM

documentation says:

"hangup() Hangs up the current channel. After this command is issued, your application will stop executing. ..."

dialplan.rb:

hangup_is_broken {

puts "BEFORE hangup()"
hangup
puts "AFTER hangup()"
sleep 5
puts "WAY AFTER hangup()"

}

ahn stdout:

INFO agi: Handling call with variables {:dnid=>15126000516, :channel=>"SIP/xaY99Kka96-089263f0", :type=>"SIP", :callingpres=>0, :calleridname=>"Walker Wayne", :uniqueid=>1242856110.169, :request=>#<URI::Generic:0xb76a4fe8 URL:agi://127.0.0.1/>, :callingtns=>0, :rdnis=>nil, :query=>{}, :callerid=>5123107012, :accountcode=>"", :context=>"hangup_is_broken", :network=>true, :extension=>"s", :type_of_calling_number=>:unknown, :language=>"en", :callingani2=>0, :priority=>2, :enhanced=>0.0}
BEFORE hangup()
AFTER hangup()
WAY AFTER hangup()

Comments and changes to this ticket

  • Jay Phillips

    Jay Phillips June 4th, 2009 @ 04:00 PM

    • Tag changed from execution, hangup to documentation, hangup
    • State changed from “new” to “resolved”

    This was just a documentation issue. Fixed in master now.

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