No Service with POTS Lines

I have a FreePBX install running version 12.0.29 and Asterisk 11.14.,2.

I have a Sangoma D600E installed running DAHDI version 2.10.0.1 and the system seems to be good as I can make outbound calls.

My issues is incoming, I have two lines in a hunt group and have setup my routes (I think) correctly, however when I call the number I get a "The number you have dialed is not in service, please check the number… "

I am getting an entry in the logs as noted below… any idwas as to why I would be getting this message?

Thanks!

Brian

–BEGIN
[2015-01-23 14:41:29] VERBOSE[17286][C-00000021] sig_analog.c: – Starting simple switch on ‘DAHDI/1-1’
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:1] NoOp(“DAHDI/1-1”, "Entering from-dahdi with DID == ") in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:2] Ringing(“DAHDI/1-1”, “”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:3] Set(“DAHDI/1-1”, “DID=s”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:4] NoOp(“DAHDI/1-1”, “DID is now s”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:5] GotoIf(“DAHDI/1-1”, “1?dahdiok:checkzap”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Goto (from-analog,s,9)
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:9] NoOp(“DAHDI/1-1”, “Is a DAHDi Channel”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:10] Set(“DAHDI/1-1”, “CHAN=1-1”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:11] Set(“DAHDI/1-1”, “CHAN=1”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:12] Macro(“DAHDI/1-1”, “from-dahdi-1,s,1”) in new stack
[2015-01-23
14:41:30] WARNING[17286][C-00000021] app_macro.c: No such context
’macro-from-dahdi-1’ for macro ‘from-dahdi-1’. Was called by
s@from-analog
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:13] NoOp(“DAHDI/1-1”, “Returned from Macro from-dahdi-1”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-analog:14] Goto(“DAHDI/1-1”, “from-pstn,s,1”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Goto (from-pstn,s,1)
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-pstn:1] NoOp(“DAHDI/1-1”, “No DID or CID Match”) in new stack
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-pstn:2] Answer(“DAHDI/1-1”, “”) in new stack
[2015-01-23 14:41:30] WARNING[17286][C-00000021] chan_sip.c: This function can only be used on SIP channels.
[2015-01-23
14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing
[s@from-pstn:3] Log(“DAHDI/1-1”, "WARNING,Friendly Scanner from ") in
new stack
[2015-01-23 14:41:30] WARNING[17286][C-00000021] Ext. s: Friendly Scanner from
[2015-01-23 14:41:30] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-pstn:4] Wait(“DAHDI/1-1”, “2”) in new stack
[2015-01-23 14:41:32] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-pstn:5] Playback(“DAHDI/1-1”, “ss-noservice”) in new stack
[2015-01-23 14:41:32] VERBOSE[17286][C-00000021] file.c: – <DAHDI/1-1> Playing ‘ss-noservice.ulaw’ (language ‘en’)
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-pstn:6] SayAlpha(“DAHDI/1-1”, “”) in new stack
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@from-pstn:7] Hangup(“DAHDI/1-1”, “”) in new stack
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: == Spawn extension (from-pstn, s, 7) exited non-zero on ‘DAHDI/1-1’
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: – Executing [h@from-pstn:1] Macro(“DAHDI/1-1”, “hangupcall,”) in new stack
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@macro-hangupcall:1] GotoIf(“DAHDI/1-1”, “1?theend”) in new stack
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: – Goto (macro-hangupcall,s,3)
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@macro-hangupcall:3] ExecIf(“DAHDI/1-1”, “0?Set(CDR(recordingfile)=)”) in new stack
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: – Executing [s@macro-hangupcall:4] Hangup(“DAHDI/1-1”, “”) in new stack
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘DAHDI/1-1’ in macro ‘hangupcall’
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] pbx.c: == Spawn extension (from-pstn, h, 1) exited non-zero on ‘DAHDI/1-1’
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] sig_analog.c: – Hanging up on ‘DAHDI/1-1’
[2015-01-23 14:41:37] VERBOSE[17286][C-00000021] chan_dahdi.c: – Hungup ‘DAHDI/1-1’

Add a macro called ‘from-dahdi-1’ that sets the DID number. You should be able to get going after that.

Ok yes Im a bit of a n00b here, but I did this same setup on a separate system, and I never had done that before… if that’s what I need, Ill do it, however im not sure how to at this point…

Sorry, can you guide me a little?

thanks!!!

-b

Check that you have a usable pseudo DID set for your dhadi channel 1.

BINGO!!! I have my channel set to 0! Once I set it to 1, the system now works!

THANKS dicko, and cynjut!!! Very helpful!!

Let me know where to send the beer/wine/cigars! :smile:

Brian