[asterisk-users] Asterisk core dumps when using PrivacyManager

--[ UxBoD ]-- uxbod at splatnix.net
Mon Jan 11 11:29:01 CST 2010


----- "Barry Miller" <asterisk-users at notanet.net> wrote:

> On Mon, Jan 11, 2010 at 04:42:44PM +0000, --[ UxBoD ]-- wrote:
> > 
> > ----- "Barry Miller" <asterisk-users at notanet.net> wrote:
> > 
> > > On Mon, Jan 11, 2010 at 03:23:33PM +0000, --[ UxBoD ]-- wrote:
> > > > Hi,
> > > > 
> > > > why would Asterisk core dump with the following test dialplan
> > > extension ?
> > > > 
> > > > exten => 8100,1,Answer()
> > > > exten => 8100,n,Set(CALLERID(all)="")
> > > > exten => 8100,n,PrivacyManager()
> > > > exten => 8100,n,GotoIf(${[${PRIVACYMGRSTATUS} =
> FAILED]}?:nocid)
> > > > exten => 8100,n,NoOp(Number is ${CALLERID(num)})
> > > > exten => 8100,n,Hangup()
> > > > exten => 8100,n(nocid),Playback(vm-goodbye)
> > > > exten => 8100,n,Hangup()
> > > > 
> > > It shouldn't coredump, but what happens if you remove the extra
> '{}'
> > > from the GotoIf, like so:
> > > 
> > >   exten => 8100,n,GotoIf($[${PRIVACYMGRSTATUS} = FAILED]?:nocid)
> > > 
> > It still core dumps .. Have opened
> https://issues.asterisk.org/view.php?id=16576
> > 
> > -- 
> > Thanks, Phil
> > 
> I've got to read the whole thing. Sorry.  The ':' also has to go.
> 
>   exten => 8100,n,GotoIf($[${PRIVACYMGRSTATUS} = FAILED]?nocid)
> 
The issue still stands.  By changing PrivacyManager to PrivacyManager(3) it works (on advise from bugzilla ticket). The issue is attempting to be replicated.
-- 
Thanks, Phil



More information about the asterisk-users mailing list