[HELP] Asterisk works with one line but not another

I have a TrixBox setup which uses :
[ul]Asterisk 1.2.9.1
Zaptel 1.2.6[/ul]

I have 2 telephone lines which I’ve been testing :
[ul]a “normal” POTS line which can be used to receive and make calls thru the Asterisk setup;
a line from my DSL connection which can be use to make calls using a normal phone, but which Asterisk does not recognise[/ul]

When I unplug the first line I get an error message in the asterisk logs,
and when I plug that line back in the error is clearer. But when I plug in the second line the error is not cleared.

The zaptel.conf file is :

Span 1: WCFXO/0 “Generic Clone Board 1”

fxsks=1

Span 2: ZTDUMMY/1 “ZTDUMMY/1 1”

Global data

loadzone = uk
defaultzone = uk

And the type of board has an Ambient MD3200 chip on it.

Anyone any ideas ?

First, what hardware are you using? If it’s an X100/X101 or clone, you only have one FXO port and it will not use a second line. The X100/clones are actually rebadged voice modems, the 2nd jack is the ‘phone’ port. This was used so you could plug in a standard phone, which would be taken off the line when the modem dialed so you do not screw up the transmission.

You need to get another X100 card, or preferably a real card like Digium TDM400 or Sangoma A200. (X100 cards often cause people trouble…)

Also your zaptel is being detected correctly. The ZTDUMMY span is for timing… it allows Asterisk to use things other than a Zaptel card for a timing source. This is needed for some things (meetme, some MOH)…

IronHelix wrote:
First, what hardware are you using? If it’s an X100/X101 or clone,

Sorry, yes it is a clone. ( Thats what I tried to say with the Ambient chip).

The X100/clones are actually rebadged voice modems, the 2nd jack is the ‘phone’ port. This was used so you could plug in a standard phone, which would be taken off the line when the modem dialed so you do not screw up the transmission.

Again, I tried to be clear but was obviously not. I am using the correct port, as I unplugged the working line, got an alarm, plugged in the non-working line in the same port which worked previously, and it did not detect the line.

On the DSL line, do you have a fliter ?

I’m not sure (I was not there for the installation).
It is simply an installation on the wall with two sockets.
Taking a line from the “phone” socket to a normal phone works, but using the same line into Asterisk is not recognised as a phone line.

ah okay few things.

first, make damn sure that second port is actually a line. You said you tested both lines with a phone, so I am skipping this.

If * still won’t use it, try playing with the gain settings. Increase RXgain/TXgain. See if that does anything.

Also try installing a DSL Filter on this line. The DSL filter is a small, inexpensive passthrough device which filters the DSL signal out of the line, only allowing the analog POTS to pass.