ast_register_application: Already have an application

I just upgraded my debian asterisk. I’m currently using debian unstable, but testing appears to be the same version - Asterisk 1.4.19.1~dfsg-1.

Although the messages are only warnings, asterisk will not start. I have already resolved all other warnings, so these are the only ones in the logs.

[May 15 14:39:35] WARNING[2788]: pbx.c:2979 ast_register_application: Already have an application ‘VoiceMail’
[May 15 14:39:35] WARNING[2788]: pbx.c:2979 ast_register_application: Already have an application ‘VoiceMailMain’
[May 15 14:39:35] WARNING[2788]: pbx.c:2979 ast_register_application: Already have an application ‘MailboxExists’
[May 15 14:39:35] WARNING[2788]: pbx.c:2979 ast_register_application: Already have an application ‘VMAuthenticate’

I don’t see these listed in any config file.

How do I get past this?

Thanks,

Michael

This got me this morning, too.

The problem is that it’s trying to load alternate versions of the same application. What I did is to find the alternates in /usr/lib/asterisk/modules/ and then add them as noloads in /etc/asterisk/modules.conf:

snip
[modules]
noload => app_voicemail_imap.so
noload => app_voicemail_odbc.so
noload => app_directory_odbc.so
snip

I’d like to thank a user named “file” in #asterisk on irc.freenode.org for helping me with this. Hope this helps you too.

Thank you!

It should be ok to remove these from /usr/lib/asterisk/modules then.