diff --git a/greenswitch/esl.py b/greenswitch/esl.py index 136de5c..5f92e97 100644 --- a/greenswitch/esl.py +++ b/greenswitch/esl.py @@ -227,12 +227,12 @@ def stop(self): class InboundESL(ESLProtocol): - def __init__(self, host, port, password): + def __init__(self, host, port, password, timeout=5): super(InboundESL, self).__init__() self.host = host self.port = port self.password = password - self.timeout = 5 + self.timeout = timeout self.connected = False def connect(self):