-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asterisk bridges terminate both parties when one leaves #193
Labels
Comments
BTW, my observance of this issue was on Asterisk 11.3 |
Turns out this only fixes the issue for inbound calls. Outbound calls still present the same problem: Adhearsion.router do
openended do
route 'default' do
answer
logger.info "Placing outbound call"
first_call = call
other_call = Adhearsion::OutboundCall.originate 'SIP/usera' do
call[:ahn_prevent_hangup] = true
logger.info "Joining!"
call.join first_call
end
logger.info "Controller terminating"
end
end
end |
sfgeorge
pushed a commit
to sfgeorge/punchblock
that referenced
this issue
Mar 13, 2014
…linked lifecycles Previously, joinees would be hungup when the joiner exited the bridge. Fixes adhearsion#193
sfgeorge
pushed a commit
to sfgeorge/punchblock
that referenced
this issue
Mar 13, 2014
…dge redirect works Fixes adhearsion#193
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example code:
On FreeSWITCH mod_rayo (regardless of who hangs up):
On Asterisk:
when
call
hangs up: https://gist.github.com/benlangfeld/ea9ef8a68194d7b45d01when
other_call
hangs up: https://gist.github.com/benlangfeld/597662aaa5f2b3450cd6The text was updated successfully, but these errors were encountered: