Mark Quitoriano
2007-Nov-18 02:46 UTC
[asterisk-users] problem with tdm2400p configuration
Hi i have a tdm2400p and installed asterisk 1.4.11 with zaptel 1.4.5 im having an error message when in running asterisk with the tdm card in. here's the error from the console of asterisk: [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:7489 mkintf: Unable to get span status: Inappropriate ioctl for device [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:10466 build_channels: Unable to register channel '1-24' here's my zaptel and zapata config zaptel.conf: # Span 1: WCTDM/0 "Wildcard TDM2400P Board 1" fxsks=1 fxsks=2 fxsks=3 fxsks=4 fxsks=5 fxsks=6 fxsks=7 fxsks=8 fxsks=9 fxsks=10 fxsks=11 fxsks=12 fxsks=13 fxsks=14 fxsks=15 fxsks=16 fxsks=17 fxsks=18 # Global data loadzone = us defaultzone = us zapata.conf: ; Span 1: WCTDM/0 "Wildcard TDM2400P Board 1" ;;; line="1 WCTDM/0/0 FXSKS (In use)" signalling=fxs_ks callerid=asreceived group=1 context=main channel => 1-24 btw i auto-config this using genzaptelconf script because my manual config didn't work hoping the script will work with my setup.
Eric "ManxPower" Wieling
2007-Nov-18 03:36 UTC
[asterisk-users] problem with tdm2400p configuration
You have 18 channels defined in zaptel.conf, but 24 channels configured in zapata.conf Mark Quitoriano wrote:> Hi i have a tdm2400p and installed asterisk 1.4.11 with zaptel 1.4.5 > im having an error message when in running asterisk with the tdm card > in. > > here's the error from the console of asterisk: > > [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:7489 mkintf: Unable to get > span status: Inappropriate ioctl for device > [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:10466 build_channels: Unable > to register channel '1-24' > > > here's my zaptel and zapata config > > zaptel.conf: > # Span 1: WCTDM/0 "Wildcard TDM2400P Board 1" > fxsks=1 > fxsks=2 > fxsks=3 > fxsks=4 > fxsks=5 > fxsks=6 > fxsks=7 > fxsks=8 > fxsks=9 > fxsks=10 > fxsks=11 > fxsks=12 > fxsks=13 > fxsks=14 > fxsks=15 > fxsks=16 > fxsks=17 > fxsks=18 > > # Global data > > loadzone = us > defaultzone = us > > zapata.conf: > ; Span 1: WCTDM/0 "Wildcard TDM2400P Board 1" > ;;; line="1 WCTDM/0/0 FXSKS (In use)" > signalling=fxs_ks > callerid=asreceived > group=1 > context=main > channel => 1-24
On Sun, Nov 18, 2007 at 10:46:57AM +0800, Mark Quitoriano wrote:> Hi i have a tdm2400p and installed asterisk 1.4.11 with zaptel 1.4.5 > im having an error message when in running asterisk with the tdm card > in. > > here's the error from the console of asterisk: > > [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:7489 mkintf: Unable to get > span status: Inappropriate ioctl for device > [Nov 18 10:30:44] ERROR[5557]: chan_zap.c:10466 build_channels: Unable > to register channel '1-24'What is the line just above this? It should tell you the exact number of the channel where the problem was. What is the output of: cat /proc/zaptel/* -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir