Jamie Carl
2003-May-17 22:18 UTC
[Asterisk-Users] E400P and 2 X100P working, but not together
Hey all, ? I'm trying to get an E400P and 2 X100Ps working together in the one box and don't seem to be having much luck. ? I can get the two different types of boards working separately, but not together.? I've made calls on both the X100P and have seen sync and correct signalling on the E400P.? But when I try to enable to configs together I get the following: ? modprobe wcfxo produces: ZT_SPANCONFIG failed on span 1: Invalid argument (22) /lib/modules/2.4.18-14/misc/wcfxo.o: post-install wcfxo failed /lib/modules/2.4.18-14/misc/wcfxo.o: insmod wcfxo failed ? and modprobe tor2 produces: ZT_SPANCONFIG failed on span 1: Invalid argument (22) /lib/modules/2.4.18-14/misc/tor2.o: post-install tor2 failed /lib/modules/2.4.18-14/misc/tor2.o: insmod tor2 failed ? And nothing works..... ? Now if I remove the E1 configs from zaptel.conf the wcfxo loads, and vice versa.? ? Is there a way to get them working together?????? Or will they be mutually exclusive, ie, an asterisk server can only have ether X100Ps OR E400Ps in it, but not both. ? Has anyone else made them work together and is there something I'm missing? Thanx all... ? Regards, Jamie Carl Email: me@jazz-inc.net Phone: +61 414 365 466 Jabber: jazz@netmindz.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030518/f4c76695/attachment.htm
Steven Critchfield
2003-May-17 22:48 UTC
[Asterisk-Users] E400P and 2 X100P working, but not together
This all depends on the order you wish to have the channels appear. I'd say if you don't have a fully deployed E400P, then put it last so as to keep the ports all together when you deploy them later. So, make your X100P channel 1, and configure it like you had before. Then your E400P channels start at channels 2-33. Since you are using 2 types of drivers, you may see an error after loading the first driver. You may even want to run ztcfg after you load the second driver just to be sure they all get configed right. On Sun, 2003-05-18 at 00:18, Jamie Carl wrote:> Hey all, > > I'm trying to get an E400P and 2 X100Ps working together in the one > box and don't seem to be having much luck. > > I can get the two different types of boards working separately, but > not together. I've made calls on both the X100P and have seen sync > and correct signalling on the E400P. But when I try to enable to > configs together I get the following: > > modprobe wcfxo produces: > ZT_SPANCONFIG failed on span 1: Invalid argument (22) > /lib/modules/2.4.18-14/misc/wcfxo.o: post-install wcfxo failed > /lib/modules/2.4.18-14/misc/wcfxo.o: insmod wcfxo failed > > and modprobe tor2 produces: > ZT_SPANCONFIG failed on span 1: Invalid argument (22) > /lib/modules/2.4.18-14/misc/tor2.o: post-install tor2 failed > /lib/modules/2.4.18-14/misc/tor2.o: insmod tor2 failed > > And nothing works..... > > Now if I remove the E1 configs from zaptel.conf the wcfxo loads, and > vice versa. > > Is there a way to get them working together???? Or will they be > mutually exclusive, ie, an asterisk server can only have ether X100Ps > OR E400Ps in it, but not both. > > Has anyone else made them work together and is there something I'm > missing? > > Thanx all... > > > Regards, > > Jamie Carl > > Email: > > me@jazz-inc.net > > Phone: > > +61 414 365 466 > > Jabber: > > jazz@netmindz.net > > >-- Steven Critchfield <critch@basesys.com>
Jamie Carl
2003-May-17 23:22 UTC
[Asterisk-Users] E400P and 2 X100P working, but not together
*This message was transferred with a trial version of CommuniGate(tm) Pro* Doesn't seem to work. With a working config for an X100P, uncomment the following lines in zaptel.conf: span=1,1,0,esf,hdb3,crc4 dchan=2-33 That's the only changes I have made. Now when I try to load wcfxo with modprobe I get an error which you said I may still get: ZT_SPANCONFIG failed on span 1: Invalid argument (22) /lib/modules/2.4.18-14/misc/wcfxo.o: post-install wcfxo failed /lib/modules/2.4.18-14/misc/wcfxo.o: insmod wcfxo failed But then, upon loading asterisk I get to following error: == Parsing '/etc/asterisk/zapata.conf': Found WARNING[8192]: File chan_zap.c, Line 576 (zt_open): Unable to specify channel 1: No such device or address ERROR[8192]: File chan_zap.c, Line 4727 (mkintf): Unable to open channel 1: No s uch device or address here = 0, tmp->channel = 0, channel = 1 ERROR[8192]: File chan_zap.c, Line 6368 (load_module): Unable to register channe l '1' WARNING[8192]: File loader.c, Line 299 (ast_load_resource): chan_zap.so: load_mo dule failed, returning -1 WARNING[8192]: File loader.c, Line 394 (load_modules): Loading module chan_zap.s o failed! This tells me that the wcfxo module didn't actually pick up the card correctly. I didn't change anything else (yet) apart from the two lines above, and I havn't eveb tried to load the tor2 module. So from what I can gather, having lines in zaptel.conf that the module doesn't understand seems to prevent it from working. Is this correct? By design purhaps? I'm lost as what to try next. Regards, Jamie Carl Email: me@jazz-inc.net PH: +61-414-365-466 -----Original Message----- From: Steven Critchfield [mailto:critch@basesys.com] Sent: Sunday, 18 May 2003 3:48 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] E400P and 2 X100P working, but not together *This message was transferred with a trial version of CommuniGate(tm) Pro* This all depends on the order you wish to have the channels appear. I'd say if you don't have a fully deployed E400P, then put it last so as to keep the ports all together when you deploy them later. So, make your X100P channel 1, and configure it like you had before. Then your E400P channels start at channels 2-33. Since you are using 2 types of drivers, you may see an error after loading the first driver. You may even want to run ztcfg after you load the second driver just to be sure they all get configed right. On Sun, 2003-05-18 at 00:18, Jamie Carl wrote:> Hey all, > > I'm trying to get an E400P and 2 X100Ps working together in the one > box and don't seem to be having much luck. > > I can get the two different types of boards working separately, but > not together. I've made calls on both the X100P and have seen sync > and correct signalling on the E400P. But when I try to enable to > configs together I get the following: > > modprobe wcfxo produces: > ZT_SPANCONFIG failed on span 1: Invalid argument (22) > /lib/modules/2.4.18-14/misc/wcfxo.o: post-install wcfxo failed > /lib/modules/2.4.18-14/misc/wcfxo.o: insmod wcfxo failed > > and modprobe tor2 produces: > ZT_SPANCONFIG failed on span 1: Invalid argument (22) > /lib/modules/2.4.18-14/misc/tor2.o: post-install tor2 failed > /lib/modules/2.4.18-14/misc/tor2.o: insmod tor2 failed > > And nothing works..... > > Now if I remove the E1 configs from zaptel.conf the wcfxo loads, and > vice versa. > > Is there a way to get them working together???? Or will they be > mutually exclusive, ie, an asterisk server can only have ether X100Ps > OR E400Ps in it, but not both. > > Has anyone else made them work together and is there something I'm > missing? > > Thanx all... > > > Regards, > > Jamie Carl > > Email: > > me@jazz-inc.net > > Phone: > > +61 414 365 466 > > Jabber: > > jazz@netmindz.net > > >-- Steven Critchfield <critch@basesys.com> _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
Joe Antkowiak
2003-May-17 23:57 UTC
[Asterisk-Users] E400P and 2 X100P working, but not together
After you modprobe'd wcfxo, did you modprobe for the E1 card? It will do that, I have an x100p, t100p, and a tdm400p on the same box, and I have to modprobe in the order of the channel numbers, and I get errors like that, but it all works when its done... -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Jamie Carl Sent: Sunday, May 18, 2003 2:22 AM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] E400P and 2 X100P working, but not together *This message was transferred with a trial version of CommuniGate(tm) Pro* Doesn't seem to work. With a working config for an X100P, uncomment the following lines in zaptel.conf: span=1,1,0,esf,hdb3,crc4 dchan=2-33 That's the only changes I have made. Now when I try to load wcfxo with modprobe I get an error which you said I may still get: ZT_SPANCONFIG failed on span 1: Invalid argument (22) /lib/modules/2.4.18-14/misc/wcfxo.o: post-install wcfxo failed /lib/modules/2.4.18-14/misc/wcfxo.o: insmod wcfxo failed But then, upon loading asterisk I get to following error: == Parsing '/etc/asterisk/zapata.conf': Found WARNING[8192]: File chan_zap.c, Line 576 (zt_open): Unable to specify channel 1: No such device or address ERROR[8192]: File chan_zap.c, Line 4727 (mkintf): Unable to open channel 1: No s uch device or address here = 0, tmp->channel = 0, channel = 1 ERROR[8192]: File chan_zap.c, Line 6368 (load_module): Unable to register channe l '1' WARNING[8192]: File loader.c, Line 299 (ast_load_resource): chan_zap.so: load_mo dule failed, returning -1 WARNING[8192]: File loader.c, Line 394 (load_modules): Loading module chan_zap.s o failed! This tells me that the wcfxo module didn't actually pick up the card correctly. I didn't change anything else (yet) apart from the two lines above, and I havn't eveb tried to load the tor2 module. So from what I can gather, having lines in zaptel.conf that the module doesn't understand seems to prevent it from working. Is this correct? By design purhaps? I'm lost as what to try next. Regards, Jamie Carl Email: me@jazz-inc.net PH: +61-414-365-466 -----Original Message----- From: Steven Critchfield [mailto:critch@basesys.com] Sent: Sunday, 18 May 2003 3:48 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] E400P and 2 X100P working, but not together *This message was transferred with a trial version of CommuniGate(tm) Pro* This all depends on the order you wish to have the channels appear. I'd say if you don't have a fully deployed E400P, then put it last so as to keep the ports all together when you deploy them later. So, make your X100P channel 1, and configure it like you had before. Then your E400P channels start at channels 2-33. Since you are using 2 types of drivers, you may see an error after loading the first driver. You may even want to run ztcfg after you load the second driver just to be sure they all get configed right. On Sun, 2003-05-18 at 00:18, Jamie Carl wrote:> Hey all, > > I'm trying to get an E400P and 2 X100Ps working together in the one > box and don't seem to be having much luck. > > I can get the two different types of boards working separately, but > not together. I've made calls on both the X100P and have seen sync > and correct signalling on the E400P. But when I try to enable to > configs together I get the following: > > modprobe wcfxo produces: > ZT_SPANCONFIG failed on span 1: Invalid argument (22) > /lib/modules/2.4.18-14/misc/wcfxo.o: post-install wcfxo failed > /lib/modules/2.4.18-14/misc/wcfxo.o: insmod wcfxo failed > > and modprobe tor2 produces: > ZT_SPANCONFIG failed on span 1: Invalid argument (22) > /lib/modules/2.4.18-14/misc/tor2.o: post-install tor2 failed > /lib/modules/2.4.18-14/misc/tor2.o: insmod tor2 failed > > And nothing works..... > > Now if I remove the E1 configs from zaptel.conf the wcfxo loads, and > vice versa. > > Is there a way to get them working together???? Or will they be > mutually exclusive, ie, an asterisk server can only have ether X100Ps > OR E400Ps in it, but not both. > > Has anyone else made them work together and is there something I'm > missing? > > Thanx all... > > > Regards, > > Jamie Carl > > Email: > > me@jazz-inc.net > > Phone: > > +61 414 365 466 > > Jabber: > > jazz@netmindz.net > > >-- Steven Critchfield <critch@basesys.com> _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com 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