[asterisk-bugs] [Asterisk 0017794]: segfault on dialplan reload
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Aug 4 14:52:38 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17794
======================================================================
Reported By: PavelL
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17794
Category: Core/Configuration
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Asterisk Version: 1.6.2.10
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-08-04 09:53 CDT
Last Modified: 2010-08-04 14:52 CDT
======================================================================
Summary: segfault on dialplan reload
Description:
if context has syntax error like
exten =>;
exten => 111;
asterisk always crashed on dialplan reload command
here my extension.conf
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no
;[default]
;include => office-people
[macro-startrecord]
exten => s,1,Monitor(gsm,${UNIQUEID},b)
[office-people]
exten => _1[0123]XX,1,GotoIf(${DB_EXISTS(CHANPORT/${EXTEN})}?chpy:chpno)
exten => _1[0123]XX,n(chpy),Set(chanport=${DB(CHANPORT/${EXTEN})})
exten => _1[0123]XX,n,Goto(chpcont)
exten => _1[0123]XX,n(chpno),Set(chanport=SIP/${EXTEN})
exten =>; _1[0123]XX,n(chpcont),Noop
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ here error - but it does not
matter the position on wrong string
exten => _1[0123]XX,n(main),Macro(startrecord)
exten =>
_1[0123]XX,n,GotoIf(${DB_EXISTS(VMREDIR/${EXTEN})}?vmredir:vmnoredir)
exten => _1[0123]XX,n(vmredir),Dial(SIP/${EXTEN},20,tTWw)
exten => _1[0123]XX,n,VoiceMail(${EXTEN},u)
exten => _1[0123]XX,n,Hangup
exten =>
_1[0123]XX,n(vmnoredir),GotoIf(${DB_EXISTS(REDIR/${EXTEN})}?redir:noredir)
exten => _1[0123]XX,n(redir),Dial(Local/${DB(REDIR/${EXTEN})}@office)
exten => _1[0123]XX,n(noredir),Dial(${chanport},20,tTWw)
exten => _1[0123]XX,n,GotoIf($[${DIALSTATUS} = BUSY]?hung:cont)
exten => _1[0123]XX,n(cont),GotoIf($[${DIALSTATUS} =
CHANUNAVAIL]?hung:cont2)
exten =>
_1[0123]XX,n(cont2),GotoIf(${DB_EXISTS(MOBY/${EXTEN})}?doit:wait)
exten => _1[0123]XX,n(doit),Playback(mob_go)
exten => _1[0123]XX,n,Set(number=${DB(MOB/${EXTEN})})
exten => _1[0123]XX,n,Set(CALLERID(num)=${EXTEN})
exten => _1[0123]XX,n,Goto(pstn-out,98${number},1)
exten => _1[1023]XX,n(wait),Wait(1)
exten => _1[0123]XX,n,Goto(main)
exten => _1[0123]XX,n(hung),Hangup
1.6.2.10 has this error too
======================================================================
----------------------------------------------------------------------
(0125558) pabelanger (manager) - 2010-08-04 14:52
https://issues.asterisk.org/view.php?id=17794#c125558
----------------------------------------------------------------------
Hmm, I believe I experienced this issue last weekend working with the
testsuite. Never opened an issue about it. Will see if I can reproduce.
Issue History
Date Modified Username Field Change
======================================================================
2010-08-04 14:52 pabelanger Note Added: 0125558
======================================================================
More information about the asterisk-bugs
mailing list