Skip to content
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

Early failure of originate on Asterisk is not handled #214

Open
benlangfeld opened this issue Mar 16, 2014 · 0 comments
Open

Early failure of originate on Asterisk is not handled #214

benlangfeld opened this issue Mar 16, 2014 · 0 comments
Labels

Comments

@benlangfeld
Copy link
Member

Adhearsion::OutboundCall.originate 'sip:arabbit@mojolingo.com', from: 'sip:foo@bar.com'

[2014-03-16 13:54:57.540] DEBUG Adhearsion::OutboundCall: @: Executing command #<Punchblock::Command::Dial target_call_id=nil, target_mixer_name=nil, component_id=nil, source_uri=nil, domain=nil, transport=nil, timestamp=Sun, 16 Mar 2014 13:54:57 +0100, request_id="3b111abc-9b25-4cbb-b903-0378e13e0524", headers={}, to="sip:arabbit@mojolingo.com", from="sip:foo@bar.com", uri=nil, timeout=nil, join=nil>

[2014-03-16 13:54:57.760] TRACE Punchblock::Connection::Asterisk: [SEND] Action: originate
ActionID: 8f35b656-fd51-4d76-bfa8-ba9bfb6fb372
Async: true
Context: adhearsion-redirect
Exten: 1
Priority: 1
Channel: sip:arabbit@mojolingo.com
Callerid: sip:foo@bar.com
Variable: punchblock_call_id=bd8f97ce-3045-489d-b77c-a64b71c5eab8

[2014-03-16 13:54:57.784] TRACE Punchblock::Connection::Asterisk: [RECV] Response: Error
ActionID: 8f35b656-fd51-4d76-bfa8-ba9bfb6fb372
Message: Invalid channel

[2014-03-16 13:54:57.785] TRACE Punchblock::Connection::Asterisk: [RECV] #<RubyAMI::Error message="Invalid channel", headers=>

=> #<Adhearsion::OutboundCall:bd8f97ce-3045-489d-b77c-a64b71c5eab8@ offer=nil, end_reason=nil, commands=[], variables={}, controllers=[], to="sip:arabbit@mojolingo.com", from="sip:foo@bar.com">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant