Help -- Asterisk Crashes w/Voicemail Prompt

Hi all,

what to do when asterisk continiously crashes with segfault after prompting me for voicemail id. It had been doing this, so I started tracking it down and here is what I found from the control display:

*CLI> – Executing VoiceMailMain(“OSS/dsp”, “”) in new stack
<< Console call has been answered >>
Jul 23 06:45:45 WARNING[27175]: res_adsi.c:220 __adsi_transmit_messages: Unable to send CAS
== Console is full duplex
– Playing ‘vm-login’ (language ‘en’)

*CLI> dial 20000
– Playing ‘vm-password’ (language ‘en’)

*CLI> dial 20000
*CLI> Segmentation fault
[root@ns1 ~]#

and here is the process report:


Jul 23 06:45:32 NOTICE[27154] cdr.c: CDR simple logging enabled.
Jul 23 06:45:32 NOTICE[27154] config.c: Registered Config Engine odbc
Jul 23 06:45:32 NOTICE[27154] res_odbc.c: Adding ENV var: INFORMIXSERVER=
sipping_database
Jul 23 06:45:33 NOTICE[27154] res_odbc.c: Adding ENV var: INFORMIXDIR=/opt/informix
Jul 23 06:45:33 NOTICE[27154] res_odbc.c: registered database handle ‘asterisk’ dsn->[asterisk]
Jul 23 06:45:33 NOTICE[27154] res_odbc.c: Connecting asterisk
Jul 23 06:45:33 NOTICE[27154] res_odbc.c: res_odbc: Connected to asterisk [asterisk]
Jul 23 06:45:33 NOTICE[27154] res_odbc.c: res_odbc loaded.
Jul 23 06:45:33 NOTICE[27154] config.c: Registered Config Engine mysql
Jul 23 06:45:45 WARNING[27175] res_adsi.c: Unable to send CAS


Is this a bug and/or is there a fix for this or for res_adsi.c?

Oh, I am running on FC4, using asterisk 1.2.9, mysql 5.0.

[quote=“tlofton1000”]Oh, I am running on FC4, using asterisk 1.2.9, mysql 5.0.[/quote] Let me research further before anyone responds. I want to check mysql libraries.

My apologies…

Hi again,

I did some additional debugging, and this is what transpired. In Asterisk CLI i input:
realtime mysql status
Connected to asterisk@localhost, port 3308 with username asterisk for 19 seconds.

Then i entered in the CLI:
a realtime load mysql sipuser name 33333. I know that this name is in the sipuser table and this is the response I got: Segmentation fault.

when I asked for a name that was not in the database table, received the norm of: No rows found matching search criteria.

Well, although I will continue debugging, if someone already knows what needs to be done, that would actually save me a lot of time.

Thanks in advance.