Asterisk 1.2.9.1 failed to restart

I did a yum -y update and Asterisk 1.2.9.1 downloaded and installed. When I tried to restart Asterisk it died here:
[root@asterisk1 ~]# tail /var/log/asterisk/full
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_txtcidname.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_txtcidname.so] => (TXTCIDName)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_zapras.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_zapras.so] => (Zap RAS Application)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_dial.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_dial.so] => (Dialing Application)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_waitforring.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_waitforring.so] => (Waits until first ring after time)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_addon_sql_mysql.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_addon_sql_mysql.so] => (Simple Mysql Interface)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_lookupcidname.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_lookupcidname.so] => (Look up CallerID Name from local database)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_flash.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_flash.so] => (Flash zap trunk application)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_setcallerid.so]Jun 16 14:09:07 VERBOSE[2834] logger.c: [app_setcallerid.so] => (Set CallerID Application)
Jun 16 14:09:07 VERBOSE[2834] logger.c: [codec_g726.so]Jun 16 14:09:07 WARNING[2834] loader.c: /usr/lib/asterisk/modules/codec_g726.so: undefined symbol: g726_encode
Jun 16 14:09:07 WARNING[2834] loader.c: Loading module codec_g726.so failed!
[root@asterisk1 ~]#
:frowning: :frowning:

did you upgrade from an older version of asterisk? if so, remove everything from /var/lib/asterisk/modules and recompile.

i would guess you have an out-of-date library.

Tried the above. Same problem:

Loading module codec_g726.so failed!

Asterisk will not start!!!

Try this…

Edit your modules.conf file and add this line in the modules context. Save your changes and restart asterisk.

modules.conf Example: