I have created a new install on RHEL 7.
FreePBX 13
asterisk-13.21.0
dahdi-linux-complete-2.11.1+2.11.1
wanpipe-7.0.25
Everything works fine running through this guide - https://wiki.freepbx.org/display/FOP/Installing+FreePBX+13+on+CentOS+7
As soon as the wanpipe drivers are installed (version 7.0.25 from this guide - https://wiki.freepbx.org/display/PC/Telephony+Cards+for+Asterisk ) asterisk crashes, and when I attempt to run asterisk -cvvvv I get the following;
[root@mddcl06 ~]# asterisk -cvvvvv
Asterisk 13.21.0, Copyright © 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer [email protected]
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 ]
== Manager registered action DBGet
== Manager registered action DBPut
== Manager registered action DBDel
== Manager registered action DBDelTree
PBX UUID: 47ec4781-0b41-475d-9efc-f5b2fb039b4f
== Registered ‘audio’ codec ‘g723’ at sample rate ‘8000’ with id ‘1’
== Created cached format with name ‘g723’
== Registered ‘audio’ codec ‘ulaw’ at sample rate ‘8000’ with id ‘2’
== Created cached format with name ‘ulaw’
== Registered ‘audio’ codec ‘alaw’ at sample rate ‘8000’ with id ‘3’
== Created cached format with name ‘alaw’
== Registered ‘audio’ codec ‘gsm’ at sample rate ‘8000’ with id ‘4’
== Created cached format with name ‘gsm’
== Registered ‘audio’ codec ‘g726’ at sample rate ‘8000’ with id ‘5’
== Created cached format with name ‘g726’
== Registered ‘audio’ codec ‘g726aal2’ at sample rate ‘8000’ with id ‘6’
== Created cached format with name ‘g726aal2’
== Registered ‘audio’ codec ‘adpcm’ at sample rate ‘8000’ with id ‘7’
== Created cached format with name ‘adpcm’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘8000’ with id ‘8’
== Created cached format with name ‘slin’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘12000’ with id ‘9’
== Created cached format with name ‘slin12’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘16000’ with id ‘10’
== Created cached format with name ‘slin16’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘24000’ with id ‘11’
== Created cached format with name ‘slin24’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘32000’ with id ‘12’
== Created cached format with name ‘slin32’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘44100’ with id ‘13’
== Created cached format with name ‘slin44’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘48000’ with id ‘14’
== Created cached format with name ‘slin48’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘96000’ with id ‘15’
== Created cached format with name ‘slin96’
== Registered ‘audio’ codec ‘slin’ at sample rate ‘192000’ with id ‘16’
== Created cached format with name ‘slin192’
== Registered ‘audio’ codec ‘lpc10’ at sample rate ‘8000’ with id ‘17’
== Created cached format with name ‘lpc10’
== Registered ‘audio’ codec ‘g729’ at sample rate ‘8000’ with id ‘18’
== Created cached format with name ‘g729’
== Registered ‘audio’ codec ‘speex’ at sample rate ‘8000’ with id ‘19’
== Created cached format with name ‘speex’
== Registered ‘audio’ codec ‘speex’ at sample rate ‘16000’ with id ‘20’
== Created cached format with name ‘speex16’
== Registered ‘audio’ codec ‘speex’ at sample rate ‘32000’ with id ‘21’
== Created cached format with name ‘speex32’
== Registered ‘audio’ codec ‘ilbc’ at sample rate ‘8000’ with id ‘22’
== Created cached format with name ‘ilbc’
== Registered ‘audio’ codec ‘g722’ at sample rate ‘16000’ with id ‘23’
== Created cached format with name ‘g722’
== Registered ‘audio’ codec ‘siren7’ at sample rate ‘16000’ with id ‘24’
== Created cached format with name ‘siren7’
== Registered ‘audio’ codec ‘siren14’ at sample rate ‘32000’ with id ‘25’
== Created cached format with name ‘siren14’
== Registered ‘audio’ codec ‘testlaw’ at sample rate ‘8000’ with id ‘26’
== Created cached format with name ‘testlaw’
== Registered ‘audio’ codec ‘g719’ at sample rate ‘48000’ with id ‘27’
== Created cached format with name ‘g719’
== Registered ‘audio’ codec ‘opus’ at sample rate ‘48000’ with id ‘28’
== Created cached format with name ‘opus’
== Registered ‘image’ codec ‘jpeg’ at sample rate ‘0’ with id ‘29’
== Created cached format with name ‘jpeg’
== Registered ‘image’ codec ‘png’ at sample rate ‘0’ with id ‘30’
== Created cached format with name ‘png’
== Registered ‘video’ codec ‘h261’ at sample rate ‘1000’ with id ‘31’
== Created cached format with name ‘h261’
== Registered ‘video’ codec ‘h263’ at sample rate ‘1000’ with id ‘32’
== Created cached format with name ‘h263’
== Registered ‘video’ codec ‘h263p’ at sample rate ‘1000’ with id ‘33’
== Created cached format with name ‘h263p’
== Registered ‘video’ codec ‘h264’ at sample rate ‘1000’ with id ‘34’
== Created cached format with name ‘h264’
== Registered ‘video’ codec ‘mpeg4’ at sample rate ‘1000’ with id ‘35’
== Created cached format with name ‘mpeg4’
== Registered ‘video’ codec ‘vp8’ at sample rate ‘1000’ with id ‘36’
== Created cached format with name ‘vp8’
== Registered ‘video’ codec ‘vp9’ at sample rate ‘1000’ with id ‘37’
== Created cached format with name ‘vp9’
== Registered ‘text’ codec ‘red’ at sample rate ‘0’ with id ‘38’
== Created cached format with name ‘red’
== Registered ‘text’ codec ‘t140’ at sample rate ‘0’ with id ‘39’
== Created cached format with name ‘t140’
== Registered ‘audio’ codec ‘none’ at sample rate ‘8000’ with id ‘40’
== Created cached format with name ‘none’
== Registered ‘audio’ codec ‘silk’ at sample rate ‘8000’ with id ‘41’
== Created cached format with name ‘silk8’
== Registered ‘audio’ codec ‘silk’ at sample rate ‘12000’ with id ‘42’
== Created cached format with name ‘silk12’
== Registered ‘audio’ codec ‘silk’ at sample rate ‘16000’ with id ‘43’
== Created cached format with name ‘silk16’
== Registered ‘audio’ codec ‘silk’ at sample rate ‘24000’ with id ‘44’
== Created cached format with name ‘silk24’
== Sorcery registered wizard ‘bucket’
== Sorcery registered wizard ‘bucket_file’
Unable to load config file ‘stasis.conf’
Could not load Stasis configuration; using defaults
== Message handler ‘dialplan’ registered.
== Registered custom function ‘MESSAGE’
== Registered custom function ‘MESSAGE_DATA’
== Registered application ‘MessageSend’
== Manager registered action MessageSend
== Manager registered action DataGet
== Registered channel type ‘Surrogate’ (Surrogate channel used to pull channel from an application)
== Manager registered action BridgeTechnologyList
== Manager registered action BridgeTechnologySuspend
== Manager registered action BridgeTechnologyUnsuspend
Asterisk Dynamic Loader Starting:
[2018-05-08 10:36:09] NOTICE[2213]: loader.c:1500 load_modules: 5 modules will be loaded.
Loading res_odbc.so.
[2018-05-08 10:36:09] WARNING[2213]: res_odbc.c:525 load_odbc_config: The ‘pooling’, ‘shared_connections’, ‘limit’, and ‘idlecheck’ options were replaced by ‘max_connections’. See res_odbc.conf.sample.
[2018-05-08 10:36:09] WARNING[2213]: res_odbc.c:525 load_odbc_config: The ‘pooling’, ‘shared_connections’, ‘limit’, and ‘idlecheck’ options were replaced by ‘max_connections’. See res_odbc.conf.sample.
Error in `asterisk’: free(): invalid pointer: 0x0000000001fc9b98 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81429)[0x7f169f389429]
/usr/lib64/libmyodbc5.so(MySQLGetPrivateProfileStringW+0x104)[0x7f169c8b43d4]
/usr/lib64/libmyodbc5.so(ds_lookup+0x5d)[0x7f169c8b3cfd]
/usr/lib64/libmyodbc5.so(MySQLConnect+0xc6)[0x7f169c8974d6]
/lib64/libodbc.so.2(SQLConnect+0xa63)[0x7f169d1023b3]
/usr/lib64/asterisk/modules/res_odbc.so(_ast_odbc_request_obj2+0x386)[0x7f169d35dec6]
/usr/lib64/asterisk/modules/res_odbc.so(_ast_odbc_request_obj+0x13)[0x7f169d35e453]
/usr/lib64/asterisk/modules/res_odbc.so(+0x5108)[0x7f169d35f108]
/usr/lib64/asterisk/modules/res_odbc.so(+0x56f4)[0x7f169d35f6f4]
asterisk[0x52c51c]
asterisk[0x52cd21]
asterisk[0x52ee4a]
asterisk[0x435af7]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f169f32a3d5]
asterisk[0x437578]
======= Memory map: ========
00400000-0068a000 r-xp 00000000 fd:00 422662 /usr/sbin/asterisk
0088a000-0088b000 r–p 0028a000 fd:00 422662 /usr/sbin/asterisk
0088b000-008b0000 rw-p 0028b000 fd:00 422662 /usr/sbin/asterisk
008b0000-008c3000 rw-p 00000000 00:00 0
01544000-02bff000 rw-p 00000000 00:00 0 [heap]
7f1658000000-7f1658021000 rw-p 00000000 00:00 0
7f1658021000-7f165c000000 —p 00000000 00:00 0
7f165dad7000-7f1664000000 r–p 00000000 fd:00 407815 /usr/lib/locale/locale-archive
7f1664000000-7f1664021000 rw-p 00000000 00:00 0
7f1664021000-7f1668000000 —p 00000000 00:00 0
7f1668000000-7f1668021000 rw-p 00000000 00:00 0
7f1668021000-7f166c000000 —p 00000000 00:00 0
7f166c000000-7f166c021000 rw-p 00000000 00:00 0
7f166c021000-7f1670000000 —p 00000000 00:00 0
7f1670000000-7f1670021000 rw-p 00000000 00:00 0
7f1670021000-7f1674000000 —p 00000000 00:00 0
7f1674000000-7f1674021000 rw-p 00000000 00:00 0
7f1674021000-7f1678000000 —p 00000000 00:00 0
7f1678000000-7f1678021000 rw-p 00000000 00:00 0
7f1678021000-7f167c000000 —p 00000000 00:00 0
7f167c000000-7f167c021000 rw-p 00000000 00:00 0
7f167c021000-7f1680000000 —p 00000000 00:00 0
7f1680000000-7f1680021000 rw-p 00000000 00:00 0
7f1680021000-7f1684000000 —p 00000000 00:00 0
7f1684000000-7f1684021000 rw-p 00000000 00:00 0
7f1684021000-7f1688000000 —p 00000000 00:00 0
7f1688000000-7f1688021000 rw-p 00000000 00:00 0
7f1688021000-7f168c000000 —p 00000000 00:00 0
7f168c000000-7f168c021000 rw-p 00000000 00:00 0
7f168c021000-7f1690000000 —p 00000000 00:00 0
7f1690000000-7f1690021000 rw-p 00000000 00:00 0
7f1690021000-7f1694000000 —p 00000000 00:00 0
7f1694000000-7f1694021000 rw-p 00000000 00:00 0
7f1694021000-7f1698000000 —p 00000000 00:00 0
7f1698000000-7f1698021000 rw-p 00000000 00:00 0
7f1698021000-7f169c000000 —p 00000000 00:00 0
7f169c0c7000-7f169c0d7000 r-xp 00000000 fd:00 415614 /usr/lib64/libodbcinst.so.2.0.0
7f169c0d7000-7f169c2d7000 —p 00010000 fd:00 415614 /usr/lib64/libodbcinst.so.2.0.0
7f169c2d7000-7f169c2d8000 r–p 00010000 fd:00 415614 /usr/lib64/libodbcinst.so.2.0.0
7f169c2d8000-7f169c2d9000 rw-p 00011000 fd:00 415614 /usr/lib64/libodbcinst.so.2.0.0
7f169c2d9000-7f169c5f9000 r-xp 00000000 fd:00 396116 /usr/lib64/libmysqlclient.so.18.0.0
7f169c5f9000-7f169c7f8000 —p 00320000 fd:00 396116 /usr/lib64/libmysqlclient.so.18.0.0
7f169c7f8000-7f169c800000 r–p 0031f000 fd:00 396116 /usr/lib64/libmysqlclient.so.18.0.0
7f169c800000-7f169c873000 rw-p 00327000 fd:00 396116 /usr/lib64/libmysqlclient.so.18.0.0
7f169c873000-7f169c87d000 rw-p 00000000 00:00 0
7f169c87d000-7f169c8c1000 r-xp 00000000 fd:00 421554 /usr/lib64/libmyodbc5w.so
7f169c8c1000-7f169cac1000 —p 00044000 fd:00 421554 /usr/lib64/libmyodbc5w.so
7f169cac1000-7f169cac3000 r–p 00044000 fd:00 421554 /usr/lib64/libmyodbc5w.so
7f169cac3000-7f169cad2000 rw-p 00046000 fd:00 421554 /usr/lib64/libmyodbc5w.so
7f169cad2000-7f169cad4000 r-xp 00000000 fd:00 526481 /usr/lib64/gconv/ISO8859-1.so
7f169cad4000-7f169ccd3000 —p 00002000 fd:00 526481 /usr/lib64/gconv/ISO8859-1.so
7f169ccd3000-7f169ccd4000 r–p 00001000 fd:00 526481 /usr/lib64/gconv/ISO8859-1.so
7f169ccd4000-7f169ccd5000 rw-p 00002000 fd:00 526481 /usr/lib64/gconv/ISO8859-1.so
7f169ccd5000-7f169cce1000 r-xp 00000000 fd:00 395311 /usr/lib64/libnss_files-2.17.so
7f169cce1000-7f169cee0000 —p 0000c000 fd:00 395311 /usr/lib64/libnss_files-2.17.so
7f169cee0000-7f169cee1000 r–p 0000b000 fd:00 395311 /usr/lib64/libnss_files-2.17.so
7f169cee1000-7f169cee2000 rw-p 0000c000 fd:00 395311 /usr/lib64/libnss_files-2.17.so
7f169cee2000-7f169cee8000 rw-p 00000000 00:00 0
7f169cee8000-7f169cef1000 r-xp 00000000 fd:00 415591 /usr/lib64/libltdl.so.7.3.0
7f169cef1000-7f169d0f0000 —p 00009000 fd:00 415591 /usr/lib64/libltdl.so.7.3.0
7f169d0f0000-7f169d0f1000 r–p 00008000 fd:00 415591 /usr/lib64/libltdl.so.7.3.0
7f169d0f1000-7f169d0f2000 rw-p 00009000 fd:00 415591 /usr/lib64/libltdl.so.7.3.0
7f169d0f2000-7f169d152000 r-xp 00000000 fd:00 415605 /usr/lib64/libodbc.so.2.0.0
7f169d152000-7f169d351000 —p 00060000 fd:00 415605 /usr/lib64/libodbc.so.2.0.0
7f169d351000-7f169d352000 r–p 0005f000 fd:00 415605 /usr/lib64/libodbc.so.2.0.0
7f169d352000-7f169d359000 rw-p 00060000 fd:00 415605 /usr/lib64/libodbc.so.2.0.0
7f169d359000-7f169d35a000 rw-p 00000000 00:00 0
7f169d35a000-7f169d361000 r-xp 00000000 fd:00 422613 /usr/lib64/asterisk/modules/res_odbc.so
7f169d361000-7f169d561000 —p 00007000 fd:00 422613 /usr/lib64/asterisk/modules/res_odbc.so
7f169d561000-7f169d562000 r–p 00007000 fd:00 422613 /usr/lib64/asterisk/modules/res_odbc.so
7f169d562000-7f169d563000 rw-p 00008000 fd:00 422613 /usr/lib64/asterisk/modules/res_odbc.so
7f169d563000-7f169d564000 —p 00000000 00:00 0
7f169d564000-7f169d5e0000 rw-p 00000000 00:00 0 [stack:2227]
7f169d5e0000-7f169d5e1000 —p 00000000 00:00 0
7f169d5e1000-7f169d65d000 rw-p 00000000 00:00 0 [stack:2226]
7f169d65d000-7f169d65e000 —p 00000000 00:00 0
7f169d65e000-7f169d6da000 rw-p 00000000 00:00 0 [stack:2225]
7f169d6da000-7f169d6db000 —p 00000000 00:00 0
7f169d6db000-7f169d757000 rw-p 00000000 00:00 0 [stack:2224]
7f169d757000-7f169d758000 —p 00000000 00:00 0
7f169d758000-7f169d7d4000 rw-p 00000000 00:00 0 [stack:2223]
7f169d7d4000-7f169d7d5000 —p 00000000 00:00 0
7f169d7d5000-7f169d851000 rw-p 00000000 00:00 0 [stack:2222]
7f169d851000-7f169d852000 —p 00000000 00:00 0
7f169d852000-7f169d8ce000 rw-p 00000000 00:00 0 [stack:2221]
7f169d8ce000-7f169d8cf000 —p 00000000 00:00 0
7f169d8cf000-7f169d94b000 rw-p 00000000 00:00 0 [stack:2220]
7f169d94b000-7f169d94c000 —p 00000000 00:00 0
7f169d94c000-7f169d9c8000 rw-p 00000000 00:00 0 [stack:2219]
7f169d9c8000-7f169d9c9000 —p 00000000 00:00 0 Aborted (core dumped)