Dicko.
In my home language, we have a saying that roughly translates to this: If someone is REALLY confused, we say "He is so confused like puke in a tumble dryer". I once read a book by an American fighter pilot instructor, referring
to "cranium melt-down" as a state where the events run away from the person.
I am now officially the international PRIME example of both these scenarios.
And the more I read, the more confused I get.
So I think it's time I just stop thinking for a moment and ask questions, some of which may sound utterly stupid to the informed. Nevertheless, I'll ask.
Some background on my system, and thank you for taking the time to read. The company I work for (Primarily a Wireless Internet supplier) has been approached by our local Telecoms to supply "last mile Telco services" to the
public, obviously over wireless. (Just to be clear, this entailed installing an E1-type ISDN service at our premises, of which individual service would then be transmitted to client).
After reading a lot about "provisioning" and some info on the forums, I decided to opt for the following;
An Elastix system, on 2X Dell 1850 servers, each with 2X hard drives,
mirrored. The 2 machines are set to fail-over to give continuity. DRBD is used for this. On the hardware side, I was advised by Romano on the forum to go for Astribank from Xorcom. I took his advice and bought an Astribank with 4X PRI and 24X FXO ports. (We were told that the ISDN installation was going to take a long time, so we thought, at the time, that we could use the FXO's in the meantime as a tie-over. This was not necessary, so the FXO's are not used at all).
Currently, we therefore have 2X E1 ISDN installed on the Astribank (When needed, we'll add 2 more). We get a batch of telephone numbers from the local Telco which are assigned to the ISDN lines. We use A2Billing for accounting.
The actual business-side of events are now to assign one Telco number from the batch we received to a customer. His "own" number now becomes his DID (or DDI in our Telco's parlance". An extension is created for the client, his DID
is assigned to his extension. The "context" in the extension set-up is A2Billing, and the A2B account number is entered into the extension section.
In the perfect world, this will result in incoming calls to the customer via his DID ringing to his extension. Outgoing calls will be made through A2B on a pre-paid system (not cards, no voice prompts, no balances, no "please enter the number scenes"). Straight forward dialing/authentication via his caller ID.
What I did: (Reading from forums, manuals, etc)
How to set up Elastix with fail-over. Difficult, but got it working.
How to set up Xorcom Astribank/Twinstar. Very difficult, but after Xorcom supplied the MUCH needed files, it was a breeze. (There is still issues with fail-back. Xorcom triggers from watchdog a fail-over. On fail-back, none of
the conditions that triggered the fail-over are present. So fail-back is done manually). Anyway, my Elastix system with Astribank/Twinstar can now fail-over
automatically.
I've not changed many files. Mostly everything seemed to be working "Plug-n-play", which was more or less what I was after.
Now we arrive at the point of the previous message of this topic.
Questions:
I'm completely confused regarding Zaptel and Dahdi. I've read somewhere that dahdi is the new replacement for zaptel. Now, in my mind, replacement means just that-replacement. IOW, zaptel is no more? But I keep running into zaptel everywhere I read about "how to .. on dahdi"? There are context's "from zaptel", in the system logs I see zaptel channels. So, I'm lost - in the tumble dryer.
All the files that people change seem to be "auto-generated" files? So what good is it to change them, like the dahdi channels.conf and others?
I don't know what dahdi1/1 means. Does dahdi do both ISDN and FXO? My Astribank only has the 2 ISDN E1's connected.
In the set-up scenario as described above, I could receive a call on an extension I tested, but the phone can not dial out. I have the trunk as g12, but the system says "...outgoing...busy". (I'm trying to get a direct call-out, not through A2B, to see where the faults are).
Contexts issues put me in a "I'm a drooling idiot" mode. I have no idea what to use them for. From-internal; from-pstn; from-zaptel; They may all have been "from-MARS" - I could never find a clear concise write-up on exactly what they mean and what they do. Like, in my own scenario, why is there not a "from-dahdi" context? In the chan_dahdi.cong file, it says context=from-pstn. In the dahdi-channels.conf it says context=from-zaptel for the ISDN Span(s). ????? In Elastix extensions we have "from-internal"; then there's "a2billing" and in my dreams, "from-HELL".
For the system to work through A2B on outgoing, I had to create a special trunk A2B/1. But also a normal trunk g11/g12 or even g63 (Jeez! I'm not sure) (as far as I could establish). A2B now uses the g12 as a "ZAP" trunk. But
clients are going out via the A2b/1 trunk into A2B, then back to Elastix via the g12 trunk. Is this normal?
I'm sure the people who designed this ALL work for NASA? Because to me it's much more complicated than rocket science.
I am SO lost - I think through too much reading. 1001 opinions about the same subject just adds to all the confusion. Differentiating between different versions of Elastix, write-ups on a subject from Elastix, Trixbox, Ast.Now, etc adds some more confusion. And in the end, you have .... ME! (A very unintelligent "Duh" from me).
Dicko. I wonder if it's possible to help me? I'm at earth's end right now and balancing between asking for help or just asking you to fix our system (with payment, of course). The latter would be the easiest (for me), but to quote
you while talking to someone else - the purpose is to do my own trouble-shooting, and fixing my own problems. So, if you fixed it, I'd have a working system, but I would not be able to fix it afterwards.....
What do you suggest?
Jan
Added:
I get this when attempting a call.
[Mar 8 15:07:33] NOTICE[21009] app_dial.c: Hey! chan SIP/1306-00000009's context='macro-dialout-trunk', and exten='s'
[Mar 8 15:07:33] VERBOSE[21009] logger.c: -- Requested transfer capability: 0x00 - SPEECH
[Mar 8 15:07:33] VERBOSE[21009] logger.c: -- Called 11/5555555555 (Real number hidden)
[Mar 8 15:07:33] DEBUG[9068] chan_dahdi.c: Queuing frame from PRI_EVENT_PROCEEDING on channel 0/11 span 1
[Mar 8 15:07:33] VERBOSE[21009] logger.c: -- DAHDI/11-1 is proceeding passing it to SIP/1306-00000009
[Mar 8 15:07:33] VERBOSE[9068] logger.c: -- Channel 0/11, span 1 got hangup request, cause 3
[Mar 8 15:07:33] WARNING[21009] app_dial.c: Unable to forward voice or dtmf
[Mar 8 15:07:33] DEBUG[21009] chan_dahdi.c: Set option AUDIO MODE, value: ON(1) on DAHDI/11-1
[Mar 8 15:07:33] DEBUG[21009] chan_dahdi.c: Not yet hungup... Calling hangup once with icause, and clearing call
[Mar 8 15:07:33] DEBUG[21009] chan_dahdi.c: Set option AUDIO MODE, value: OFF(0) on DAHDI/11-1
[Mar 8 15:07:33] VERBOSE[21009] logger.c: -- Hungup 'DAHDI/11-1'
[Mar 8 15:07:33] VERBOSE[21009] logger.c: == Everyone is busy/congested at this time (1:0/0/1)
???
Jan