[Asterisk-Users] seg fault when accessing voicemail via any IAX softphone (diax, iax phone)

Amar Maktal amarfresh at yahoo.com
Fri Mar 18 10:40:04 MST 2005


hello all,

i am happy to be part of the asterisk community. i
have sucessfully configured my asteisk server with the
following (fxo card, fwd-ipkall, fwdout,) everything
works great except when i attempt to check my
voicemail via any iax softphones for windows (diax,
iax phone). basically whenever i attempt to access
voicemail (via demo extension 8500) i get a 
segmentation fault. when it does work there is a
distinct "dong" noise and distortion which occurs when
Comedian Mail is announced. this problem does not
manifest itself when handling iax calls coming from
fwd network. it fails/seg faults 95% of the time. 

i have copied information from my console, confs, and
gdb. *this does not happen with sip clients. nor does
it happen with incoming iax calls (like from fwd).* it
only seems to happen with local, registered, iax
softphones. i am considering purchasing an iaxy but am
afraid that this will continue to happen.

i searched but could not find anything adressing this.
any help would be appreciated. 

running fedora3 core.
my asterisk version (built from cvs):
Asterisk CVS-HEAD-03/03/05-16:05:19 built by
root at localhost.localdomain on a i686 running Linux

here is an entry in my iax.conf for my softphone:
[amarfresh]
username=amarfresh
type=friend
auth=md5
host=dynamic
context=default 
secret=abcdefg
regexten=6969
mailbox=6969		; Notify about mailbox 6969
callerid="Some Host" <(732) 999-9999>


asterisk console crash message:
Asterisk Ready.
*CLI>     -- Accepting AUTHENTICATED call from
192.168.4.100:
       > requested format = gsm,
       > requested prefs = (),
       > actual format = gsm,
       > host prefs = (gsm|ulaw),
       > priority = mine
    -- Executing
VoiceMailMain("IAX2/amarfresh at amarfresh-4", "") in new
stack
Segmentation fault (core dumped)




gdb backtrace:

(gdb) bt
#0  adsi_transmit_message (chan=0x88ff450,
msg=0xf697fe50 "\216\005", msglen=9,
    msgtype=-157811232) at res_adsi.c:338
#1  0xf6f3a113 in adsi_load_session (chan=0x88ff450,
app=0xf69c23e4 "", ver=1, data=1)
    at res_adsi.c:949
#2  0xf69b4b61 in vm_authenticate (chan=0x88ff450,
mailbox=0xf69813f0 "",
    mailbox_size=80, res_vmu=0xf697fde0, context=0x0,
prefix=0xf6981e80 "",
    skipuser=0, maxlogins=3) at app_voicemail.c:2439
#3  0xf69bbe97 in vm_execmain (chan=0x88ff450,
data=0x0) at app_voicemail.c:4529
#4  0x08085e66 in pbx_extension_helper (c=0x88ff450,
con=0x0,
    context=0x88ff598 "default", exten=0x88ff68c
"8500", priority=1, label=0x0,
    callerid=0x88e1f50 "7329999999", action=0) at
pbx.c:501
#5  0x08086f6b in ast_pbx_run (c=0x88ff450) at
pbx.c:1917
#6  0x08088741 in pbx_thread (data=0xf697fde0) at
pbx.c:2162
#7  0x0080e3ae in start_thread () from
/lib/tls/libpthread.so.0
#8  0x0067bb6e in clone () from /lib/tls/libc.so.6





More information about the asterisk-users mailing list