[RESOLVED w/ RC1] Asterisk 1.6.1-beta4 Segmentation Fault

Hi,

It’s been a while since I’ve seen this. What am I supposed to do?

    -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
       > fixlocalprefix: Using pattern X.
  == fixlocalprefix: Dialpattern x. matched. 2345 -> 2345
    -- <SIP/1600-09c42be8>AGI Script fixlocalprefix completed, returning 0
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/1600-09c42be8", "OUTNUM=2345") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/1600-09c42be8", "custom=IAX2/GW1") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/1600-09c42be8", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/1600-09c42be8", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/1600-09c42be8", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/1600-09c42be8", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1600-09c42be8", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/1600-09c42be8", "IAX2/GW1/2345,300,") in new stack
voip161*CLI> 
Disconnected from Asterisk server
Executing last minute cleanups
/usr/sbin/safe_asterisk: line 146:  9156 Segmentation fault      (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk -f ${CLIARGS} ${ASTARGS} >/dev/${TTY} 2>&1 </dev/${TTY}
Asterisk ended with exit status 139
Asterisk exited on signal 11.
[root@voip161 asterisk]# cat: /var/run/asterisk.pid: No such file or directory
Automatically restarting Asterisk.

The iax configuration is identical to 1.2 and 1.4 boxes.

disallow=all
allow=alaw
context=ext-did
host=XXX.XXX.XXX.XXX
qualify=yes
type=friend

I can call the voicemail and hear audio et cetera.

Seg faults as well with IAX between two 1.6.1-beta4 boxes.

An IAX extension (softphone) can dial voicemail no problem though.

Anyone else have this problem?

It appears to be a problem with the freePBX dialplan.

Doing a

exten = 555,1,Dial(IAX/MVHOME/102)
exten = 555,n,Hangup

Works.

FreePBX dialplan works with 1.6.0.5

So there must be some changes between 1.6.0.5 and 1.6.1-beta4 will go through the change log etc… and post what I find.

Cheers

Just compiled 1.6.1-rc1 seeing as it was released yesterday.

There are no issues.