Skip to main content

Sip channel ZOMBIE

Posted by basisit on Thu, 03/12/2015

PUBLISHED
Sip channel ZOMBIE
By basisit
Thu, 2015-03-12 17:19
good morning,

we have some problem with SIP channel ZOMBIE.

in particular we notice that using the *8 to pickup a call sometime happen that capture a wrong call.

the script is:

exten => s,1,SET(GLOBAL(PICKUPMARK)=${MACRO_EXTEN:${ARG1}})
exten => s,n,Pickup(${MACRO_EXTEN:${ARG1}}${TL_DASH}${tenant}@PICKUPMARK)
exten => s,n,Playback(privacy-incorrect)
exten => s,n,Hangup

following the error
in this case extension 655 is making an external call.
simultaneously extension 432 try to capture the call ringing on extension 427.
as you can see from the log then extension 432 is connected with extension 655
the sip channel started from extension 655 have the ZOMBIE state.

[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [*8427@from-inside:1] Macro("SIP/432-0000e860", "tl-set-variables2,from-inside-redir,") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:1] Set("SIP/432-0000e860", "__tenant=") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:2] Set("SIP/432-0000e860", "DYNAMIC_FEATURES=nway-start#mix-mon") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:3] GotoIf("SIP/432-0000e860", "1?setorigin") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Goto (macro-tl-set-variables2,s,7)
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:7] Set("SIP/432-0000e860", "__FROM_INSIDE=1") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:8] Set("SIP/432-0000e860", "__CALL_ID=localhost-1426159580.60233") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:9] GotoIf("SIP/432-0000e860", "1?check_tenant_language") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Goto (macro-tl-set-variables2,s,11)
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:11] GotoIf("SIP/432-0000e860", "1?cont") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Goto (macro-tl-set-variables2,s,13)
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-set-variables2:13] Goto("SIP/432-0000e860", "from-inside-redir,*8427,1") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Goto (from-inside-redir,*8427,1)
[2015-03-12 12:26:20] VERBOSE[29038] app_macro.c: == Channel 'SIP/432-0000e860' jumping out of macro 'tl-set-variables2'
[2015-03-12 12:26:20] VERBOSE[29038] pbx_realtime.c: -- Executing [*8427@from-inside-redir:1] Macro("SIP/432-0000e860", "tl-10-uip-pickup,2")
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-10-uip-pickup:1] Set("SIP/432-0000e860", "GLOBAL(PICKUPMARK)=427") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: == Setting global variable 'PICKUPMARK' to '427'
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [s@macro-tl-10-uip-pickup:2] Pickup("SIP/432-0000e860", "427@PICKUPMARK") in new stack
[2015-03-12 12:26:20] VERBOSE[29037] app_dial.c: -- SIP/432-0000e860 answered SIP/655-0000e85e
[2015-03-12 12:26:20] VERBOSE[29038] app_macro.c: == Spawn extension (macro-tl-10-uip-pickup, s, 2) exited non-zero on 'SIP/Patton1-0000e85f' in macro 'tl-10-uip-pickup'
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: == Spawn extension (from-inside-redir, *8427, 1) exited non-zero on 'SIP/Patton1-0000e85f'
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [h@from-inside-redir:1] NoOp("SIP/Patton1-0000e85f", "Table ast_static_config in database pbxconf") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [h@from-inside-redir:2] Set("SIP/Patton1-0000e85f", "DB(CALLERID/)=") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [h@from-inside-redir:3] Set("SIP/Patton1-0000e85f", "DB(CHANNELTRF/)=") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: -- Executing [h@from-inside-redir:4] Hangup("SIP/Patton1-0000e85f", "") in new stack
[2015-03-12 12:26:20] VERBOSE[29038] pbx.c: == Spawn extension (from-inside-redir, h, 4) exited non-zero on 'SIP/Patton1-0000e85f'

can anybody help us?

Best Regards
Giuliano


Submitted by eeman on Tue, 03/24/2015 Permalink

unfortunately your question is an asterisk issue and not specifically the front-end management tool. *8 by itself is a features.conf utility. As a workaround I would use pickup groups or a re-written directed-call-pickup based on PickupChan that is used with pickup groups.