Hi there, I am attempting to set up a simple BRI and SIP based platform using * with the quadbri card (it's not sharing an IRQ). I enclose my zaptel and zapata.conf files. For the inital test I'm simply trying to connect to the * demo menu. The drivers compile (with a few warning that I believe aren't important - see attachments). chan_zap comiles with the warning: chan_zap.c: In function `pri_dchannel': chan_zap.c:6344: warning: passing arg 1 of `pbx_builtin_setvar_helper' from incompatible pointer type The qozap driver appears to load correctly and I get this in the log : Apr 1 17:51:07 debian kernel: Zapata Telephony Interface Registered on major 196 Apr 1 17:51:07 debian kernel: qozap: start Apr 1 17:51:07 debian kernel: PCI: Enabling device 00:0b.0 (0000 -> 0003) Apr 1 17:51:07 debian kernel: PCI: Found IRQ 10 for device 00:0b.0 Apr 1 17:51:07 debian kernel: qozap: quadBRI card configured at mem 0xd0888000 IRQ 10 HZ 100 CardID 0 Apr 1 17:51:07 debian kernel: S/T port 1 is in TE mode. Apr 1 17:51:07 debian kernel: S/T port 2 is in TE mode. Apr 1 17:51:07 debian kernel: S/T port 3 is in TE mode. Apr 1 17:51:07 debian kernel: S/T port 4 is in TE mode. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 1. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 2. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 3. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 4. Apr 1 17:51:07 debian kernel: card 1 span 1 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: card 1 span 2 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: card 1 span 3 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: card 1 span 4 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: qoztmp->cardno = 1 Apr 1 17:51:07 debian kernel: qozap: 1 multiBRI card(s) in this box, 4 BRI ports total. Apr 1 17:51:07 debian kernel: Registered tone zone 4 (United Kingdom) Apr 1 17:51:07 debian kernel: qozap: starting card 1 span 1/0. Apr 1 17:51:07 debian kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16) Apr 1 17:51:07 debian kernel: card 1 span 1 state F7 (A_ST_RD_STA = 0x17) However when running * I get the message below every 2-3 seconds: Apr 1 18:10:55 WARNING[11276]: PRI: !! Got S-frame while link down Attempting to call the line does not result in it being answered but I get the error: Apr 1 18:11:23 WARNING[11276]: PRI: !! Got I-frame while link state 0 When the line starts to ring and again when I hang up. I'm using a bt buisness highway line which is isdn2e comaptible but doesn't provide power on the digital socket. Any suggestions on how to resolve this would be greatly appreciated. I can find nothing on this in the list archives (though similar errors have been seen using a t410p card under high call load: http://lists.digium.com/pipermail/asterisk-users/2004-March/040745.html ) I'm using the bri-stuff rc15 from: http://www.junghanns.net/asterisk/downloads/bri-stuff-0.0.2rc15.tar.gz Thanks in advance for any suggestions, regards, Julien -------------- next part -------------- cc -Wall -Wstrict-prototypes -Wmissing-prototypes -g -c -o pri.o pri.c pri.c: In function `pri_hangup': pri.c:253: warning: implicit declaration of function `q921_hangup' cc -Wall -Wstrict-prototypes -Wmissing-prototypes -g -c -o q921.o q921.c q921.c:134: warning: no previous prototype for `q921_send_teireq' q921.c:302: warning: no previous prototype for `q921_send_sabme' q921.c: In function `__q921_receive': q921.c:1227: warning: array subscript has type `char' q921.c:1228: warning: array subscript has type `char' q921.c: At top level: q921.c:235: warning: `q921_send_teiverify' defined but not used cc -Wall -Wstrict-prototypes -Wmissing-prototypes -g -c -o prisched.o prisched.c cc -Wall -Wstrict-prototypes -Wmissing-prototypes -g -c -o q931.o q931.c q931.c: In function `transmit_calling_party_number': q931.c:895: warning: control reaches end of non-void function q931.c: In function `q921_getcall': q931.c:1423: warning: assignment from incompatible pointer type q931.c:1432: warning: assignment from incompatible pointer type q931.c: At top level: q931.c:1776: warning: no previous prototype for `q931_information_special' q931.c:1836: warning: no previous prototype for `q931_hold_acknowledge' q931.c:1843: warning: no previous prototype for `q931_hold_reject' q931.c:2107: warning: no previous prototype for `q921_hangup' q931.c: In function `q921_hangup': q931.c:2133: warning: assignment from incompatible pointer type q931.c: In function `q931_receive': q931.c:2256: warning: unused variable `ttei' q931.c:2255: warning: unused variable `i' q931.c: At top level: q931.c:1284: warning: `transmit_my_paging_signal' defined but not used ar rcs libpri.a pri.o q921.o prisched.o q931.o ranlib libpri.a cc -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -g -o pri.lo -c pri.c pri.c: In function `pri_hangup': pri.c:253: warning: implicit declaration of function `q921_hangup' cc -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -g -o q921.lo -c q921.c q921.c:134: warning: no previous prototype for `q921_send_teireq' q921.c:302: warning: no previous prototype for `q921_send_sabme' q921.c: In function `__q921_receive': q921.c:1227: warning: array subscript has type `char' q921.c:1228: warning: array subscript has type `char' q921.c: At top level: q921.c:235: warning: `q921_send_teiverify' defined but not used cc -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -g -o prisched.lo -c prisched.c cc -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -g -o q931.lo -c q931.c q931.c: In function `transmit_calling_party_number': q931.c:895: warning: control reaches end of non-void function q931.c: In function `q921_getcall': q931.c:1423: warning: assignment from incompatible pointer type q931.c:1432: warning: assignment from incompatible pointer type q931.c: At top level: q931.c:1776: warning: no previous prototype for `q931_information_special' q931.c:1836: warning: no previous prototype for `q931_hold_acknowledge' q931.c:1843: warning: no previous prototype for `q931_hold_reject' q931.c:2107: warning: no previous prototype for `q921_hangup' q931.c: In function `q921_hangup': q931.c:2133: warning: assignment from incompatible pointer type q931.c: In function `q931_receive': q931.c:2256: warning: unused variable `ttei' q931.c:2255: warning: unused variable `i' q931.c: At top level: q931.c:1284: warning: `transmit_my_paging_signal' defined but not used cc -shared -Wl,-soname,libpri.so.1 -o libpri.so.1.0 pri.lo q921.lo prisched.lo q931.lo /sbin/ldconfig -n . ln -sf libpri.so.1 libpri.so -------------- next part -------------- cc -c qozap.c -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer -O2 -Wall -I/usr/src/linux/include -I../zaptel -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DCONFIG_ZAPATA_BRI_DCHANS qozap.c: In function `qoz_iotest': qozap.c:55: warning: int format, long int arg (arg 4) qozap.c: In function `qoz_fifo_tx': qozap.c:214: warning: array subscript has type `char' qozap.c:214: warning: array subscript has type `char' qozap.c:219: warning: array subscript has type `char' qozap.c:219: warning: array subscript has type `char' qozap.c:225: warning: array subscript has type `char' qozap.c:225: warning: array subscript has type `char' qozap.c:230: warning: array subscript has type `char' qozap.c:230: warning: array subscript has type `char' qozap.c:232: warning: array subscript has type `char' qozap.c:232: warning: array subscript has type `char' qozap.c:237: warning: array subscript has type `char' qozap.c:237: warning: array subscript has type `char' qozap.c:246: warning: array subscript has type `char' qozap.c:252: warning: array subscript has type `char' qozap.c:252: warning: array subscript has type `char' qozap.c:260: warning: array subscript has type `char' qozap.c:260: warning: array subscript has type `char' qozap.c:209: warning: unused variable `temp' qozap.c: In function `qoz_fifo_dostuff': qozap.c:270: warning: unused variable `data' qozap.c:270: warning: unused variable `i' qozap.c:270: warning: unused variable `f2' qozap.c:270: warning: unused variable `f1' qozap.c:269: warning: unused variable `chan' qozap.c:268: warning: unused variable `stport' qozap.c: In function `qoz_fifo_rx': qozap.c:321: warning: array subscript has type `char' qozap.c:322: warning: array subscript has type `char' qozap.c:327: warning: array subscript has type `char' qozap.c:327: warning: array subscript has type `char' qozap.c:339: warning: array subscript has type `char' qozap.c:341: warning: array subscript has type `char' qozap.c:369: warning: array subscript has type `char' qozap.c:369: warning: array subscript has type `char' qozap.c:376: warning: array subscript has type `char' qozap.c:376: warning: subscript has type `char' qozap.c:376: warning: array subscript has type `char' qozap.c:376: warning: subscript has type `char' qozap.c:376: warning: array subscript has type `char' qozap.c:376: warning: subscript has type `char' qozap.c: In function `qoz_prepare_rx': qozap.c:390: warning: array subscript has type `char' qozap.c:391: warning: array subscript has type `char' qozap.c:394: warning: array subscript has type `char' qozap.c:396: warning: array subscript has type `char' qozap.c:396: warning: array subscript has type `char' qozap.c:396: warning: array subscript has type `char' qozap.c:396: warning: array subscript has type `char' qozap.c:396: warning: array subscript has type `char' qozap.c:396: warning: array subscript has type `char' qozap.c:397: warning: array subscript has type `char' qozap.c:398: warning: array subscript has type `char' qozap.c:398: warning: array subscript has type `char' qozap.c:398: warning: array subscript has type `char' qozap.c:399: warning: array subscript has type `char' qozap.c:399: warning: array subscript has type `char' qozap.c:401: warning: array subscript has type `char' qozap.c:402: warning: array subscript has type `char' qozap.c:402: warning: array subscript has type `char' qozap.c:405: warning: array subscript has type `char' qozap.c:405: warning: array subscript has type `char' qozap.c:408: warning: array subscript has type `char' qozap.c:408: warning: array subscript has type `char' qozap.c:409: warning: array subscript has type `char' qozap.c:409: warning: array subscript has type `char' qozap.c: In function `qoz_interrupt': qozap.c:460: warning: unused variable `x' qozap.c:460: warning: unused variable `s' qozap.c: In function `ztqoz_shutdown': qozap.c:695: warning: unused variable `flags' qozap.c: At top level: qozap.c:30: warning: `odd' defined but not used qozap.c:267: warning: `qoz_fifo_dostuff' defined but not used sync -------------- next part -------------- loadzone=uk defaultzone=uk # qozap span definitions # most of the values should be bogus because we are not really zaptel span=1,1,3,ccs,ami span=2,0,3,ccs,ami span=3,0,3,ccs,ami span=4,0,3,ccs,ami bchan=1,2 dchan=3 bchan=4,5 dchan=6 bchan=7,8 dchan=9 bchan=10,11 dchan=12 -------------- next part -------------- ; ; Zapata telephony interface ; ; Configuration file [channels] ; ; Default language ; ;language=en ; ; Default context ; ; switchtype = euroisdn ; 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 = local group = 1 context=demo channel => 1-2,4-5,7-8,10-11
Robinson Tim-W10277
2004-Apr-02 01:32 UTC
[Asterisk-Users] quadBRI card installation issues
Use RC16. This seems to solve our issues on a UK ISDN2e line. Rgds Tim -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Julien Levi Sent: 02 April 2004 01:17 To: asterisk-users@lists.digium.com Cc: Jens-Uwe Junghanns Subject: [Asterisk-Users] quadBRI card installation issues Hi there, I am attempting to set up a simple BRI and SIP based platform using * with the quadbri card (it's not sharing an IRQ). I enclose my zaptel and zapata.conf files. For the inital test I'm simply trying to connect to the * demo menu. The drivers compile (with a few warning that I believe aren't important - see attachments). chan_zap comiles with the warning: chan_zap.c: In function `pri_dchannel': chan_zap.c:6344: warning: passing arg 1 of `pbx_builtin_setvar_helper' from incompatible pointer type The qozap driver appears to load correctly and I get this in the log : Apr 1 17:51:07 debian kernel: Zapata Telephony Interface Registered on major 196 Apr 1 17:51:07 debian kernel: qozap: start Apr 1 17:51:07 debian kernel: PCI: Enabling device 00:0b.0 (0000 -> 0003) Apr 1 17:51:07 debian kernel: PCI: Found IRQ 10 for device 00:0b.0 Apr 1 17:51:07 debian kernel: qozap: quadBRI card configured at mem 0xd0888000 IRQ 10 HZ 100 CardID 0 Apr 1 17:51:07 debian kernel: S/T port 1 is in TE mode. Apr 1 17:51:07 debian kernel: S/T port 2 is in TE mode. Apr 1 17:51:07 debian kernel: S/T port 3 is in TE mode. Apr 1 17:51:07 debian kernel: S/T port 4 is in TE mode. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 1. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 2. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 3. Apr 1 17:51:07 debian kernel: qozap: registered zaptel span 4. Apr 1 17:51:07 debian kernel: card 1 span 1 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: card 1 span 2 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: card 1 span 3 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: card 1 span 4 state F0 (A_ST_RD_STA = 0x0) Apr 1 17:51:07 debian kernel: qoztmp->cardno = 1 Apr 1 17:51:07 debian kernel: qozap: 1 multiBRI card(s) in this box, 4 BRI ports total. Apr 1 17:51:07 debian kernel: Registered tone zone 4 (United Kingdom) Apr 1 17:51:07 debian kernel: qozap: starting card 1 span 1/0. Apr 1 17:51:07 debian kernel: card 1 span 1 state F6 (A_ST_RD_STA = 0x16) Apr 1 17:51:07 debian kernel: card 1 span 1 state F7 (A_ST_RD_STA = 0x17) However when running * I get the message below every 2-3 seconds: Apr 1 18:10:55 WARNING[11276]: PRI: !! Got S-frame while link down Attempting to call the line does not result in it being answered but I get the error: Apr 1 18:11:23 WARNING[11276]: PRI: !! Got I-frame while link state 0 When the line starts to ring and again when I hang up. I'm using a bt buisness highway line which is isdn2e comaptible but doesn't provide power on the digital socket. Any suggestions on how to resolve this would be greatly appreciated. I can find nothing on this in the list archives (though similar errors have been seen using a t410p card under high call load: http://lists.digium.com/pipermail/asterisk-users/2004-March/040745.html ) I'm using the bri-stuff rc15 from: http://www.junghanns.net/asterisk/downloads/bri-stuff-0.0.2rc15.tar.gz Thanks in advance for any suggestions, regards, Julien