Не удалось загрузить модуль mod_cdr_pg_csv в Freeswitch

Новая установка Freeswitch Debian Jessie 8 в AWS:

No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.0 (jessie)
Release:    8.0
Codename:   jessie

Используйте инструкции по установке из здесь.

wget -O - https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -

echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list

# you may want to populate /etc/freeswitch at this point.
# if /etc/freeswitch does not exist, the standard vanilla configuration is deployed
apt-get update && apt-get install -y freeswitch-meta-all

Следуя инструкциям для mod_cdr_pg_csv здесь, я установил:

apt-get install libpq-dev libpq5
apt-get install postgresql-client

Но по-прежнему не удается загрузить модуль или найти его.

>module_exists mod_cdr_pg_csv
false


>load mod_cdr_pg_csv
+OK Reloading XML
-ERR [module load file routine returned an error]

2018-02-10 08:59:30.427543 [INFO] mod_enum.c:879 ENUM Reloaded
2018-02-10 08:59:30.427543 [INFO] switch_time.c:1423 Timezone reloaded 1750 definitions
2018-02-10 08:59:30.427543 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib/freeswitch/mod/mod_cdr_pg_csv.so
**/usr/lib/freeswitch/mod/mod_cdr_pg_csv.so: cannot open shared object file: No such file or directory**

Отладка freeswitch.log

2018-02-10 07:47:01.012683 [CRIT] switch_loadable_module.c:1522 Error Loading module /usr/lib/freeswitch/mod/mod_cdr_pg_csv.so
**/usr/lib/freeswitch/mod/mod_cdr_pg_csv.so: cannot open shared object file: No such file or directory**

modules.conf.xml настроен.

Когда я запускаю find / -name "mod_cdr_pg_csv.so", я не получаю никакого результата.

По-прежнему не удается загрузить модуль. Другой модуль, такой как mod_python, успешно загружается.


person gogasca    schedule 10.02.2018    source источник


Ответы (1)


В итоге я переустанавливаю Freeswitch, используя другие инструкции.

  1. Установите зависимости Postgres

  2. Сборка ветки выпуска компиляции из исходного кода (производственная) и запустите установку Freeswitch, используя следующий флаг:

    ./configure --enable-core-pgsql-support

person gogasca    schedule 11.02.2018