Open GarneshMike opened 2 years ago
Hi,
can you try installing the Python-Esl with this command 'pip install FreeSWITCH-ESL-Python' and change the code in freeswitch.py like below
try: import ESL except ImportError: from freeswitchESL import ESL
Hi!, there is a requirements file for Freeswitch
You could install this dependency using.
pip install -r requirements/fs.txt
The ESL needs to haved it installed swig. So it is interesting to use FreeSWITCH-ESL-Python. I let this issue open until I can test this requirement
Hi @roramirez ,
First of all thanks for this awesome project.
After the installation as per the guide, I am unable to bring up the app.py Please refer to below for the error details.
python3 app.py Traceback (most recent call last): File "app.py", line 1, in
from qpanel import app
File "/home/sysadmin/PROJECTS/qpanel/qpanel/app.py", line 33, in
backend = Backend()
File "/home/sysadmin/PROJECTS/qpanel/qpanel/backend.py", line 39, in init
self.connection = self._connect()
File "/home/sysadmin/PROJECTS/qpanel/qpanel/backend.py", line 49, in _connect
return self._connect_esl()
File "/home/sysadmin/PROJECTS/qpanel/qpanel/backend.py", line 57, in _connect_esl
esl = Freeswitch(self.host, self.port, self.password)
NameError: name 'Freeswitch' is not defined