E1 Digium Wilcard. Incoming calls not routed anywhere


(Mehdi Abid) #1

Plz i have E1 connection to my provider. with a E1 digium wildcard.
Everything is ok for the outgoing calls.
But incoming calls dont go anywhere
Already configured an inbound route but nothing
here is my call log

- Executing [s@macro-exten-vm:18] Gosub("DAHDI/i1/00212660124244-b", "sub-record-check,s,1(exten,100,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("DAHDI/i1/00212660124244-b", "14?initialized") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] NoOp("DAHDI/i1/00212660124244-b", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("DAHDI/i1/00212660124244-b", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("DAHDI/i1/00212660124244-b", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("DAHDI/i1/00212660124244-b", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("DAHDI/i1/00212660124244-b", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("DAHDI/i1/00212660124244-b", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] NoOp("DAHDI/i1/00212660124244-b", "Exten Recording Check between 00212660124244 and 100") in new stack
    -- Executing [exten@sub-record-check:2] Set("DAHDI/i1/00212660124244-b", "CALLTYPE=external") in new stack
    -- Executing [exten@sub-record-check:3] ExecIf("DAHDI/i1/00212660124244-b", "0?Set(CALLTYPE=)") in new stack
    -- Executing [exten@sub-record-check:4] Set("DAHDI/i1/00212660124244-b", "CALLEE=") in new stack
    -- Executing [exten@sub-record-check:5] ExecIf("DAHDI/i1/00212660124244-b", "1?Set(CALLEE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:6] GotoIf("DAHDI/i1/00212660124244-b", "1?callee") in new stack
    -- Goto (sub-record-check,exten,11)
    -- Executing [exten@sub-record-check:11] Gosub("DAHDI/i1/00212660124244-b", "recordcheck,1(dontcare,external,100)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("DAHDI/i1/00212660124244-b", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("DAHDI/i1/00212660124244-b", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("DAHDI/i1/00212660124244-b", "") in new stack
    -- Executing [exten@sub-record-check:12] Return("DAHDI/i1/00212660124244-b", "") in new stack
    -- Executing [s@macro-exten-vm:19] GotoIf("DAHDI/i1/00212660124244-b", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,25)
    -- Executing [s@macro-exten-vm:25] GosubIf("DAHDI/i1/00212660124244-b", "0?clrheader,1()") in new stack
    -- Executing [s@macro-exten-vm:26] Macro("DAHDI/i1/00212660124244-b", "dial-one,,HhTtr,100") in new stack
    -- Executing [s@macro-dial-one:1] Set("DAHDI/i1/00212660124244-b", "DEXTEN=100") in new stack
    -- Executing [s@macro-dial-one:2] Set("DAHDI/i1/00212660124244-b", "__CRM_SOURCE=00212660124244") in new stack
    -- Executing [s@macro-dial-one:3] ExecIf("DAHDI/i1/00212660124244-b", "0?Set(__EXTTOCALL=100)") in new stack
    -- Executing [s@macro-dial-one:4] Set("DAHDI/i1/00212660124244-b", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:5] GosubIf("DAHDI/i1/00212660124244-b", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:6] GosubIf("DAHDI/i1/00212660124244-b", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:7] GotoIf("DAHDI/i1/00212660124244-b", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,10)
    -- Executing [s@macro-dial-one:10] GotoIf("DAHDI/i1/00212660124244-b", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("DAHDI/i1/00212660124244-b", "0?continue") in new stack
    -- Executing [s@macro-dial-one:12] Set("DAHDI/i1/00212660124244-b", "EXTHASCW=") in new stack
    -- Executing [s@macro-dial-one:13] GotoIf("DAHDI/i1/00212660124244-b", "1?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,14)
    -- Executing [s@macro-dial-one:14] GotoIf("DAHDI/i1/00212660124244-b", "0?docfu:skip3") in new stack
    -- Goto (macro-dial-one,s,18)
    -- Executing [s@macro-dial-one:18] GotoIf("DAHDI/i1/00212660124244-b", "1?next2:continue") in new stack
    -- Goto (macro-dial-one,s,19)
    -- Executing [s@macro-dial-one:19] GotoIf("DAHDI/i1/00212660124244-b", "1?continue") in new stack
    -- Goto (macro-dial-one,s,27)
    -- Executing [s@macro-dial-one:27] GotoIf("DAHDI/i1/00212660124244-b", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GosubIf("DAHDI/i1/00212660124244-b", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("DAHDI/i1/00212660124244-b", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("DAHDI/i1/00212660124244-b", "DEVICES=") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("DAHDI/i1/00212660124244-b", "1?Return()") in new stack
    -- Executing [s@macro-dial-one:29] GotoIf("DAHDI/i1/00212660124244-b", "1?nodial") in new stack
    -- Goto (macro-dial-one,s,61)
    -- Executing [s@macro-dial-one:61] NoOp("DAHDI/i1/00212660124244-b", "") in new stack
    -- Executing [s@macro-dial-one:62] ExecIf("DAHDI/i1/00212660124244-b", "1?Set(DIALSTATUS=NOANSWER)") in new stack
    -- Executing [s@macro-dial-one:63] NoOp("DAHDI/i1/00212660124244-b", "Returned from dial-one with nothing to call and DIALSTATUS: NOANSWER") in new stack
    -- Executing [s@macro-dial-one:64] MacroExit("DAHDI/i1/00212660124244-b", "") in new stack
    -- Executing [s@macro-exten-vm:27] Set("DAHDI/i1/00212660124244-b", "SV_DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:28] GosubIf("DAHDI/i1/00212660124244-b", "0?docfu,1()") in new stack
    -- Executing [s@macro-exten-vm:29] GosubIf("DAHDI/i1/00212660124244-b", "0?docfb,1()") in new stack
    -- Executing [s@macro-exten-vm:30] Set("DAHDI/i1/00212660124244-b", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:31] ExecIf("DAHDI/i1/00212660124244-b", "0?MacroExit()") in new stack
    -- Executing [s@macro-exten-vm:32] GotoIf("DAHDI/i1/00212660124244-b", "1?s-NOANSWER,1") in new stack
    -- Goto (macro-exten-vm,s-NOANSWER,1)
    -- Executing [s-NOANSWER@macro-exten-vm:1] GotoIf("DAHDI/i1/00212660124244-b", "0?exit,1") in new stack
    -- Executing [s-NOANSWER@macro-exten-vm:2] PlayTones("DAHDI/i1/00212660124244-b", "congestion") in new stack
    -- Executing [s-NOANSWER@macro-exten-vm:3] Congestion("DAHDI/i1/00212660124244-b", "10") in new stack
    -- Span 1: Channel 0/1 got hangup request, cause 16
  == Spawn extension (macro-exten-vm, s-NOANSWER, 3) exited non-zero on 'DAHDI/i1/00212660124244-b' in macro 'exten-vm'
  == Spawn extension (ext-local, 100, 2) exited non-zero on 'DAHDI/i1/00212660124244-b'
    -- Executing [h@ext-local:1] Macro("DAHDI/i1/00212660124244-b", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/i1/00212660124244-b", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("DAHDI/i1/00212660124244-b", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] NoOp("DAHDI/i1/00212660124244-b", " montior file= ") in new stack
    -- Executing [s@macro-hangupcall:5] GotoIf("DAHDI/i1/00212660124244-b", "1?skipagi") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] Hangup("DAHDI/i1/00212660124244-b", "") in new stack
  == Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'DAHDI/i1/00212660124244-b' in macro 'hangupcall'
  == Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/i1/00212660124244-b'
    -- DAHDI/i1/00212660124244-b Internal Gosub(crm-hangup,s,1) start
    -- Executing [s@crm-hangup:1] NoOp("DAHDI/i1/00212660124244-b", "Sending Hangup to CRM") in new stack
    -- Executing [s@crm-hangup:2] NoOp("DAHDI/i1/00212660124244-b", "HANGUP CAUSE: 16") in new stack
    -- Executing [s@crm-hangup:3] ExecIf("DAHDI/i1/00212660124244-b", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [s@crm-hangup:4] NoOp("DAHDI/i1/00212660124244-b", "MASTER CHANNEL: 1582971730.11 = 1582971730.11") in new stack
    -- Executing [s@crm-hangup:5] GotoIf("DAHDI/i1/00212660124244-b", "0?return") in new stack
    -- Executing [s@crm-hangup:6] Set("DAHDI/i1/00212660124244-b", "__CRM_HANGUP=1") in new stack
    -- Executing [s@crm-hangup:7] AGI("DAHDI/i1/00212660124244-b", "agi://127.0.0.1/sangomacrm.agi") in new stack
    -- <DAHDI/i1/00212660124244-b>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
    -- Executing [s@crm-hangup:8] Return("DAHDI/i1/00212660124244-b", "") in new stack
  == Spawn extension (ext-local, h, 1) exited non-zero on 'DAHDI/i1/00212660124244-b'
    -- DAHDI/i1/00212660124244-b Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
    -- Hungup 'DAHDI/i1/00212660124244-b'

I made a dahdi trunk g0

thank you all in advance


(Lorne Gaetz) #2

Your call trace is missing a lot. Try using pastebin the share the whole call:
https://wiki.freepbx.org/display/SUP/Providing+Great+Debug#ProvidingGreatDebug-AsteriskLogs-PartII


(Mehdi Abid) #3

thank you.
I’ve already found a solution. It was an extension problem (Chansip pjsip…)


(system) closed #4

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.