Inbound DID detected by asterisk but drop call immediately

Hi expert,

I cant figure out why DID number detected by asterisk but call dropped immediately.

I will paste the information using asterisk -r and please kindly help me to resolve this issue.

Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Set(“SIP/65xxxxxxxx-00000019”, “__FROM_DID=s”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/65xxxxxxxx-00000019”, “app-blacklist-check,s,1”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/65xxxxxxxx-00000019”, “0?blacklisted”) in new stack
– Executing [[email protected]:2] Set(“SIP/65xxxxxxxx-00000019”, “CALLED_BLACKLIST=1”) in new stack
– Executing [[email protected]:3] Return(“SIP/65xxxxxxxx-00000019”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/65xxxxxxx-00000019”, “0 ?Set(CALLERID(name)=60111425xxxx)”) in new stack
– Executing [[email protected]:4] SetMusicOnHold(“SIP/65xxxxxxxx-00000019”, “TruffulaIntro”) in new stack
– Executing [[email protected]:5] Set(“SIP/65xxxxxxxx-00000019”, “__MOHCLASS=TruffulaIntro”) in new stack
– Executing [[email protected]:6] Set(“SIP/65xxxxxxxx-00000019”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [[email protected]:7] Set(“SIP/65xxxxxxxx-00000019”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [[email protected]:8] Goto(“SIP/65xxxxxxxx-00000019”, “timeconditions,2,1”) in new stack
– Goto (timeconditions,2,1)
– Executing [[email protected]:1] GotoIfTime(“SIP/65xxxxxxxx-00000019”, “06:00-00:00,mon-fri,1-31,jan-dec?ivr-4,s,1”) in new stack
– Executing [[email protected]:2] Goto(“SIP/65xxxxxxxx-00000019”, “timeconditions,4,1”) in new stack
– Goto (timeconditions,4,1)
– Executing [[email protected]:1] GotoIfTime(“SIP/65xxxxxxxx-00000019”, “06:00-00:00,sat,1-31,jan-dec?ivr-4,s,1”) in new stack
– Executing [[email protected]:2] Goto(“SIP/65xxxxxxxx-00000019”, “timeconditions,6,1”) in new stack
– Goto (timeconditions,6,1)
– Executing [[email protected]:1] GotoIfTime(“SIP/65xxxxxxxx-00000019”, “06:00-00:00,sun,1-31,jan-dec?app-announcement-2,s,1”) in new stack
– Goto (app-announcement-2,s,1)
– Executing [[email protected]:1] GotoIf(“SIP/65xxxxxxxx-00000019”, “0?begin”) in new stack
– Executing [[email protected]:2] Answer(“SIP/65xxxxxxxx-00000019”, “”) in new stack
– Executing [[email protected]:3] Wait(“SIP/65xxxxxxxx-00000019”, “1”) in new stack
– Executing [[email protected]:4] NoOp(“SIP/65xxxxxxxx-00000019”, “Playing announcement ClosedOffice”) in new stack
– Executing [[email protected]:5] Playback(“SIP/65xxxxxxxx-00000019”, “custom/ClosedInBothLanguages,noanswer”) in new stack
– Executing [[email protected]:6] Goto(“SIP/65xxxxxxxx-00000019”, “app-blackhole,zapateller,1”) in new stack
– Goto (app-blackhole,zapateller,1)
– Executing [[email protected]:1] NoOp(“SIP/65xxxxxxxx-00000019”, “Blackhole Dest: Play SIT Tone”) in new stack
– Executing [[email protected]:2] Answer(“SIP/65xxxxxxxx-00000019”, “”) in new stack
– Executing [[email protected]:3] Zapateller(“SIP/65xxxxxxxx-00000019”, “”) in new stack
== Spawn extension (app-blackhole, zapateller, 3) exited non-zero on 'SIP/65xxxxxxxx-00000019

Please help.

Thank you.

Regards,

You should check your logic, apparently your call goes to timeconditions , it leaves timeconditions and goes to announcement(2) which on exit sends the call to a “terminate call” of zapateller

Hi sir,

yes it will leaves on timeconditions but the problem is i should hear an announcement before it does that.

I have tried calling using another DID number and it worked.

Asterisk picked up the call but i cant hear the announcement and it just disconnected.

What could be the problem?

Thanks.