[Asterisk-Dev] channel.c ast_call + ast_transfer OR instead of AND???

Brian West brian at bkw.org
Thu Nov 27 19:35:44 MST 2003


It looks like your using exten => h,1,blah to do some clean up when you
hang a call up.. you do know thats not reliable?

bkw

On Thu, 27 Nov 2003, Michiel Betel wrote:

> Mark Spencer wrote:
>
> >Can you get a backtrace?  It's hard to imagine a situation in which we
> >would dial on a zombie.  Clearly ast_call would return -1, but there may
> >be a crash buried somewhere else.
> >
> >Mark
> >
> >
> Nope, sorry, athough I was running safe_asterisk it didn't write a core...
> All I have is the -vvvvv output, which may help a bit... It looks like a
> masquerading transfer gone awry:
>
> -- Zap/32-1 answered Zap/6-1
>    -- Stopped music on hold on Zap/6-1
>    -- Starting simple switch on 'Zap/32-2'
>    -- Started three way call on channel 32
>    -- Started music on hold, class 'default', on Zap/6-1
>    -- Executing Macro("Zap/32-2", "stdexten2|6112|Zap/34|20|tT") in new
> stack
>    -- Executing SetLanguage("Zap/32-2", "nl") in new stack
>    -- Executing DBget("Zap/32-2", "fwdexten=FEAT/6112/CFWD/CFU") in new
> stack
>    -- DBget: varname=fwdexten, family=FEAT, key=6112/CFWD/CFU
>    -- DBget: Value not found in database.
>    -- Executing Goto("Zap/32-2", "s|5") in new stack
>    -- Goto (macro-stdexten2,s,5)
>    -- Executing Dial("Zap/32-2", "Zap/34|20|tT") in new stack
>    -- Called 34
>    -- Zap/34-1 is ringing
>    -- Zap/34-1 is ringing
>    -- Stopped music on hold on Zap/6-1
>    -- Hungup 'Zap/6-1<MASQ>'
>    -- Hungup 'Zap/32-1'
>  == Spawn extension (netland_admin, s, 3) exited non-zero on
> 'Zap/32-2<ZOMBIE>'
>    -- Executing Macro("Zap/32-2<ZOMBIE>", "record-cleanup") in new stack
>    -- Executing SetVar("Zap/32-2<ZOMBIE>",
> "MONITORDIR=/var/spool/asterisk/monitor") in new stack
>    -- Executing GotoIf("Zap/32-2<ZOMBIE>", "1?5:3") in new stack
>    -- Goto (macro-record-cleanup,s,5)
>    -- Executing NoOp("Zap/32-2<ZOMBIE>", "") in new stack
>    -- Executing ChanIsAvail("Zap/32-2<ZOMBIE>", "Zap/32") in new stack
>    -- Hungup 'Zap/32-1'
>    -- Executing Dial("Zap/32-2<ZOMBIE>", "Zap/32|40|tm") in new stack
>    -- Called 32
>    -- Started music on hold, class 'default', on Zap/32-2<ZOMBIE>
>    -- Zap/32-1 is ringing
>    -- Zap/32-1 is ringing
>    -- Zap/34-1 is ringing
>    -- Zap/34-1 answered Zap/6-1
>    -- Attempting native bridge of Zap/6-1 and Zap/34-1
>    -- Zap/32-1 is ringing
>    -- Zap/32-1 is ringing
>    -- Zap/32-1 is ringing
>    -- Zap/32-1 answered Zap/32-2<ZOMBIE>
>    -- Stopped music on hold on Zap/32-2<ZOMBIE>
> n010205*CLI>
> Disconnected from Asterisk server
>
>
>
> >_______________________________________________
> >Asterisk-Dev mailing list
> >Asterisk-Dev at lists.digium.com
> >http://lists.digium.com/mailman/listinfo/asterisk-dev
> >
> >
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>



More information about the asterisk-dev mailing list