Summary:ASTERISK-08298: Asterisk server crashes on 'undefined symbol: ast_adsi_available' in VoiceMailMain if res_adsi.so is not loaded
Reporter:Romik_g (romik)Labels:
Date Opened:2006-12-07 00:12:48.000-0600Date Closed:2011-06-07 14:00:45
Versions:Frequency of
Environment:Attachments:( 0) strace_Asterisk_VoiceMailMain.log
Description:Asterisk server crashes on 'undefined symbol: ast_adsi_available' in VoiceMailMain if res_adsi.so module isn't loaded.
See 'Steps To Reproduce' and strace output in 'strace_Asterisk_VoiceMailMain.log' file. The way I get this trace is running:
'strace -f asterisk -diITvvvvvvvvvv -G asterisk -U asterisk'
I did not provide a core file, because I did not find it, even running asterisk wirh '-g' flag on, sorry.

Thank for your work.

****** STEPS TO REPRODUCE ******

[root@shouse asterisk]# grep adsi /etc/asterisk/modules.conf
noload => res_adsi.so
[root@shouse asterisk]# grep -B1 5000 /etc/asterisk/extensions.conf
[voicemail]                                                                                     ; voicemail, speaks for its self really
exten => 5000,1,Macro(setvars)                                                                  ; Setting some vars
exten => 5000,n,VoiceMailMain                                                                   ;
exten => 5000,n,Hangup                                                                          ;
[root@shouse asterisk]#
shouse*CLI> core debug 10
Core debug was 0 and is now 10
shouse*CLI> core verbose 10
Verbosity was 0 and is now 10
[Dec  7 08:39:34]     -- Starting simple switch on 'Zap/3-1'
[Dec  7 08:39:37]     -- Executing [5000@from-internal:1] Macro("Zap/3-1", "setvars") in new stack
[Dec  7 08:39:37]     -- Executing [s@macro-setvars:1] Wait("Zap/3-1", "1") in new stack
Disconnected from Asterisk server
[root@shouse asterisk]# ps ax | grep asterisk | grep -v grep
[root@shouse asterisk]#
Comments:By: Russell Bryant (russell) 2006-12-07 05:55:43.000-0600

This is a known issue.  There is another open report that has a patch to make app_voicemail not dependent on res_adsi, among other things, but that is not something that will be able to be fixed before the 1.4 release.