I see almost no support left for the trixbox so I built up a FreePBX using a FreePBX Distro 1.812.210.57 32Bit.
The card currently in the trixbox is the DIGIUM TDM2400P. This is the exact card I need to use in my FreePBX box.
I basically went into the trixbox and menu by menu, copied the extensions, trunks, ring groups, and basic settings. I also followed the Installing the FreePBX Distro documentation, followed by the First Steps After Installation to the best I could.
I am only using 3 analog lines coming in and all phones are analog.
I was given the opportunity to shut down the trixbox and put the card into the new machine to try it out. Everything internal works from what I could tell (calling other extensions, ect). HOWEVER, I cannot dial out.
I checked the settings in the trunk menu compared to the trunks on the trixbox and they are nearly identical.
I made sure the outbound routes are the same. The dial routes look different from the trixbox but they are set up by selecting a drop-down menu item.
1 from-internal en default In Service
2 from-internal en default In Service
3 from-internal en default In Service
4 from-internal en default In Service
5 from-internal en default In Service
6 from-internal en default In Service
7 from-internal en default In Service
8 from-internal en default In Service
9 from-internal en default In Service
10 from-internal en default In Service
11 from-internal en default In Service
12 from-internal en default In Service
… and I still did not get any outside lines. It told me that all circuits are busy.
I’m new (but hoping to involve myself enough to ask not-so n00b questions) so I appreciate any help here.
EDIT:
I ran the dahdi show channels from the working trixbox and found the above PLUS:
21 from-pstn en default In Service
22 from-pstn en default In Service
23 from-pstn en default In Service
24 from-pstn en default In Service
Hmmm. I have no idea how to configure this. Please help.
Thanks for the heads up but if we’re looking at the dahdi-channels.conf, the current usable box is working just fine with the context=from-pstn. The new box has the same:
Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-internal en default In Service
2 from-internal en default In Service
3 from-internal en default In Service
4 from-internal en default In Service
5 from-internal en default In Service
8 from-internal en default In Service
9 from-internal en default In Service
10 from-internal en default In Service
11 from-internal en default In Service
12 from-internal en default In Service
21 from-pstn en default In Service
22 from-pstn en default In Service
23 from-pstn en default In Service
24 from-pstn en default In Service
LOG
sig_analog.c: – Starting simple switch on 'DAHDI/21-1’
pbx.c: – Executing [[email protected]:1] NoOp(“DAHDI/21-1”, “No DID or CID Match”) in new stack
pbx.c: – Executing [[email protected]:2] Answer(“DAHDI/21-1”, “”) in new stack
pbx.c: – Executing [[email protected]:3] Wait(“DAHDI/21-1”, “2”) in new stack
[2012-06-11 12:07:17pbx.c: – Executing [[email protected]:4] Playback(“DAHDI/21-1”, “ss-noservice”) in new stack
[2012-06-11 12:07:17file.c: – <DAHDI/21-1> Playing ‘ss-noservice.ulaw’ (language ‘en’)
pbx.c: – Executing [[email protected]:5] SayAlpha(“DAHDI/21-1”, “”) in new stack
pbx.c: – Executing [[email protected]:6] Hangup(“DAHDI/21-1”, “”) in new stack
pbx.c: == Spawn extension (from-pstn, s, 6) exited non-zero on 'DAHDI/21-1’
pbx.c: – Executing [[email protected]:1] Macro(“DAHDI/21-1”, “hangupcall,”) in new stack
pbx.c: – Executing [[email protected]:1] GotoIf(“DAHDI/21-1”, “1?theend”) in new stack
pbx.c: – Goto (macro-hangupcall,s,3)
pbx.c: – Executing [[email protected]:3] ExecIf(“DAHDI/21-1”, “0?Set(CDR(recordingfile)=)”) in new stack
pbx.c: – Executing [[email protected]:4] Hangup(“DAHDI/21-1”, “”) in new stack
app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘DAHDI/21-1’ in macro 'hangupcall’
pbx.c: == Spawn extension (from-pstn, h, 1) exited non-zero on 'DAHDI/21-1’
sig_analog.c: – Hanging up on 'DAHDI/21-1’
chan_dahdi.c: – Hungup ‘DAHDI/21-1’
–
It says no DID, so I went in and saw my inbound route settings were missing. Hmmm. To be simple (or perhaps I am making things more complicated), I added an Incoming Route with everything going to my main ring group with no id. Perhaps that is it but I wont be able to test it until tomorrow or much later today. What do you think??