Undefined symbol "ast_unregister_modem_driver"


#1

Hello, dear developers!

I get this message when i start asterisk:

Asterisk Dynamic Loader Starting:
 [chan_modem_aopen.so]Jan 20 02:47:06 WARNING[27681]: loader.c:325 __load_resource: /usr/local/lib/asterisk/modules/chan_modem_aopen.so: Undefined symbol "ast_unregister_modem_driver"
Jan 20 02:47:06 WARNING[27681]: loader.c:499 load_modules: Loading module chan_modem_aopen.so failed!

I have searched google for the effective answer, but i didn’t get it :frowning:
The only answer that I see - is to comment
load => chan_modem_aopen.so :smile:

But I really need this module to be loaded.
Here are my configs

modem.conf

[interfaces]
context=remote
stripmsd=0
dialtype=tone
;dialtype=pulse

driver=aopen
;type=autodetect

;mode=answer
;mode=ring
mode=immediate

device => /dev/cuaa1

dtmfmode=asterisk
group=1

modules.conf

[modules]
autoload=yes

load => res_musiconhold.so
;noload => chan_alsa.so
load => chan_oss.so

load => chan_modem.so
load => chan_modem_aopen.so

[global]

The result is the same if I put both of load => chan_modem* under [global] section

What am I doing wrong? Can anybody give me a working example, please? :blush:

Thanks in advance!

P.S.
OS - FreeBSD 5.4
Asterisk v1.2.1