Project

General

Profile

Overview

This project is closed and read-only.

Purpose of this project is to add ability to reconnect after connection fail in manager.AMIFactory (as in parent class protocol.ReconnectingClientFactory). Current implementation of AMIFactory can reconnect only after short connection loss, but it would be more convenient, if AMIFactory survived longer timeouts. So, the call to 'retry' method was added to AMIFactory.clientConnectionFailed implementation.

To test such activity a class ChannelTracker from examples/priexhaustionbare.py was used. Three new methods were added there and some bugs were fixed. 'login' method of the class AMISpecifier in examples/utilapplication.py was changed accordingly.

So, after applying proposed changes, it will be possible to auto-connect to Asterisk server even after connection was lost for relatively long time (from several seconds and up).

Issue tracking

open closed Total
Bug 0 0 0
Feature 0 0 0
Enhancement 0 2 2
Task 0 1 1

View all issues | Summary

Spent time

11.65 hours

Details | Report

Repository

Members

Manager: Denis Zhuravlyov

Developer: Denis Zhuravlyov