Hi i have buy a Digium TDM400P with 1 fxo modules TDM01B for connect my asterisk to a french analog line. In my zaptel.conf, i have: loadzone=fr defaultzone=fr fxols=3 when i load the module, i have in logs: Nov 24 06:13:40 gw kernel: Freed a Wildcard Nov 24 06:13:40 gw kernel: Zapata Telephony Interface Unloaded Nov 24 06:13:40 gw zaptel: Removing zaptel module: succeeded Nov 24 06:13:42 gw kernel: Zapata Telephony Interface Registered on major 196 Nov 24 06:13:42 gw kernel: Zaptel Version: 1.2.9.1-1mdv2007.0 Echo Canceller: KB1 Nov 24 06:13:42 gw zaptel: Loading zaptel framework: succeeded Nov 24 06:13:42 gw kernel: ACPI: PCI Interrupt 0000:02:0a.0[A] -> GSI 21 (level, low) -> IRQ 20 Nov 24 06:13:43 gw kernel: Freshmaker version: 73 Nov 24 06:13:43 gw kernel: Freshmaker passed register test Nov 24 06:13:43 gw kernel: Module 0: Not installed Nov 24 06:13:43 gw kernel: Module 1: Not installed Nov 24 06:13:43 gw kernel: Module 2: Not installed Nov 24 06:13:43 gw kernel: Module 3: Installed -- AUTO FXO (FCC mode) Nov 24 06:13:43 gw kernel: Found a Wildcard TDM: Wildcard TDM400P REV I (1 modules) Nov 24 06:13:44 gw kernel: Registered tone zone 2 (France) Nov 24 06:13:44 gw zaptel: Running ztcfg: succeeded and my problems are whit all sample that i have, asterisk don't restart and put me: Nov 24 06:15:17 NOTICE[2943] cdr.c: CDR simple logging enabled. Nov 24 06:15:17 WARNING[2943] chan_zap.c: Unable to specify channel 3: No such device Nov 24 06:15:17 ERROR[2943] chan_zap.c: Unable to open channel 3: No such device here = 0, tmp->channel = 3, channel = 3 Nov 24 06:15:17 ERROR[2943] chan_zap.c: Unable to register channel '3' Nov 24 06:15:17 WARNING[2943] loader.c: chan_zap.so: load_module failed, returning -1 Nov 24 06:15:17 WARNING[2943] loader.c: Loading module chan_zap.so failed! for all channel (i have tested from 1 to 5) my zapata.conf: [trunkgroups] [channels] context=default signalling=fxo_ls usecallerid=yes hidecallerid=no callwaiting=yes usecallingpres=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes canpark=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=no busydetect=yes musiconhold=default channel => 3 where is my errors ? Thanks for your help
Hi Noc, I had similar problem. Check If you have netjetpci module and try to delete it...this solved my problem. Giorgio Incantalupo Noc Phibee wrote:> Hi > > i have buy a Digium TDM400P with 1 fxo modules TDM01B for connect > my asterisk to a french analog line. > > In my zaptel.conf, i have: > loadzone=fr > defaultzone=fr > fxols=3 > when i load the module, i have in logs: > Nov 24 06:13:40 gw kernel: Freed a Wildcard > Nov 24 06:13:40 gw kernel: Zapata Telephony Interface Unloaded > Nov 24 06:13:40 gw zaptel: Removing zaptel module: succeeded > Nov 24 06:13:42 gw kernel: Zapata Telephony Interface Registered on > major 196 > Nov 24 06:13:42 gw kernel: Zaptel Version: 1.2.9.1-1mdv2007.0 Echo > Canceller: KB1 > Nov 24 06:13:42 gw zaptel: Loading zaptel framework: succeeded > Nov 24 06:13:42 gw kernel: ACPI: PCI Interrupt 0000:02:0a.0[A] -> GSI > 21 (level, low) -> IRQ 20 > Nov 24 06:13:43 gw kernel: Freshmaker version: 73 > Nov 24 06:13:43 gw kernel: Freshmaker passed register test > Nov 24 06:13:43 gw kernel: Module 0: Not installed > Nov 24 06:13:43 gw kernel: Module 1: Not installed > Nov 24 06:13:43 gw kernel: Module 2: Not installed > Nov 24 06:13:43 gw kernel: Module 3: Installed -- AUTO FXO (FCC mode) > Nov 24 06:13:43 gw kernel: Found a Wildcard TDM: Wildcard TDM400P REV > I (1 modules) > Nov 24 06:13:44 gw kernel: Registered tone zone 2 (France) > Nov 24 06:13:44 gw zaptel: Running ztcfg: succeeded > > and my problems are whit all sample that i have, asterisk don't > restart and put me: > Nov 24 06:15:17 NOTICE[2943] cdr.c: CDR simple logging enabled. > Nov 24 06:15:17 WARNING[2943] chan_zap.c: Unable to specify channel 3: > No such device > Nov 24 06:15:17 ERROR[2943] chan_zap.c: Unable to open channel 3: No > such device > here = 0, tmp->channel = 3, channel = 3 > Nov 24 06:15:17 ERROR[2943] chan_zap.c: Unable to register channel '3' > Nov 24 06:15:17 WARNING[2943] loader.c: chan_zap.so: load_module > failed, returning -1 > Nov 24 06:15:17 WARNING[2943] loader.c: Loading module chan_zap.so > failed! > > for all channel (i have tested from 1 to 5) > > my zapata.conf: > [trunkgroups] > > [channels] > context=default > signalling=fxo_ls > usecallerid=yes > hidecallerid=no > callwaiting=yes > usecallingpres=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > canpark=yes > cancallforward=yes > callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > rxgain=0.0 > txgain=0.0 > group=1 > callgroup=1 > pickupgroup=1 > immediate=no > busydetect=yes > musiconhold=default > channel => 3 > > > > where is my errors ? > > Thanks for your help > > _______________________________________________ > --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 >
A summary of some of the mistakes in this thread, as it was full of them. On Fri, Nov 24, 2006 at 06:32:14AM +0100, Noc Phibee wrote:> Hi > > i have buy a Digium TDM400P with 1 fxo modules TDM01B for connect > my asterisk to a french analog line. > > In my zaptel.conf, i have: > loadzone=fr > defaultzone=fr > fxols=3An FXO module needs FXS signalling: fxsls=3 And probably fxsks=3: I'm not sure whether or not KS is used in the French telco . Didn't you know this obvious fact? And what is the channel number of this module?> when i load the module, i have in logs: > Nov 24 06:13:40 gw kernel: Freed a Wildcard > Nov 24 06:13:40 gw kernel: Zapata Telephony Interface Unloaded > Nov 24 06:13:40 gw zaptel: Removing zaptel module: succeeded > Nov 24 06:13:42 gw kernel: Zapata Telephony Interface Registered on > major 196 > Nov 24 06:13:42 gw kernel: Zaptel Version: 1.2.9.1-1mdv2007.0 Echo > Canceller: KB1 > Nov 24 06:13:42 gw zaptel: Loading zaptel framework: succeeded > Nov 24 06:13:42 gw kernel: ACPI: PCI Interrupt 0000:02:0a.0[A] -> GSI 21 > (level, low) -> IRQ 20 > Nov 24 06:13:43 gw kernel: Freshmaker version: 73 > Nov 24 06:13:43 gw kernel: Freshmaker passed register test > Nov 24 06:13:43 gw kernel: Module 0: Not installed > Nov 24 06:13:43 gw kernel: Module 1: Not installed > Nov 24 06:13:43 gw kernel: Module 2: Not installed > Nov 24 06:13:43 gw kernel: Module 3: Installed -- AUTO FXO (FCC mode)The card reports that first three slots are unused, and only slot 4 is used. You should have known that this is a zero-based counting, whereas the counting of Zaptel channels is 1-based. Luckily for you you have just one card, and didn't need any further offsets calculations. Those two tiny this are obvious to us who havve been messing long enough with Zaptel. However they are far from being intuitive. My suggestions: either: * Use genzaptelconf from xpp/utils/genzaptelconf to save you from this guesswork. Or: * Apply http://bugs.digium.com/view.php?id=7613 (preferably with some optimizations from the wctdm driver itself, but the latter is clearly not my department). -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir