Re: [Asterisk-Users] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-27 Thread Francesco Peeters
On Sun, November 27, 2005 22:59, Francesco Peeters said:
> On Sun, November 27, 2005 11:12, Kristof Hardy said:
>> Francesco Peeters wrote:
>>> Reshuffled the cards in my machine (actually inverted the order of the
>>> PCI
>>> cards) and problem solved!
>>
>> Indeed, if the bios is is not working 'with' you, but more against you,
>> then shuffling could solve the problem, glad it did :-)
>>
>>> It appears the bottom 2 slots of the MoBo share an IRQ line, period...
>>> Now the cards have different IRQs, and both work, *with* the sync
>>> connection in place (i.e. the NT running of the TE clock)
>>> Brilliant!
>>> Now to play with the dialplan and integrate a zap-channel phone (or
>>> actually: 4 phones... )
>>
>> Excellent, now the 'really' fun part starts out :-) 1.2 has 'soo' many
>> possibilities :)
>>
>> cheers!
>>
>>
>
> I have the 4030 running now, and it works fine, however when I restart
> asterisk (amportal stop/start) I get an error...
>
> Not sure yet what the exact cause is, but I do know it has something to do
> with the AMP file 'zapata_additional.conf', as the error goes when I
> disable the include statement in 'zapata.conf' (but then the ZAP
> extensions don't work!)
>
> The error I get is:
> Nov 27 21:05:52 WARNING[15764] chan_zap.c: Ignoring echocancelwhenbridge
> Nov 27 21:05:52 ERROR[15764] chan_zap.c: Syntax error parsing 'g11/2010'
> at 'g11/2010'
> Nov 27 21:05:52 WARNING[15764] chan_zap.c: Reload of chan_zap.so is
> unsuccessful!
>
>
> I suspect it is because it tries to use the channel group (g11 is the
> group for channels 1 and 2 on the NT card) before chan_zap has completed
> loading.
>
> As a workaround I have tried the following:
> - comment out the zapata_additional line in zapata.conf
> - start asterisk (amportal start)
> - uncomment the zapata_additional line
> - reload the config
>
> Which works, but of course is not a viable solution for the long term.
>
> The zapata_additional, as defined by AMP:


Well, I replaced the g11/201* entries with 1-2/201* and all seems to work,
but I really would like to use the groups, so I do not have to redo all
extensions when I change the order or grouping of the cards...

I'll have to check what exactly is happening there, and how to circumvent
it...

Bedtime now!  :-)

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-27 Thread Francesco Peeters
On Sun, November 27, 2005 11:12, Kristof Hardy said:
> Francesco Peeters wrote:
>> Reshuffled the cards in my machine (actually inverted the order of the
>> PCI
>> cards) and problem solved!
>
> Indeed, if the bios is is not working 'with' you, but more against you,
> then shuffling could solve the problem, glad it did :-)
>
>> It appears the bottom 2 slots of the MoBo share an IRQ line, period...
>> Now the cards have different IRQs, and both work, *with* the sync
>> connection in place (i.e. the NT running of the TE clock)
>> Brilliant!
>> Now to play with the dialplan and integrate a zap-channel phone (or
>> actually: 4 phones... )
>
> Excellent, now the 'really' fun part starts out :-) 1.2 has 'soo' many
> possibilities :)
>
> cheers!
>
>

I have the 4030 running now, and it works fine, however when I restart
asterisk (amportal stop/start) I get an error...

Not sure yet what the exact cause is, but I do know it has something to do
with the AMP file 'zapata_additional.conf', as the error goes when I
disable the include statement in 'zapata.conf' (but then the ZAP
extensions don't work!)

The error I get is:
Nov 27 21:05:52 WARNING[15764] chan_zap.c: Ignoring echocancelwhenbridge
Nov 27 21:05:52 ERROR[15764] chan_zap.c: Syntax error parsing 'g11/2010'
at 'g11/2010'
Nov 27 21:05:52 WARNING[15764] chan_zap.c: Reload of chan_zap.so is
unsuccessful!


I suspect it is because it tries to use the channel group (g11 is the
group for channels 1 and 2 on the NT card) before chan_zap has completed
loading.

As a workaround I have tried the following:
- comment out the zapata_additional line in zapata.conf
- start asterisk (amportal start)
- uncomment the zapata_additional line
- reload the config

Which works, but of course is not a viable solution for the long term.

The zapata_additional, as defined by AMP:
;;[2010]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
[EMAIL PROTECTED]
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Basis" <2010>
busydetect=no
busycount=7
channel=>g11/2010

;;[2011]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
[EMAIL PROTECTED]
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Woonkamer" <2011>
busydetect=no
busycount=7
channel=>g11/2011

;;[2012]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
[EMAIL PROTECTED]
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Slaapkamer" <2012>
busydetect=no
busycount=7
channel=>g11/2012

;;[2013]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
[EMAIL PROTECTED]
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Miriam" <2013>
busydetect=no
busycount=7
channel=>g11/2013

;;[2014]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
[EMAIL PROTECTED]
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="Francesco" <2014>
busydetect=no
busycount=7
channel=>g11/2014

;;[2020]
signalling=fxo_ks
record_out=On-Demand
record_in=On-Demand
[EMAIL PROTECTED]
echotraining=800
echocancelwhenbridge=no
echocancel=yes
context=from-internal
callprogress=no
callerid="All" <2020>
busydetect=no
busycount=7
channel=>g11/2020


To be continued...

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-27 Thread Kristof Hardy

Francesco Peeters wrote:

Reshuffled the cards in my machine (actually inverted the order of the PCI
cards) and problem solved!


Indeed, if the bios is is not working 'with' you, but more against you, 
then shuffling could solve the problem, glad it did :-)



It appears the bottom 2 slots of the MoBo share an IRQ line, period...
Now the cards have different IRQs, and both work, *with* the sync
connection in place (i.e. the NT running of the TE clock)
Brilliant!
Now to play with the dialplan and integrate a zap-channel phone (or
actually: 4 phones... )


Excellent, now the 'really' fun part starts out :-) 1.2 has 'soo' many 
possibilities :)


cheers!

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-26 Thread Francesco Peeters
On Sat, November 26, 2005 23:19, Francesco Peeters said:
> On Fri, November 25, 2005 18:44, Francesco Peeters said:
>> On Fri, November 25, 2005 9:29, Kristof Hardy said:

>
> Well, so far not good! * really seems to have problems with that second
> card!  :-(
>
> When I have it run it's own clock, neither card works (probably because
> both cards have the same IRQ, which I simply can NOT change. I have set up
> the PCI slot IRQ's for 4,5,7 and 9, but still BOTH cards share IRQ 11 (?!)
> with the USB controller (which is set to NOT have an IRQ in the BIOS!)
>
> When I set the NT mode card for slave, the TE card works fine, and the NT
> card doesn't work beyond Layer 1 setup... (Which is logical, as it doesn't
> have a clock anymore...)
>
> When I then connect the TE clock lines (pins 55 54 and 52) to eachother,
> neither card works again, probably again because of the IRQ sharing (even
> with Florz's IRQ sharing I suspect that'll create issues)
>
> So I guess I'll have to investigate whether I can change the IRQ on at
> least one of the cards!  :-o
>
> More to come!
>

Reshuffled the cards in my machine (actually inverted the order of the PCI
cards) and problem solved!

It appears the bottom 2 slots of the MoBo share an IRQ line, period...
Now the cards have different IRQs, and both work, *with* the sync
connection in place (i.e. the NT running of the TE clock)

Brilliant!

Now to play with the dialplan and integrate a zap-channel phone (or
actually: 4 phones... )

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-26 Thread Francesco Peeters
On Fri, November 25, 2005 18:44, Francesco Peeters said:
> On Fri, November 25, 2005 9:29, Kristof Hardy said:
>> Francesco Peeters wrote:
>>> I compiled 1.2 and bristuff 0.3.0 Pre1 yesterday late and that now
>>> seems
>>> to work! * is up and running *with* 2nd card in NT mode...
>>
>> Nice to hear *1.2 and bristuff 0.3pre1 makes a difference..
>>
>>
>
> Just switched the config around so the NT mode card was active, and I got
> dialtone, etc.  :-)
>
> Now the hardest part: Connecting the HFC clock lines of both cards to
> eachother (the soldering iron is ready, just have to shutdown the server
> and take out the cards) because I need the NT card to be slave to the TE
> card.
> (Both cards running their own clocks doesn't seem to agree with asterisk
> anyway, so it's a good thing I was planning on this all along!)
>
> This is the most critical part of the test: Once I start soldering on the
> cards there is no more returning, no warranty, etc.
>
> But I know now that both modes work with 1.2, so it's time to take that
> plunge!
>
> I'll let the list know when I'm done!
>

Well, so far not good! * really seems to have problems with that second
card!  :-(

When I have it run it's own clock, neither card works (probably because
both cards have the same IRQ, which I simply can NOT change. I have set up
the PCI slot IRQ's for 4,5,7 and 9, but still BOTH cards share IRQ 11 (?!)
with the USB controller (which is set to NOT have an IRQ in the BIOS!)

When I set the NT mode card for slave, the TE card works fine, and the NT
card doesn't work beyond Layer 1 setup... (Which is logical, as it doesn't
have a clock anymore...)

When I then connect the TE clock lines (pins 55 54 and 52) to eachother,
neither card works again, probably again because of the IRQ sharing (even
with Florz's IRQ sharing I suspect that'll create issues)

So I guess I'll have to investigate whether I can change the IRQ on at
least one of the cards!  :-o

More to come!

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [Asterisk-Users] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-25 Thread Francesco Peeters
On Fri, November 25, 2005 9:29, Kristof Hardy said:
> Francesco Peeters wrote:
>> I compiled 1.2 and bristuff 0.3.0 Pre1 yesterday late and that now seems
>> to work! * is up and running *with* 2nd card in NT mode...
>
> Nice to hear *1.2 and bristuff 0.3pre1 makes a difference..
>
>

Just switched the config around so the NT mode card was active, and I got
dialtone, etc.  :-)

Now the hardest part: Connecting the HFC clock lines of both cards to
eachother (the soldering iron is ready, just have to shutdown the server
and take out the cards) because I need the NT card to be slave to the TE
card.
(Both cards running their own clocks doesn't seem to agree with asterisk
anyway, so it's a good thing I was planning on this all along!)

This is the most critical part of the test: Once I start soldering on the
cards there is no more returning, no warranty, etc.

But I know now that both modes work with 1.2, so it's time to take that
plunge!

I'll let the list know when I'm done!

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-25 Thread Kristof Hardy

Francesco Peeters wrote:

I compiled 1.2 and bristuff 0.3.0 Pre1 yesterday late and that now seems
to work! * is up and running *with* 2nd card in NT mode...


Nice to hear *1.2 and bristuff 0.3pre1 makes a difference..

cheers
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-24 Thread Francesco Peeters
On Fri, November 25, 2005 3:27, Tzafrir Cohen said:
> On Thu, Nov 24, 2005 at 10:16:40PM +0100, Francesco Peeters wrote:

>> > Seems to me there's an issue in that area: chan_zap, maybe libpri,
>> etc.
>
> So what do you have in zapata.conf?
>

I posted that a few posts back in this thread... No need to repeat it,
especially because of below developments!

>> >
>>
>> I keep replying to myself...  ;-)
>>

Yes, I really do!


I compiled 1.2 and bristuff 0.3.0 Pre1 yesterday late and that now seems
to work! * is up and running *with* 2nd card in NT mode...

I'll test with connecting a phone to it tonight to see whether that'll
work too, but at least * now continues to load correctly *and* both D
channels come up!

Progress at last!

I'll keep ya'll updated!

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-24 Thread Tzafrir Cohen
On Thu, Nov 24, 2005 at 10:16:40PM +0100, Francesco Peeters wrote:
> On Thu, November 24, 2005 20:09, Francesco Peeters said:
> > On Wed, November 23, 2005 20:29, Francesco Peeters said:
> 
> >
> > Just made myself a crossed NT1 connection to the NT mode card (as
> > described on the PBX4linux site) and connected my phone.
> >
> > The zaphfc driver shows that layer 1 is activated (G3) once the phone is
> > connected, but that is where it stops, as anything above that should be
> > handled in chan_zap.
> >
> > However when I leave the card in bri_cpe_ptmp in zapata.conf, the layer2+
> > protocols are not correct (TE mode) and when I put in bri_net_ptmp, the
> > chan_zap somehow doesn't complete loading or exits in an unexpected
> > manner, resulting in a situation where Asterisk stops loading it's
> > configs, and thus runs without a dialplan and other modules...
> >
> > Seems to me there's an issue in that area: chan_zap, maybe libpri, etc.

So what do you have in zapata.conf?

> >
> 
> I keep replying to myself...  ;-)
> 
> Some extra info:
> /proc/zaptel/*:
> Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] layer 1 ACTIVATED (F7)" AMI/CCS
> 
>1 ZTHFC1/0/1 Clear (In use)
>2 ZTHFC1/0/2 Clear (In use)
>3 ZTHFC1/0/3 HDLCFCS (In use)
> Span 2: ZTHFC2 "HFC-S PCI A ISDN card 1 [NT] layer 1 ACTIVATED (G3)" AMI/CCS
> 
>4 ZTHFC2/0/1 Clear (In use)
>5 ZTHFC2/0/2 Clear (In use)
>6 ZTHFC2/0/3 HDLCFCS (In use)
> 
> /proc/pci:
>   Bus  0, device   7, function  2:
> USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
>   IRQ 11.
>   Master Capable.  Latency=32.
>   I/O at 0xc000 [0xc01f].
>   Bus  0, device   9, function  0:
> Network controller: Cologne Chip Designs GmbH ISDN network controller
> [HFC-P
> CI] (rev 2).
>   IRQ 11.
>   Master Capable.  Latency=16.  Max Lat=16.
>   I/O at 0xc400 [0xc407].
>   Non-prefetchable 32 bit memory at 0xe3001000 [0xe30010ff].
>   Bus  0, device  17, function  0:
> Network controller: Cologne Chip Designs GmbH ISDN network controller
> [HFC-P
> CI] (#2) (rev 2).
>   IRQ 11.
>   Master Capable.  Latency=16.  Max Lat=16.
>   I/O at 0xcc00 [0xcc07].
>   Non-prefetchable 32 bit memory at 0xe3002000 [0xe30020ff].
> 
> I have tried all I can to assign different IRQ's to the HFC-PCI cards, but
> they *always* take IRQ 11  :-(
> 
> -- 
> Francesco Peeters
> 
> GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
> If your program doesn't recognize my signature, please visit
> http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> 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

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-24 Thread Francesco Peeters
On Thu, November 24, 2005 20:09, Francesco Peeters said:
> On Wed, November 23, 2005 20:29, Francesco Peeters said:

>
> Just made myself a crossed NT1 connection to the NT mode card (as
> described on the PBX4linux site) and connected my phone.
>
> The zaphfc driver shows that layer 1 is activated (G3) once the phone is
> connected, but that is where it stops, as anything above that should be
> handled in chan_zap.
>
> However when I leave the card in bri_cpe_ptmp in zapata.conf, the layer2+
> protocols are not correct (TE mode) and when I put in bri_net_ptmp, the
> chan_zap somehow doesn't complete loading or exits in an unexpected
> manner, resulting in a situation where Asterisk stops loading it's
> configs, and thus runs without a dialplan and other modules...
>
> Seems to me there's an issue in that area: chan_zap, maybe libpri, etc.
>

I keep replying to myself...  ;-)

Some extra info:
/proc/zaptel/*:
Span 1: ZTHFC1 "HFC-S PCI A ISDN card 0 [TE] layer 1 ACTIVATED (F7)" AMI/CCS

   1 ZTHFC1/0/1 Clear (In use)
   2 ZTHFC1/0/2 Clear (In use)
   3 ZTHFC1/0/3 HDLCFCS (In use)
Span 2: ZTHFC2 "HFC-S PCI A ISDN card 1 [NT] layer 1 ACTIVATED (G3)" AMI/CCS

   4 ZTHFC2/0/1 Clear (In use)
   5 ZTHFC2/0/2 Clear (In use)
   6 ZTHFC2/0/3 HDLCFCS (In use)

/proc/pci:
  Bus  0, device   7, function  2:
USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).
  IRQ 11.
  Master Capable.  Latency=32.
  I/O at 0xc000 [0xc01f].
  Bus  0, device   9, function  0:
Network controller: Cologne Chip Designs GmbH ISDN network controller
[HFC-P
CI] (rev 2).
  IRQ 11.
  Master Capable.  Latency=16.  Max Lat=16.
  I/O at 0xc400 [0xc407].
  Non-prefetchable 32 bit memory at 0xe3001000 [0xe30010ff].
  Bus  0, device  17, function  0:
Network controller: Cologne Chip Designs GmbH ISDN network controller
[HFC-P
CI] (#2) (rev 2).
  IRQ 11.
  Master Capable.  Latency=16.  Max Lat=16.
  I/O at 0xcc00 [0xcc07].
  Non-prefetchable 32 bit memory at 0xe3002000 [0xe30020ff].

I have tried all I can to assign different IRQ's to the HFC-PCI cards, but
they *always* take IRQ 11  :-(

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-24 Thread Francesco Peeters
On Wed, November 23, 2005 20:29, Francesco Peeters said:
> On Wed, November 23, 2005 11:17, Francesco Peeters said:

>
> Just a question: Does the card require a device connected to it to start
> up in NT mode? I have been testing so far, so I have not yet connected my
> phone to the card with a cross-cable because I did not want to lose normal
> telephone access...
>

Just made myself a crossed NT1 connection to the NT mode card (as
described on the PBX4linux site) and connected my phone.

The zaphfc driver shows that layer 1 is activated (G3) once the phone is
connected, but that is where it stops, as anything above that should be
handled in chan_zap.

However when I leave the card in bri_cpe_ptmp in zapata.conf, the layer2+
protocols are not correct (TE mode) and when I put in bri_net_ptmp, the
chan_zap somehow doesn't complete loading or exits in an unexpected
manner, resulting in a situation where Asterisk stops loading it's
configs, and thus runs without a dialplan and other modules...

Seems to me there's an issue in that area: chan_zap, maybe libpri, etc.

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-23 Thread Francesco Peeters
On Wed, November 23, 2005 11:17, Francesco Peeters said:
> On Wed, November 23, 2005 7:21, Tzafrir Cohen said:
>> On Tue, Nov 22, 2005 at 09:20:23PM +0100, Francesco Peeters wrote:
>>> I have seen several claims that it can be done: Multiple HFC-PCI cards
>>> running both BRI_CPE_PTMP and BRI_NET_PTMP simultaneously, but *nobody*
>>> has been able yet to tell me the exact setup to make it work...
>>>
>>> My asterisk server breaks as soon as I turn one of the two cards in to
>>> an
>>> NT card, which I suspect is an issue in the (Florz-patched) BriStuffed
>>> chan_zap.so module, but as my cards aren't original Junghanns', they
>>> obviously aren't supported by Junghanns...
>>> (ZapHFC btw shows both cards active, one as TE Master, the other as NT
>>> slave, so that seems to be OK! I therefore doubt it is the Florz
>>> patch!)
>>
>> And you're very scarse on details here. How about your zaptel.conf and
>> the relevant prts of your zapata.conf?
>>
>
> I had those in previous posts to which nobody responded... I'll repeat
> below!
>
>> Also: if you want just one of the cards in NT mode and the other
>> in TE mode, how can you be sure which one os the first and which is the
>> second?
>>
>
> 1) Put in both cards
> 2) Activate only the first in TE mode
> 3) Test which one responds with D-channel up/down messages when connected
> to the PSTN
> 4) The other one is the second one, which will be running in NT mode...
>
> ;-)
>

Just a question: Does the card require a device connected to it to start
up in NT mode? I have been testing so far, so I have not yet connected my
phone to the card with a cross-cable because I did not want to lose normal
telephone access...

TIA!

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-23 Thread Francesco Peeters
On Wed, November 23, 2005 19:21, Jose Limeres said:
> I also had good results with mISDN  where CAPI and BRIstuff failed
> before. In my case just for 1 HFCPCI BRI card.
> The instalation ran smoothly except that in the end when I try to
> restart ASterisk  get the message: Unable to initialize mISDN.
> I have the suspicion that the reason could be that no BRI line is
> detected as I do not have any available. Had anyone a similar problem?
>
> Jose
>
> On 23/11/05, David Woodhouse <[EMAIL PROTECTED]> wrote:
>> On Tue, 2005-11-22 at 22:04 +0100, Kristof Hardy wrote:
>> > Maybe it's worth a try, using chan_mISDN (experimental, but works!)..
>> > You can find the how-to pdf (for beronet, hfc, etc.. cards) on
>> > http://www.beronet.com/downloads/.
>> >
>> > There also is an install-script that helps you through the
>> > installation, I have gotten it to work with a junghanns card and 1x
>> > HFC pci card. Didn't have a 2nd hfc around to try back then..
>> >
>> > I you have results (good/bad) keep the list (or me) posted :)
>>
>> I'm using chan_misdn successfully with two HFC cards; one in NT mode and
>> one in TE mode.
>>
>> --
>> dwmw2
>

So, if I switch to mISDN, I'll need to have kernel 2.6.8 or better, which
means I'll have to reinstall, as I am using [EMAIL PROTECTED], which currently 
uses a
2.4 kernel.

I have a few experience questions:
1) Does it support the possibility to listen in (similar to zapbarge?) and
record calls?
2) How is the synching between the 2 cards? (ZapHFC + Florz allows for the
NT mode card(s) to be slave(s) of the TE mode card(s) to ensure the
buffers run in sync.)

TIA!

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-23 Thread Jose Limeres
I also had good results with mISDN  where CAPI and BRIstuff failed
before. In my case just for 1 HFCPCI BRI card.
The instalation ran smoothly except that in the end when I try to
restart ASterisk  get the message: Unable to initialize mISDN.
I have the suspicion that the reason could be that no BRI line is
detected as I do not have any available. Had anyone a similar problem?

Jose

On 23/11/05, David Woodhouse <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-11-22 at 22:04 +0100, Kristof Hardy wrote:
> > Maybe it's worth a try, using chan_mISDN (experimental, but works!)..
> > You can find the how-to pdf (for beronet, hfc, etc.. cards) on
> > http://www.beronet.com/downloads/.
> >
> > There also is an install-script that helps you through the
> > installation, I have gotten it to work with a junghanns card and 1x
> > HFC pci card. Didn't have a 2nd hfc around to try back then..
> >
> > I you have results (good/bad) keep the list (or me) posted :)
>
> I'm using chan_misdn successfully with two HFC cards; one in NT mode and
> one in TE mode.
>
> --
> dwmw2
>
>
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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
>
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-23 Thread David Woodhouse
On Tue, 2005-11-22 at 22:04 +0100, Kristof Hardy wrote:
> Maybe it's worth a try, using chan_mISDN (experimental, but works!).. 
> You can find the how-to pdf (for beronet, hfc, etc.. cards) on 
> http://www.beronet.com/downloads/.
> 
> There also is an install-script that helps you through the
> installation, I have gotten it to work with a junghanns card and 1x
> HFC pci card. Didn't have a 2nd hfc around to try back then..
> 
> I you have results (good/bad) keep the list (or me) posted :)

I'm using chan_misdn successfully with two HFC cards; one in NT mode and
one in TE mode.

-- 
dwmw2


___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-23 Thread Francesco Peeters
On Wed, November 23, 2005 7:21, Tzafrir Cohen said:
> On Tue, Nov 22, 2005 at 09:20:23PM +0100, Francesco Peeters wrote:
>> I have seen several claims that it can be done: Multiple HFC-PCI cards
>> running both BRI_CPE_PTMP and BRI_NET_PTMP simultaneously, but *nobody*
>> has been able yet to tell me the exact setup to make it work...
>>
>> My asterisk server breaks as soon as I turn one of the two cards in to
>> an
>> NT card, which I suspect is an issue in the (Florz-patched) BriStuffed
>> chan_zap.so module, but as my cards aren't original Junghanns', they
>> obviously aren't supported by Junghanns...
>> (ZapHFC btw shows both cards active, one as TE Master, the other as NT
>> slave, so that seems to be OK! I therefore doubt it is the Florz patch!)
>
> And you're very scarse on details here. How about your zaptel.conf and
> the relevant prts of your zapata.conf?
>

I had those in previous posts to which nobody responded... I'll repeat below!

> Also: if you want just one of the cards in NT mode and the other
> in TE mode, how can you be sure which one os the first and which is the
> second?
>

1) Put in both cards
2) Activate only the first in TE mode
3) Test which one responds with D-channel up/down messages when connected
to the PSTN
4) The other one is the second one, which will be running in NT mode...

;-)

> --
> Tzafrir Cohen | [EMAIL PROTECTED] | VIM is

 zaptel.conf 
# hfc-s pci a span definition
# most of the values should be bogus because we are not really zaptel
loadzone=nl
defaultzone=nl

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

span=2,1,3,ccs,ami
bchan=4-5
dchan=6
 end of zaptel.conf 


 zapata.conf 
;
; Zapata telephony interface
;
; Configuration file

[channels]
;
; Default language
;
language=nl
;
; Default context
;
;
switchtype = euroisdn
rxwink=300

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0
nationalprefix = 0
internationalprefix = 00
faxdetect=incoming
group=1
callgroup=1
pickupgroup=1


; p2mp TE mode
;signalling = bri_cpe_ptmp

; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
;signalling = bri_net_ptmp
; p2p NT mode
;signalling = bri_net

pridialplan = dynamic
prilocaldialplan = local
nationalprefix = 0
internationalprefix = 00

echocancel=yes
echotraining = 100
echocancelwhenbridged=yes

signalling = bri_cpe_ptmp
immediate=no
overlapdial=yes
group = 1,2,3,4
callgroup=1,2,3,4
pickupgroup=1,2,3,4
context=from-pstn
channel => 1-2

signalling = bri_net_ptmp
;signalling = pri_net_ptmp
immediate=no
overlapdial=yes
group = 11,12,13,14
callgroup=11,12,13,14
pickupgroup=11,12,13,14
context=ext-local
channel => 4-5

;Include genzaptelconf configs
#include zapata-auto.conf

;Include AMP configs
#include zapata_additional.conf
 end of zapata.conf 



-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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: Re: [Asterisk-Users] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-23 Thread Amatisoft SRL
>Maybe it's worth a try, using chan_mISDN
(experimental, but >works!).. 
>You can find the how-to pdf (for beronet, hfc, etc..
cards) on 
>http://www.beronet.com/downloads/.
>
>There also is an install-script that helps you
through the >installation, 
>I have gotten it to work with a junghanns card and 1x
HFC pci card. 
>Didn't have a 2nd hfc around to try back then..
>
>I you have results (good/bad) keep the list (or me)
posted :)

The mISDN and chan_misdn supports multiple HFC-PCI
cards in mixed modes. We are using this drivers in our
distribution ( 
http://amatisoft.homelinux.com/amatix.html ).

--
Amatisoft SRL
http://amatisoft.homelinux.com



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-22 Thread Tzafrir Cohen
On Tue, Nov 22, 2005 at 09:20:23PM +0100, Francesco Peeters wrote:
> I have seen several claims that it can be done: Multiple HFC-PCI cards
> running both BRI_CPE_PTMP and BRI_NET_PTMP simultaneously, but *nobody*
> has been able yet to tell me the exact setup to make it work...
> 
> My asterisk server breaks as soon as I turn one of the two cards in to an
> NT card, which I suspect is an issue in the (Florz-patched) BriStuffed
> chan_zap.so module, but as my cards aren't original Junghanns', they
> obviously aren't supported by Junghanns...
> (ZapHFC btw shows both cards active, one as TE Master, the other as NT
> slave, so that seems to be OK! I therefore doubt it is the Florz patch!)

And you're very scarse on details here. How about your zaptel.conf and
the relevant prts of your zapata.conf?

Also: if you want just one of the cards in NT mode and the other
in TE mode, how can you be sure which one os the first and which is the
second?

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-22 Thread DRi
I've encountered a few issues with zaphfc-cards...
I think you meen simple isdn-cards with cologne-chipset

first - I had three cards working with mixed-modes 3nt, 1nt/2te, 2te/1nt

it does work but it was not possible to reinitilize the cards to change 
te/nt mode without reboot
also sometimes it happend that the cards 'got lost' - stop working without 
any known reason or by recalling ztcfg
without florz patch it didn't work at all in cause of to many interrupts 
from the cards

when using zaphfc check with 'dmesg' to see in witch mode the cards are 
initilized if this doesn't match what you need check/set the mode for the 
zaphfc-module inside /etc/modules.conf
check that each zaphfc-card has it's own interrupt not sharing with an 
other device (boot with noapic-parameter to switch of apic to see the real 
bios-interrupts)
check with zttest if you got results above 99,976%

otherwise may give chan_misdn a chance - I got it to work but with similar 
problems like zaphfc

[EMAIL PROTECTED] wrote on 22.11.2005 22:04:31:

> > My asterisk server breaks as soon as I turn one of the two cards in to 
an
> > NT card, which I suspect is an issue in the (Florz-patched) BriStuffed
> > chan_zap.so module, but as my cards aren't original Junghanns', they
> > obviously aren't supported by Junghanns...
> > (ZapHFC btw shows both cards active, one as TE Master, the other as NT
> > slave, so that seems to be OK! I therefore doubt it is the Florz 
patch!)
> 
> Maybe it's worth a try, using chan_mISDN (experimental, but works!).. 
> You can find the how-to pdf (for beronet, hfc, etc.. cards) on 
> http://www.beronet.com/downloads/.
> 
> There also is an install-script that helps you through the installation, 

> I have gotten it to work with a junghanns card and 1x HFC pci card. 
> Didn't have a 2nd hfc around to try back then..
> 
> I you have results (good/bad) keep the list (or me) posted :)
> 
> Cheers.
> ___
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> 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

___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-22 Thread Kristof Hardy

My asterisk server breaks as soon as I turn one of the two cards in to an
NT card, which I suspect is an issue in the (Florz-patched) BriStuffed
chan_zap.so module, but as my cards aren't original Junghanns', they
obviously aren't supported by Junghanns...
(ZapHFC btw shows both cards active, one as TE Master, the other as NT
slave, so that seems to be OK! I therefore doubt it is the Florz patch!)


Maybe it's worth a try, using chan_mISDN (experimental, but works!).. 
You can find the how-to pdf (for beronet, hfc, etc.. cards) on 
http://www.beronet.com/downloads/.


There also is an install-script that helps you through the installation, 
I have gotten it to work with a junghanns card and 1x HFC pci card. 
Didn't have a 2nd hfc around to try back then..


I you have results (good/bad) keep the list (or me) posted :)

Cheers.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] Multiple HFC-PCI cards in mixed modes (TE+NT) won't work!...

2005-11-22 Thread Francesco Peeters
I have seen several claims that it can be done: Multiple HFC-PCI cards
running both BRI_CPE_PTMP and BRI_NET_PTMP simultaneously, but *nobody*
has been able yet to tell me the exact setup to make it work...

My asterisk server breaks as soon as I turn one of the two cards in to an
NT card, which I suspect is an issue in the (Florz-patched) BriStuffed
chan_zap.so module, but as my cards aren't original Junghanns', they
obviously aren't supported by Junghanns...
(ZapHFC btw shows both cards active, one as TE Master, the other as NT
slave, so that seems to be OK! I therefore doubt it is the Florz patch!)

It's a pity, as I would have liked to install asterisk at 3 (low-budget)
locations (with a possibility of a few others to follow), but this flaw
disqualifies asterisk, as a Junghanns quad-bri card is too expensive...

-- 
Francesco Peeters

GPG Key = AA69 E7C6 1D8A F148 160C  D5C4 9943 6E38 D5E3 7704
If your program doesn't recognize my signature, please visit
http://www.CAcert.org/index.php?id=3 to retrieve the Root CA certificate.
___
--Bandwidth and Colocation sponsored by Easynews.com --

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