[Freeswitch-users] issue with mod_python

David Villasmil david.villasmil.work at gmail.com
Wed Sep 9 00:15:25 UTC 2020


Hello all,

And that's the script directory:

# fs_cli -x 'global_getvar'| grep _dir

base_dir=/usr
recordings_dir=/var/lib/freeswitch/recordings
sounds_dir=/usr/share/freeswitch/sounds
conf_dir=/etc/freeswitch
log_dir=/var/log/freeswitch
run_dir=/var/run/freeswitch
db_dir=/var/lib/freeswitch/db
mod_dir=/usr/lib/freeswitch/mod
htdocs_dir=/usr/share/freeswitch/htdocs
*script_dir=/usr/share/freeswitch/scripts*
temp_dir=/tmp
grammar_dir=/usr/share/freeswitch/grammar
fonts_dir=/usr/share/freeswitch/fonts
images_dir=/var/lib/freeswitch/images
certs_dir=/etc/freeswitch/tls
storage_dir=/var/lib/freeswitch/storage
cache_dir=/var/cache/freeswitch
data_dir=/usr/share/freeswitch
localstate_dir=/var/lib/freeswitch


Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Wed, Sep 9, 2020 at 1:09 AM David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Hello guys,
>
> i¡m not sure what's going on. I just installed a fresh 1.10.5 and i've got
> a script in
>
> # ls -l /usr/share/freeswitch/scripts/foo-outbound.py
> -rw-r--r-- 1 root root 3804 Sep  8 23:44
> /usr/share/freeswitch/scripts/foo-outbound.py
>
> but FS either can't find it or something's changed in the architecture:
>
> 2020-09-09 00:05:08.548244 [NOTICE] mod_python.c:213 Invoking py module:
> foo-outbound
> 2020-09-09 00:05:08.548244 [ERR] mod_python.c:253 Error importing module
> 2020-09-09 00:05:08.548244 [ERR] mod_python.c:165 Python Error by calling
> script "foo-outbound": <type 'exceptions.ImportError'>
> Message: No module named foo-outbound
>
>
>
> l> status
> UP 0 years, 0 days, 0 hours, 26 minutes, 27 seconds, 2 milliseconds, 76
> microseconds
> FreeSWITCH (Version 1.10.5 -release-17-25569c1631 64bit) is ready
> 6 session(s) since startup
> 0 session(s) - peak 1, last 5min 0
> 0 session(s) per Sec out of max 30, peak 1, last 5min 0
> 1000 session(s) max
> min idle cpu 0.00/90.07
> Current Stack Size/Max 240K/8192K
>
> Anyone knows anything about this?
>
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200909/73cd48b4/attachment.html>


More information about the FreeSWITCH-users mailing list