-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Description
Hi,
I'm working on a script to capture all callcenter related events based on the example log_reg_attempt.py
and it's working good, but if FS restarts I get the error:
Error receiving data, is FreeSWITCH running?
Which comes from receive_events()
(line 89).
I'm trying to reconnect or handle this as exception but I'm not having luck. How can I do it to detect the disconnect and reconnect again?
An easy way to test this is just to kill the freeswitch process with the script running.
Thanks!