Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-22 Thread Frank Sautter
Gavin Hamill wrote:
I know the cables themselves are wired correctly because our local PBX support 
made them, and they work perfectly when plugged into a real BT ISDN2e wallbox 
it seems as if this is exactly your problem.
the wallbox has a NT pinout = straight trough cable
the hfc card has a TE pinout = you need a cross-over (isdn not 
ethernet!!) cable to connect to your local pbx which also has a TE 
pinout. the nt/te switches on the hfc card do not cross over the rx/tx 
pairs of the card. this has to be done with the cabling.
i don't think you will need any termination resistors if your cable is 
only a few meters and does not have any other devices on the bus.

regards
 frank sautter
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-22 Thread Gavin Hamill
On Friday 22 April 2005 14:46, Frank Sautter wrote:
 Gavin Hamill wrote:

 it seems as if this is exactly your problem.

Sorry Frank, but this one isn't as simple as cabling... I've made reference in 
this thread already that I do have both straight + ISDN crossover (3/4 and 
5/6 swapped) cables, and none of them work... one will get further than the 
other, i.e. using 'dmesg' I see a TEI request *FROM* the PBX, but I don't see 
any output from the HFC card going back to the PBX to tell it what TEI to 
use...

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-16 Thread Peer Oliver Schmidt
Gavin Hamill wrote:
On Friday 15 April 2005 22:50, Olivier MONNET wrote:
Hello,
 It can be that you need power on your ISDN bus.
[..]
I have just added an ISDN NT to power the bus:
where does one go to find broken NT1 boxes?! We have three ISDN2e NT1s but 
they are all active and working, I don't think I would be very popular if I 
removed one 'to play with' :)
Try it during off-hours. If it works, go to beronet oder junghanns and 
buy one.

--
Best regards
Peer Oliver Schmidt
PGP Key ID: 0x83E1C2EA
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-16 Thread Tim Robinson
In the UK BT do not provide NT1 seperately and the BT ISDN2e grey boxes
only provide emergency power as they do not have a mains connection.
So I do not believe power is the issue...I strongly suspect you need the 
100 ohm terminators and you need to check that your ISDN BRI crossover 
cable is wired correctly.  i.e. the RX pins on one RJ45 connect to the 
TX pins of the other.  Have a look at

http://users.adamant.net/~isdn/s0.doc
Stick with it - it will work and you will be pleased!
Rgds
Tim Robinson
Basingstoke, UK
Gavin Hamill wrote:
On Friday 15 April 2005 22:50, Olivier MONNET wrote:
Hello,
 It can be that you need power on your ISDN bus.
I had this problem with a SIEMENS 3070 connected to a HFC-S card in NT
mode.
I have just added an ISDN NT to power the bus:
just follow the instructions here:
http://home.foni.net/~jolly1/download/PBX4Linux-2.5.html
2.2 Connect ISDN telephones to your ISDN card.

Olivier, thank you. This is very interesting... but it begs the question... 
where does one go to find broken NT1 boxes?! We have three ISDN2e NT1s but 
they are all active and working, I don't think I would be very popular if I 
removed one 'to play with' :)

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-16 Thread Gavin Hamill
On Saturday 16 April 2005 09:33, Tim Robinson wrote:

 So I do not believe power is the issue...I strongly suspect you need the
 100 ohm terminators and you need to check that your ISDN BRI crossover
 cable is wired correctly.  i.e. the RX pins on one RJ45 connect to the
 TX pins of the other.  Have a look at

Tim that's just what I wanted to hear :) I'd rather do a dodgy 'wrapping CAT5 
strands around resistors' effort than mess about with powered NT1s :))

I know the cables themselves are wired correctly because our local PBX support 
made them, and they work perfectly when plugged into a real BT ISDN2e wallbox 
=)

So, I'll pop down to Maplin on Monday and find myself some resistance :)

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-15 Thread Gavin Hamill
Howdy - just got meself a cheapy Cologne chip card to play with in the hopes 
that it will prevail where a £1000 Eicon Diva Server failed...

I'm trying to run in NT mode and appear as a trunk to a PBX (it's an Inter-Tel 
Axxess unit).

If I hook a specific port on the BRI board of the PBX directly to a BT ISDN2e 
wallbox and dial 95000, I get a dialtone and can complete calls. Any time I 
connect to the Diva Server or the zaphfc card, the handset tells me 'TEST 
ISDN2 IS UNPLUGGED'...

I installed asterisk on a completely virgin box using the install.sh contained 
in the bristuff 0.2.0-RC7k tarball.

/etc/asterisk/zapata.conf
[channels]
switchtype = euroisdn
signalling = bri_net
pridialplan = dynamic
prilocaldialplan = local
nationalprefix = 0
internationalprefix = 00

echocancel=yes
echotraining = 100
echocancelwhenbridged=yes

immediate=yes
group = 1
context=demo
channel = 1-2

/etc/zaptel.conf
loadzone=uk
defaultzone=uk

span=1,1,3,ccs,ami
bchan=1-2
dchan=3


Zapata Telephony Interface Registered on major 196
PCI: Enabling device :04:01.0 ( - 0003)
ACPI: PCI interrupt :04:01.0[A] - GSI 17 (level, low) - IRQ 185
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xd002af00 fifo 0xcb3d8000
(0xb3d8000) IRQ 185 HZ 1000
zaphfc: Card 0 configured for NT mode
zaphfc: 1 hfc-pci card(s) in this box.
Registered tone zone 4 (United Kingdom)
zaphfc: card 0 layer 1 state = G2
   plugs cable into PBX
zaphfc: card 0 layer 1 state = G3
zaphfc: empty HDLC frame or bad CRC received (framelen = 3, stat = 0xfe).
zaphfc: empty HDLC frame or bad CRC received (framelen = 40, stat = 0xff).
zaphfc: card 0 RX [ 0xfc 0xff 0x3 0xf 0xff 0x6d 0x1 0xff ] 8 bytes
zaphfc: card 0 RX [ 0xfc 0xff 0x3 0xf 0xf6 0x3e 0x1 0xff ] 8 bytes
zaphfc: card 0 RX [ 0xfc 0xff 0x3 0xf 0x5a 0x1f 0x1 0xff ] 8 bytes

I'm told that the RX bytes are the PBX requesting a TEI from the provider 
(i.e. the * box) but I can't understand why no reply is being given.

This is precisely the same problem I had with the Eicon Diva Server card...

Is this likely to be as simple as needing the 100 ohm resistors, or can it be 
fixed with software?

Cheers
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-15 Thread Tim Robinson

Tim Robinson wrote:
Gavin
Here is my config:
;NT mode - extension card
[channels]
nocid=Unavailable
withheldcid=Withheld
language=en
usecallerid=yes
callwaiting=yes
nationalprefix=0
internationalprefix=00
switchtype = euroisdn
signalling = bri_net_ptmp
pridialplan=local
prilocaldialplan=local
echocancel=yes
echocancelwhenbridged=no
immediate=no
overlapdial=yes
group = 1
context=cybergear-in
channel = 1-2
   

Don't forget you need a cross-over cable with 100 ohm terminationsa 
normal ISDN/Cat5e cable will NOT work. This is a soldering iron job.

you need to know whether your current ISDN2e line is in Point to Point 
mode or Point to Multipoint.  You then need to set the signalling 
parameter accordingly.

Rgds
Tim


Gavin Hamill wrote:
Howdy - just got meself a cheapy Cologne chip card to play with in the 
hopes that it will prevail where a £1000 Eicon Diva Server failed...

I'm trying to run in NT mode and appear as a trunk to a PBX (it's an 
Inter-Tel Axxess unit).

If I hook a specific port on the BRI board of the PBX directly to a BT 
ISDN2e wallbox and dial 95000, I get a dialtone and can complete 
calls. Any time I connect to the Diva Server or the zaphfc card, the 
handset tells me 'TEST ISDN2 IS UNPLUGGED'...

I installed asterisk on a completely virgin box using the install.sh 
contained in the bristuff 0.2.0-RC7k tarball.

/etc/asterisk/zapata.conf
[channels]
switchtype = euroisdn
signalling = bri_net
pridialplan = dynamic
prilocaldialplan = local
nationalprefix = 0
internationalprefix = 00
echocancel=yes
echotraining = 100
echocancelwhenbridged=yes
immediate=yes
group = 1
context=demo
channel = 1-2
/etc/zaptel.conf
loadzone=uk
defaultzone=uk
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
Zapata Telephony Interface Registered on major 196
PCI: Enabling device :04:01.0 ( - 0003)
ACPI: PCI interrupt :04:01.0[A] - GSI 17 (level, low) - IRQ 185
zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xd002af00 fifo 
0xcb3d8000
(0xb3d8000) IRQ 185 HZ 1000
zaphfc: Card 0 configured for NT mode
zaphfc: 1 hfc-pci card(s) in this box.
Registered tone zone 4 (United Kingdom)
zaphfc: card 0 layer 1 state = G2
  plugs cable into PBX
zaphfc: card 0 layer 1 state = G3
zaphfc: empty HDLC frame or bad CRC received (framelen = 3, stat = 0xfe).
zaphfc: empty HDLC frame or bad CRC received (framelen = 40, stat = 
0xff).
zaphfc: card 0 RX [ 0xfc 0xff 0x3 0xf 0xff 0x6d 0x1 0xff ] 8 bytes
zaphfc: card 0 RX [ 0xfc 0xff 0x3 0xf 0xf6 0x3e 0x1 0xff ] 8 bytes
zaphfc: card 0 RX [ 0xfc 0xff 0x3 0xf 0x5a 0x1f 0x1 0xff ] 8 bytes

I'm told that the RX bytes are the PBX requesting a TEI from the 
provider (i.e. the * box) but I can't understand why no reply is being 
given.

This is precisely the same problem I had with the Eicon Diva Server 
card...

Is this likely to be as simple as needing the 100 ohm resistors, or 
can it be fixed with software?

Cheers
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
 


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-15 Thread Rob Scott
If you your board into an ISDN wall socket and it works then you are
acting as a terminal so you are in terminal mode.

Now, how are you connecting to the PBX?
If you are connecting to an ISDN extension on the PBX, then still you
have to match the kind of connection, whether it is point-2-point or
point-2-multipoint.
Then it should work.

If you are connecting it to an external line on the PBX, then it will
have to be in station mode and also you have to work out p2p or p2mp and
also have an ISDN crossover cable (not an ethernet crossover cable).

So a lot for you to work out.

I have successfully got a zpahfc card working on an extension of our PBX
and also a PRI card working on an external PRI line of the PBX, so it
should work for you in the end.
 


___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-15 Thread Gavin Hamill
On Friday 15 April 2005 18:28, Rob Scott wrote:
 If you your board into an ISDN wall socket and it works then you are
 acting as a terminal so you are in terminal mode.

 Now, how are you connecting to the PBX?
 If you are connecting to an ISDN extension on the PBX, then still you
 have to match the kind of connection, whether it is point-2-point or
 point-2-multipoint.
 Then it should work.

Thanks for the suggestion, I'm happy with the ISDN cabling of straight through 
versus 3/4 and 5/6 crossed, and understand the differences in PTMP and PTP 
and also know what I should be configuring...

TE mode on one port works perfectly, NT mode on another port doesn't =)

From the advice I've been taking, I'm now quite convinced this problem is 
simply due to the lack of termination so I'll have to get some resistors and 
see what happens :)

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-15 Thread Olivier MONNET
Hello,
 It can be that you need power on your ISDN bus.
I had this problem with a SIEMENS 3070 connected to a HFC-S card in NT 
mode.
I have just added an ISDN NT to power the bus:
just follow the instructions here:
http://home.foni.net/~jolly1/download/PBX4Linux-2.5.html
2.2 Connect ISDN telephones to your ISDN card.

Le 15 avr. 05, à 22:18, Gavin Hamill a écrit :
On Friday 15 April 2005 18:28, Rob Scott wrote:
If you your board into an ISDN wall socket and it works then you are
acting as a terminal so you are in terminal mode.
Now, how are you connecting to the PBX?
If you are connecting to an ISDN extension on the PBX, then still you
have to match the kind of connection, whether it is point-2-point or
point-2-multipoint.
Then it should work.
Thanks for the suggestion, I'm happy with the ISDN cabling of straight 
through
versus 3/4 and 5/6 crossed, and understand the differences in PTMP and 
PTP
and also know what I should be configuring...

TE mode on one port works perfectly, NT mode on another port doesn't =)
From the advice I've been taking, I'm now quite convinced this problem 
is
simply due to the lack of termination so I'll have to get some 
resistors and
see what happens :)

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Olivier MONNET
Altiva Solutions
+33 476525611  Fax: +33 476525612
http://www.altiva.fr
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Debugging zaphfc + PBX integration

2005-04-15 Thread Gavin Hamill
On Friday 15 April 2005 22:50, Olivier MONNET wrote:
 Hello,
   It can be that you need power on your ISDN bus.
 I had this problem with a SIEMENS 3070 connected to a HFC-S card in NT
 mode.
 I have just added an ISDN NT to power the bus:
 just follow the instructions here:
 http://home.foni.net/~jolly1/download/PBX4Linux-2.5.html
 2.2 Connect ISDN telephones to your ISDN card.

Olivier, thank you. This is very interesting... but it begs the question... 
where does one go to find broken NT1 boxes?! We have three ISDN2e NT1s but 
they are all active and working, I don't think I would be very popular if I 
removed one 'to play with' :)

Cheers,
Gavin.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users