Re: [asterisk-users] TE110P and TDM400P

2006-11-23 Thread Marco Mouta

try this, pls give some feedback
###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4

fxsks=1-4

bchan=5-19,21-35
dchan=20

loadzone = us
defaultzone=us
###


On 11/22/06, Lincoln Zuljewic Silva [EMAIL PROTECTED] wrote:


 This is the scenarios:

1 -
###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
fxsks=1-4
loadzone = us
defaultzone=us
###
modprobe wcte11xp
ZT_CHANCONFIG failed on channel 32: No such device or address (6)
FATAL: Error running install command for wcte11xp

2 -
 ###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
fxsks=1-4
loadzone = us
defaultzone=us
###
modprobe wctdm
ZT_CHANCONFIG failed on channel 5: No such device or address (6)
FATAL: Error running install command for wctdm

3 -
 ###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
fxsks=32-35
loadzone = us
defaultzone=us
###
modprobe wcte11xpok
modprobe wctdmok
modprobe wcfxook
modprobe wct4xxpok
modprobe zaptelok
###
/etc/asterisk/zapata.conf
[channels]
context=corsidian
overlapdial=yes
immediate=no
callprogress=yes
busydetect=no
switchtype=euroisdn
signalling=pri_net
channel = 1-15,17-31
group=2
group=1
callgroup=1
pickupgroup=1
signalling=fxs_ks
channel = 32-35
###

tail -f /var/log/asterisk/messages
Nov 22 15:11:43 ERROR[5524] chan_zap.c: Channel 16 is reserved for
D-channel.
Nov 22 15:11:43 ERROR[5524] chan_zap.c: Unable to register channel '1-15'
Nov 22 15:11:43 WARNING[5524] loader.c: chan_zap.so: load_module failed,
returning -1
Nov 22 15:11:43 WARNING[5524] loader.c: Loading module chan_zap.so failed!


 - Original Message -
*From:* Henk Dick [EMAIL PROTECTED]
*To:* 'Lincoln Zuljewic Silva' [EMAIL PROTECTED] ; 'Asterisk Users
Mailing List - Non-Commercial Discussion'asterisk-users@lists.digium.com
*Sent:* Wednesday, November 22, 2006 4:08 PM
*Subject:* RE: [asterisk-users] TE110P and TDM400P

 I think that you are loading the drivers in the wrong order.  You can
change the order of loading are first define the E1 followed by the TDM400



Hope this helps,



Henk


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Lincoln Zuljewic
Silva
*Sent:* woensdag 22 november 2006 20:51
*To:* asterisk-users@lists.digium.com
*Subject:* [asterisk-users] TE110P and TDM400P



Hello all. I have here a TE110P (configured as E1) and a TDM400P (with
four X100P - FXS). Both boards are recognized by the operating system as
showed above:



:08:00.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
Subsystem: Unknown device b1d9:0003
Flags: bus master, medium devsel, latency 64, IRQ 169
I/O ports at e800 [size=256]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2



:08:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
Subsystem: Unknown device 79fe:0001
Flags: bus master, medium devsel, latency 64, IRQ 193
I/O ports at e400 [size=256]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2



The problem is that I cant make the both cards to work together in the
same server. Here is my /etc/zaptel.conf:



###
fxsks=1-4
loadzone = us
defaultzone=us



span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
###



When I load the wctdm module, I get this error: ZT_CHANCONFIG failed on
channel 5: No such device or address (6). Its sounds like the FXS module its
tring to configure the channels 5 to 35 (E1 - ISDN Channels - TE110P card).



Anybody already saw this ? Its possible to use this two cards in the same
computer ? There is any separator that I can use in zaptel.conf to make
the load of the modules dont mistakes itself ?



Here is my versions:
Debian kernel - 2.6.8
asterisk-1.2.12.1
libpri-1.2.4
zaptel-1.2.11





Thanks

Lincoln


___
--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






--
Best regards,

Marco Mouta
___
--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] TE110P and TDM400P

2006-11-23 Thread Tzafrir Cohen
On Thu, Nov 23, 2006 at 11:49:50AM +, Marco Mouta wrote:
 try this, pls give some feedback

This one is evidently false:

 ###
 /etc/zaptel.conf
 span=1,1,0,ccs,hdb3,crc4

It claims that the T1 span is the first one. However:

 
 fxsks=1-4

The analog span is the first one. Which is generally a bad idea, as it
makes the analog card the master sync source for Zaptel (right?)

 
 bchan=5-19,21-35
 dchan=20
 
 loadzone = us
 defaultzone=us
 ###

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--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] TE110P and TDM400P

2006-11-23 Thread Lincoln Zuljewic Silva

Ok, now it works:

ideiafix:~# modprobe zaptel
ideiafix:~# modprobe wcte11xp
ZT_CHANCONFIG failed on channel 32: No such device or address (6)
FATAL: Error running install command for wcte11xp
ideiafix:~# modprobe wctdm
ideiafix:~# modprobe wcte11xp


Order to load: zaptel, wctdm, wcte11xp

Thanks a lot Henk !


- Original Message - 
From: Henk Dick [EMAIL PROTECTED]
To: 'Lincoln Zuljewic Silva' [EMAIL PROTECTED]; 'Asterisk Users 
Mailing List - Non-Commercial Discussion' asterisk-users@lists.digium.com

Sent: Wednesday, November 22, 2006 5:03 PM
Subject: RE: [asterisk-users] TE110P and TDM400P



I would suggest the following

- remove the drivers
- load them manually (zaptel, wcte11xp, wctdm)

Run:

Zttools - should show unconfigured cards.


Take:

/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
fxsks=32-35
loadzone = us
defaultzone=us

run:

ztcfg -vv

See what it is saying


Hope this helps







___
--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] TE110P and TDM400P

2006-11-23 Thread Tzafrir Cohen
On Thu, Nov 23, 2006 at 12:47:27PM -0300, Lincoln Zuljewic Silva wrote:
 Ok, now it works:
 
 ideiafix:~# modprobe zaptel
 ideiafix:~# modprobe wcte11xp
 ZT_CHANCONFIG failed on channel 32: No such device or address (6)
 FATAL: Error running install command for wcte11xp
 ideiafix:~# modprobe wctdm
 ideiafix:~# modprobe wcte11xp
 
 
 Order to load: zaptel, wctdm, wcte11xp

No. This just goes to show that you should not run ztcfg automatically.

An alternative experiment:

sed -i -e 's/^install /#remmed out by Tzafrir# /' /etc/modprobe.d/zaptel
wget http://svn.digium.com/svn/zaptel/team/tzafrir/zaphelper/zaptel-helper
. zaptel-helper
# let's get asterisk out of our way, so we could unload modules:
/etc/init.d/asterisk stop
# start afresh: let's make sure we have no modules loaded 
unload_modules

# now we're ready. Feel free to add a long sleep here.
# let's load the modules:
modprobe wctdm
modprobe wcte11xp
wait_for_zap_ctl # udev may take its time generating /dev/zap/ctl
ztcfg

# End of experiment. 


However, I would still recommend that you load the wctdm driver last.
This takes slight editing of zaptel.conf (and zapata.conf), or using
xpp/genaptelconf .

To force that load order:

cat EOF /etc/modules
wcte11xp
wctdm
EOF

(or use, surprise-surprise, genzaptelconf -dM).

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--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


[asterisk-users] TE110P and TDM400P

2006-11-22 Thread Lincoln Zuljewic Silva
Hello all. I have here a TE110P (configured as E1) and a TDM400P (with four 
X100P - FXS). Both boards are recognized by the operating system as showed 
above:

:08:00.0 Communication controller: Tiger Jet Network Inc. Tiger3XX 
Modem/ISDN interface
Subsystem: Unknown device b1d9:0003
Flags: bus master, medium devsel, latency 64, IRQ 169
I/O ports at e800 [size=256]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

:08:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN 
interface
Subsystem: Unknown device 79fe:0001
Flags: bus master, medium devsel, latency 64, IRQ 193
I/O ports at e400 [size=256]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

The problem is that I cant make the both cards to work together in the same 
server. Here is my /etc/zaptel.conf:

###
fxsks=1-4
loadzone = us
defaultzone=us

span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
###

When I load the wctdm module, I get this error: ZT_CHANCONFIG failed on channel 
5: No such device or address (6). Its sounds like the FXS module its tring to 
configure the channels 5 to 35 (E1 - ISDN Channels - TE110P card).

Anybody already saw this ? Its possible to use this two cards in the same 
computer ? There is any separator that I can use in zaptel.conf to make the 
load of the modules dont mistakes itself ?

Here is my versions:
Debian kernel - 2.6.8
asterisk-1.2.12.1
libpri-1.2.4
zaptel-1.2.11 


Thanks
Lincoln___
--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] TE110P and TDM400P

2006-11-22 Thread Henk Dick
I think that you are loading the drivers in the wrong order.  You can change
the order of loading are first define the E1 followed by the TDM400

 

Hope this helps,

 

Henk 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lincoln
Zuljewic Silva
Sent: woensdag 22 november 2006 20:51
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] TE110P and TDM400P

 

Hello all. I have here a TE110P (configured as E1) and a TDM400P (with four
X100P - FXS). Both boards are recognized by the operating system as showed
above:

 

:08:00.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
Subsystem: Unknown device b1d9:0003
Flags: bus master, medium devsel, latency 64, IRQ 169
I/O ports at e800 [size=256]
Memory at febff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

 

:08:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN
interface
Subsystem: Unknown device 79fe:0001
Flags: bus master, medium devsel, latency 64, IRQ 193
I/O ports at e400 [size=256]
Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

 

The problem is that I cant make the both cards to work together in the same
server. Here is my /etc/zaptel.conf:

 

###
fxsks=1-4
loadzone = us
defaultzone=us

 

span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
###

 

When I load the wctdm module, I get this error: ZT_CHANCONFIG failed on
channel 5: No such device or address (6). Its sounds like the FXS module its
tring to configure the channels 5 to 35 (E1 - ISDN Channels - TE110P card).

 

Anybody already saw this ? Its possible to use this two cards in the same
computer ? There is any separator that I can use in zaptel.conf to make the
load of the modules dont mistakes itself ?

 

Here is my versions:
Debian kernel - 2.6.8
asterisk-1.2.12.1
libpri-1.2.4
zaptel-1.2.11 

 

 

Thanks

Lincoln

___
--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] TE110P and TDM400P

2006-11-22 Thread Lincoln Zuljewic Silva
This is the scenarios:

1 - 
###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
fxsks=1-4
loadzone = us
defaultzone=us
###
modprobe wcte11xp
ZT_CHANCONFIG failed on channel 32: No such device or address (6)
FATAL: Error running install command for wcte11xp

2 - 
###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=5-19,21-35
dchan=20
fxsks=1-4
loadzone = us
defaultzone=us
###
modprobe wctdm
ZT_CHANCONFIG failed on channel 5: No such device or address (6)
FATAL: Error running install command for wctdm

3 - 
###
/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
fxsks=32-35
loadzone = us
defaultzone=us
###
modprobe wcte11xpok
modprobe wctdmok
modprobe wcfxook
modprobe wct4xxpok
modprobe zaptelok
###
/etc/asterisk/zapata.conf
[channels]
context=corsidian
overlapdial=yes
immediate=no
callprogress=yes
busydetect=no
switchtype=euroisdn
signalling=pri_net
channel = 1-15,17-31
group=2
group=1
callgroup=1
pickupgroup=1
signalling=fxs_ks
channel = 32-35
###

tail -f /var/log/asterisk/messages
Nov 22 15:11:43 ERROR[5524] chan_zap.c: Channel 16 is reserved for D-channel.
Nov 22 15:11:43 ERROR[5524] chan_zap.c: Unable to register channel '1-15'
Nov 22 15:11:43 WARNING[5524] loader.c: chan_zap.so: load_module failed, 
returning -1
Nov 22 15:11:43 WARNING[5524] loader.c: Loading module chan_zap.so failed!




  - Original Message - 
  From: Henk Dick 
  To: 'Lincoln Zuljewic Silva' ; 'Asterisk Users Mailing List - Non-Commercial 
Discussion' 
  Sent: Wednesday, November 22, 2006 4:08 PM
  Subject: RE: [asterisk-users] TE110P and TDM400P


  I think that you are loading the drivers in the wrong order.  You can change 
the order of loading are first define the E1 followed by the TDM400

   

  Hope this helps,

   

  Henk 

   


--

  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lincoln 
Zuljewic Silva
  Sent: woensdag 22 november 2006 20:51
  To: asterisk-users@lists.digium.com
  Subject: [asterisk-users] TE110P and TDM400P

   

  Hello all. I have here a TE110P (configured as E1) and a TDM400P (with four 
X100P - FXS). Both boards are recognized by the operating system as showed 
above:

   

  :08:00.0 Communication controller: Tiger Jet Network Inc. Tiger3XX 
Modem/ISDN interface
  Subsystem: Unknown device b1d9:0003
  Flags: bus master, medium devsel, latency 64, IRQ 169
  I/O ports at e800 [size=256]
  Memory at febff000 (32-bit, non-prefetchable) [size=4K]
  Capabilities: [40] Power Management version 2

   

  :08:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN 
interface
  Subsystem: Unknown device 79fe:0001
  Flags: bus master, medium devsel, latency 64, IRQ 193
  I/O ports at e400 [size=256]
  Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
  Capabilities: [40] Power Management version 2

   

  The problem is that I cant make the both cards to work together in the same 
server. Here is my /etc/zaptel.conf:

   

  ###
  fxsks=1-4
  loadzone = us
  defaultzone=us

   

  span=1,1,0,ccs,hdb3,crc4
  bchan=5-19,21-35
  dchan=20
  ###

   

  When I load the wctdm module, I get this error: ZT_CHANCONFIG failed on 
channel 5: No such device or address (6). Its sounds like the FXS module its 
tring to configure the channels 5 to 35 (E1 - ISDN Channels - TE110P card).

   

  Anybody already saw this ? Its possible to use this two cards in the same 
computer ? There is any separator that I can use in zaptel.conf to make the 
load of the modules dont mistakes itself ?

   

  Here is my versions:
  Debian kernel - 2.6.8
  asterisk-1.2.12.1
  libpri-1.2.4
  zaptel-1.2.11 

   

   

  Thanks

  Lincoln
___
--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] TE110P and TDM400P

2006-11-22 Thread Henk Dick
I would suggest the following

- remove the drivers
- load them manually (zaptel, wcte11xp, wctdm)

Run:

Zttools - should show unconfigured cards.


Take:

/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16
fxsks=32-35
loadzone = us
defaultzone=us

run:

ztcfg -vv

See what it is saying


Hope this helps



___
--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] TE110P and TDM400P

2006-11-22 Thread Tzafrir Cohen
On Wed, Nov 22, 2006 at 04:51:24PM -0300, Lincoln Zuljewic Silva wrote:
 Hello all. I have here a TE110P (configured as E1) and a TDM400P (with four 
 X100P - FXS). Both boards are recognized by the operating system as showed 
 above:
 
 :08:00.0 Communication controller: Tiger Jet Network Inc. Tiger3XX 
 Modem/ISDN interface
 Subsystem: Unknown device b1d9:0003
 Flags: bus master, medium devsel, latency 64, IRQ 169
 I/O ports at e800 [size=256]
 Memory at febff000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [40] Power Management version 2
 
 :08:01.0 Network controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN 
 interface
 Subsystem: Unknown device 79fe:0001
 Flags: bus master, medium devsel, latency 64, IRQ 193
 I/O ports at e400 [size=256]
 Memory at febfe000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: [40] Power Management version 2
 
 The problem is that I cant make the both cards to work together in the same 
 server. Here is my /etc/zaptel.conf:
 
 ###
 fxsks=1-4
 loadzone = us
 defaultzone=us
 
 span=1,1,0,ccs,hdb3,crc4
 bchan=5-19,21-35
 dchan=20
 ###
 
 When I load the wctdm module, I get this error: ZT_CHANCONFIG failed on 
 channel 5: No such device or address (6). Its sounds like the FXS module its 
 tring to configure the channels 5 to 35 (E1 - ISDN Channels - TE110P card).
 
 Anybody already saw this ? Its possible to use this two cards in the same 
 computer ? There is any separator that I can use in zaptel.conf to make the 
 load of the modules dont mistakes itself ?
 
 Here is my versions:
 Debian kernel - 2.6.8

As you use Debian, you should expect the drivers to be loaded by hotplug
before you run you zaptel init stuff. So simply load them before that.
Add the following two lines to /etc/modules :

wcte11xp
wctdm

Use the init.d script from the Debian zaptel package, as the sample one
from the package will only break your setup. Also, be sure to remove the
install ... lines from /etc/modprobe.d/zaptel if there are any, and
run ztcfg only in the zaptel init.d script.

 asterisk-1.2.12.1
 libpri-1.2.4
 zaptel-1.2.11 

-- 
   Tzafrir Cohen   
icq#16849755jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]   
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
___
--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