سلام به همه دوستان من آخرین نسخه از استریسک 11 رو نصب کردم. همچنین mariadb هم جهت ثبت cdr استریسک در دیتابیس نصب و راه اندازی کردم و تنظیمات سمت استریسک را هم انجام دادم که تمام رکوردهاش را در دیتابیس mariadb ثبت کنه. هنگامی که میخوام با دستور asterisk -rvvvvvvvv وارد کنسول asterisk بشم با خطای زیر رو به رو میشم :
برای ترابل شوت مشکل دستور asterisk -cvvvv رو که میزنم خطای Failed to load module res_odbc.so - Required را توی لاگ ها میندازه.
کسی تجربه این مشکل رو داشته توی حل مشکل کمک کنه؟
با احترام
کد PHP:
asterisk -rvvvvvvv
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
کد PHP:
[root@contact-center ~]# asterisk -cvvvvv
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
Asterisk 11.25.1, Copyright (C) 1999 - 2013 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
[ Initializing Custom Configuration Options ]
== Parsing '/etc/asterisk/extconfig.conf': Found
== Parsing '/etc/asterisk/logger.conf': Found
== Parsing '/etc/asterisk/asterisk.conf': Found
== Manager registered action DBGet
== Manager registered action DBPut
== Manager registered action DBDel
== Manager registered action DBDelTree
== Registered custom function 'MESSAGE'
== Registered custom function 'MESSAGE_DATA'
== Registered application 'MessageSend'
== Manager registered action MessageSend
== Manager registered action DataGet
== Parsing '/etc/asterisk/codecs.conf': Found
Asterisk Dynamic Loader Starting:
== Parsing '/etc/asterisk/modules.conf': Found
[Apr 24 14:02:19] NOTICE[5420]: loader.c:1244 load_modules: 1 modules will be loaded.
*** Failed to load module res_odbc.so - Required
Module Preload initialization failed.
[Apr 24 14:02:19] WARNING[5420]: loader.c:463 load_dynamic_module: Error loading module 'res_odbc.so': /usr/lib64/asterisk/modules/res_odbc.so: cannot open shared object file: No such file or directory
[Apr 24 14:02:19] ERROR[5420]: loader.c:1082 load_resource_list: *** Failed to load module res_odbc.so - Required
== Manager unregistered action DBGet
== Manager unregistered action DBPut
== Manager unregistered action DBDel
== Manager unregistered action DBDelTree
[root@contact-center ~]#
با احترام
کامنت