Pstn line inbound route "out of service"

i was forced to rebuild my freepbx server after a dead hard drive and i’m running into a problem which maybe is simple but i can’t find a solution the last couple of days.
i’m running with a tdm410p card 1FXO/1FXS and i can place calls without problem but when i try an inbound call, immediately i hear an announcement “the number you have called is not in service”.
I assume that is something with the dahdi configuration and i tried different suggestions read on topics but i haven’t managed to solve this.
I tried to check the asterisk log files for any info. Do u think its a problem with my DID number? am i missing something here?
i’m pasting from the log file the last inbound call i tried to make…
thank you in advance

[2018-03-27 19:33:59] VERBOSE[4341][C-0000000c] sig_analog.c: – Starting simple switch on ‘DAHDI/1-1’
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:1] NoOp(“DAHDI/1-1”, "Entering from-dahdi with DID == ") in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:2] Ringing(“DAHDI/1-1”, “”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:3] Set(“DAHDI/1-1”, “DID=s”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:4] NoOp(“DAHDI/1-1”, “DID is now s”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:5] GotoIf(“DAHDI/1-1”, “1?dahdiok:checkzap”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Goto (from-analog,s,9)
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:9] NoOp(“DAHDI/1-1”, “Is a DAHDi Channel”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:10] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:11] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:12] Macro(“DAHDI/1-1”, “from-dahdi-1,s,1”) in new stack
[2018-03-27 19:34:01] WARNING[4341][C-0000000c] app_macro.c: No such context ‘macro-from-dahdi-1’ for macro ‘from-dahdi-1’. Was called by s@from-analog
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:13] NoOp(“DAHDI/1-1”, “Returned from Macro from-dahdi-1”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-analog:14] Goto(“DAHDI/1-1”, “from-pstn,s,1”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Goto (from-pstn,s,1)
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-pstn:1] NoOp(“DAHDI/1-1”, “No DID or CID Match”) in new stack
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-pstn:2] Answer(“DAHDI/1-1”, “”) in new stack
[2018-03-27 19:34:01] WARNING[4341][C-0000000c] chan_sip.c: This function can only be used on SIP channels.
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-pstn:3] Log(“DAHDI/1-1”, "WARNING,Friendly Scanner from ") in new stack
[2018-03-27 19:34:01] WARNING[4341][C-0000000c] Ext. s: Friendly Scanner from
[2018-03-27 19:34:01] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-pstn:4] Wait(“DAHDI/1-1”, “2”) in new stack
[2018-03-27 19:34:03] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-pstn:5] Playback(“DAHDI/1-1”, “ss-noservice”) in new stack
[2018-03-27 19:34:03] VERBOSE[4341][C-0000000c] file.c: – <DAHDI/1-1> Playing ‘ss-noservice.ulaw’ (language ‘gr’)
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-pstn:6] SayAlpha(“DAHDI/1-1”, “”) in new stack
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@from-pstn:7] Hangup(“DAHDI/1-1”, “”) in new stack
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: == Spawn extension (from-pstn, s, 7) exited non-zero on ‘DAHDI/1-1’
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: – Executing [h@from-pstn:1] Macro(“DAHDI/1-1”, “hangupcall,”) in new stack
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@macro-hangupcall:1] ExecIf(“DAHDI/1-1”, “0?Set(CDR(recordingfile)=.)”) in new stack
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@macro-hangupcall:2] GotoIf(“DAHDI/1-1”, “1?theend”) in new stack
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: – Goto (macro-hangupcall,s,4)
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: – Executing [s@macro-hangupcall:4] Hangup(“DAHDI/1-1”, “”) in new stack
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘DAHDI/1-1’ in macro ‘hangupcall’
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] pbx.c: == Spawn extension (from-pstn, h, 1) exited non-zero on ‘DAHDI/1-1’
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] sig_analog.c: – Hanging up on ‘DAHDI/1-1’
[2018-03-27 19:34:08] VERBOSE[4341][C-0000000c] chan_dahdi.c: – Hungup ‘DAHDI/1-1’
[2018-03-27 19:34:20] VERBOSE[3544][C-0000000d] netsock2.c: == Using SIP RTP TOS bits 184
[2018-03-27 19:34:20] VERBOSE[3544][C-0000000d] netsock2.c: == Using SIP RTP CoS mark 5
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [9000972599022033@from-sip-external:1] NoOp(“SIP/192.168.1.20-00000009”, “Received incoming SIP connection from unknown peer to 9000972599022033”) in new stack
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [9000972599022033@from-sip-external:2] Set(“SIP/192.168.1.20-00000009”, “DID=9000972599022033”) in new stack
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [9000972599022033@from-sip-external:3] Goto(“SIP/192.168.1.20-00000009”, “s,1”) in new stack
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Goto (from-sip-external,s,1)
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [s@from-sip-external:1] GotoIf(“SIP/192.168.1.20-00000009”, “0?checklang:noanonymous”) in new stack
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Goto (from-sip-external,s,5)
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [s@from-sip-external:5] Set(“SIP/192.168.1.20-00000009”, “TIMEOUT(absolute)=15”) in new stack
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] func_timeout.c: – Channel will hangup at 2018-03-27 19:34:35.198 EEST.
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [s@from-sip-external:6] Log(“SIP/192.168.1.20-00000009”, "WARNING,“Rejecting unknown SIP connection from 185.148.145.102"”) in new stack
[2018-03-27 19:34:20] WARNING[4345][C-0000000d] Ext. s: “Rejecting unknown SIP connection from 185.148.145.102”
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [s@from-sip-external:7] Answer(“SIP/192.168.1.20-00000009”, “”) in new stack
[2018-03-27 19:34:20] VERBOSE[4345][C-0000000d] pbx.c: – Executing [s@from-sip-external:8] Wait(“SIP/192.168.1.20-00000009”, “2”) in new stack
[2018-03-27 19:34:22] VERBOSE[4345][C-0000000d] pbx.c: – Executing [s@from-sip-external:9] Playback(“SIP/192.168.1.20-00000009”, “ss-noservice”) in new stack
[2018-03-27 19:34:22] VERBOSE[4345][C-0000000d] file.c: – <SIP/192.168.1.20-00000009> Playing ‘ss-noservice.ulaw’ (language ‘en’)

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