Ich habe Freeswitch 1.6 in Debian 8 installiert, mit this Link. Aktuellen Release Branch Abschnitt installieren.Freeswitch mod_python Kein Modul namens freeswitch
Modul Python verwendet fs_cli aktiviert:
>module_exists mod_python
true
Symptome
Wenn ich meine Python-Skript ausführen, erhalte ich:
2016-08-05 05:49:23.875318 [ERR] mod_python.c:231 Error importing module
2016-08-05 05:49:23.875318 [ERR] mod_python.c:164 Python Error by calling script "fax": <type 'exceptions.ImportError'>
Message: No module named freeswitch
Exception: None
Traceback (most recent call last)
File: "/usr/share/freeswitch/scripts/fax.py", line 1, in <module>
Mit this Dokument:
Fehlerbehebung:
Das gleiche Skript mit anderer Freeswitch-Box arbeiten.
verschobene Datei richtig:
ls -al /usr/local/lib/python2.7/site-packages/ freeswitch.py
Script fax.py Inhalt here
Reboot Freeswitch
freeswitch.py Script Lage
- /usr/local/lib/python3.4/dist-packages/freeswitch.py
- /usr/local/lib/python2.7/site-packages/freeswitch.py
- /usr/share/pyshared /freeswitch.py