diff --git a/asterisk/manager.py b/asterisk/manager.py index ea46359..dc3cea3 100644 --- a/asterisk/manager.py +++ b/asterisk/manager.py @@ -466,6 +466,7 @@ def connect(self, host, port=5038, buffer_size=0): assert type(host) is str port = int(port) # make sure port is an int + buffer_size = int(buffer_size) # make sure buffer_siz is an int as well # create our socket and connect try: