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

Handle Asterisk 'channel not found' errors correctly #169

Merged
merged 12 commits into from
Jul 31, 2013

Conversation

benlangfeld
Copy link
Member

WIP. This needs extending to all touches to Asterisk for both AMI and AGI, including handling differently in components vs basic commands.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling dc624ae on feature/channel-not-found into b7d2ac5 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling 554c9d6 on feature/channel-not-found into b7d2ac5 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling d2e1c24 on feature/channel-not-found into b7d2ac5 on develop.

@benlangfeld
Copy link
Member Author

@vindir This should be done with the exception of output components, which I will fix shortly.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 2c72638 on feature/channel-not-found into * on develop*.

@vindir
Copy link
Member

vindir commented Jul 30, 2013

You are a a can of awesome sauce. I'll get it merged and tested once it's ready.

@benlangfeld
Copy link
Member Author

@vindir Please test with your project and let me know if this solves the problem :) Once you report back I'll get this merged to develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling c28126e on feature/channel-not-found into 3436823 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling c28126e on feature/channel-not-found into 3436823 on develop.

def execute(ami_client)
ami_client.send_action 'AGI', 'Channel' => @channel, 'Command' => agi_command, 'CommandID' => id
rescue RubyAMI::Error => e
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to get rid of the duplication between this and Call#send_ami_action before merging.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling e5e983a on feature/channel-not-found into 3436823 on develop.

@benlangfeld benlangfeld merged commit 99ae18d into develop Jul 31, 2013
@benlangfeld benlangfeld deleted the feature/channel-not-found branch July 31, 2013 21:19
@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling 99ae18d on feature/channel-not-found into 3436823 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0%) when pulling 99ae18d on feature/channel-not-found into 3436823 on develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants