[Freeswitch-users] need help to run python script with mod_python

Do Nguyen Ha donguyenha at gmail.com
Thu Mar 29 15:40:32 UTC 2018


hi

i user python_example.py script to test with freeswitch
https://gitlab.k-net.fr/shimaore/freeswitch/blob/c6be531b4b6c38b69274057b19d73c7b15a07b14/src/mod/languages/mod_python/python_example.py

i installed freeswitch-python and check the scripts folder is in :
[root at localhost site-packages]# fs_cli -x 'global_getvar'|grep script
script_dir=/usr/share/freeswitch/scripts

and the freeswitch-python package:
[root at localhost site-packages]# rpm -ql freeswitch-python
/etc/freeswitch/autoload_configs
/etc/freeswitch/autoload_configs/python.conf.xml
/usr/lib/python2.7/site-packages/freeswitch.py
/usr/lib/python2.7/site-packages/freeswitch.pyc
/usr/lib/python2.7/site-packages/freeswitch.pyo
/usr/lib64/freeswitch/mod/mod_python.so
/usr/lib64/python2.7/site-packages/ESL.py
/usr/lib64/python2.7/site-packages/ESL.pyc
/usr/lib64/python2.7/site-packages/ESL.pyo
/usr/lib64/python2.7/site-packages/_ESL.so


where do i place the python-example.py script  for freeswitch working
properly

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180329/f42943ec/attachment.html>


More information about the FreeSWITCH-users mailing list