Hi,
I have a partial working installation with zaphfc.
Incoming call :
For incoming call, seems work fine. But the sound is very bad with bounce
short crashing sound. Same sound with echo cancel off or on.
SDA work fine.
Another problem, it's seems that's zaphfc don't reset correctly the
line. I
have one of my D channel how was busy even after stop communication.
Outgoing call :
When try make a call, i have error like this :
Mar 18 22:44:05 WARNING[229391]: chan_zap.c:5952 zt_pri_error: PRI: !! Got
reject for frame 1, but we have nothing -- resetting!
MFE for TEI = 80
== D-Channel on span 1 up
== D-Channel on span 1 down
== D-Channel on span 1 down
Config is mostly like howto on voip-info.org
in /var/log/messages, i have hundred of this line :
zaphfc: empty HDLC frame received
---
Hardware : Bewan Gazel PCI (have his dedicaced IRQ)
---
ztcfg :
SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
Channel map:
Channel 01: Individual Clear channel (Default) (Slaves: 01)
Channel 02: Individual Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)
Channel 04: FXS Kewlstart (Default) (Slaves: 04)
---
/etc/zaptel.conf :
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
fxsks=4
---
/etc/asterisk/zapata.conf :
[snip]
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan=local
echocancel=yes
immediate=yes
;setcallerid(""<${CALLERIDNUM}>)
;usecallerid=yes
group = 1
context=incoming
channel => 1-2
[snip]
Don't work with bri_net_ptmp
---
ISDN operator : France Telecom
---
*CLI> zap show channel 1
Channel: 1
File Descriptor: 25
Span: 1
Extension: s
Context: incoming
Caller ID string: xxxxxxxxxx
Destroy: 0
Signalling Type: PRI Signalling
Owner: Zap/1-1
Real: Zap/1-1
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: yes
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 0 taps unless TDM bridged, currently OFF
PRI Flags: Call
Actual Confinfo: Num/0, Mode/0x0000
Actual Confmute: No
When offline :
[snip]
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
PRI Flags:
Mar 18 22:40:57 WARNING[16384]: chan_zap.c:7055 zap_show_channel: Failed to
get conference info on channel 1
Mar 18 22:40:57 WARNING[16384]: chan_zap.c:7061 zap_show_channel: Failed to
get confmute info on channel 1
Thanks for help !
--
Arnaud Pignard (apignard@frontier.fr)
Frontier Online - Op?rateur Internet
Hi, I have a problem with zaphfc in NT mode. I installed the card, the software and made a isdn crossover cable (with two 100Ohm resistors). But if I pickup the phone, there is no dialtone. Also I can't ring the phone from xlite. if I load the zaphfc module with debug=1 I see a message when I pickup the phone. ------ zaphfc: card 0 RX 8 bytes [ 0xfc 0xff 0x3 0xf 0x2c 0x4d 0x1 0xff ...] zaphfc: card 0 RX 2 bytes [ 0x60 0xe4 !] ------ But two seconds later I can read on my phone's display : "Line Failure". What could cause that ? I installed the latest bristuff ( Asterisk 1.0.2-BRIstuffed-0.2.0-RC2b ). ------- /etc/zaptel.conf ------- loadzone=nl defaultzone=nl span=1,1,3,ccs,ami bchan=1-2 dchan=3 -------- I loaded the module with: insmod ./zaphfc.ko modes=1 -------- /etc/asterisk/zapata.conf -------- [channels] switchtype = euroisdn ;signalling = bri_net signalling = bri_net_ptmp pridialplan = local prilocaldialplan = local echocancel = yes overlapdial = no immediate = no usecallerid = yes group = 1 context = zapincoming channel => 1-2 -------- -------- extensions.conf --------- [fromxlite] exten => 6,1,Dial(Zap/g1/4758645,60,r) --------- ----- load modules ----- zaptel: no version for "struct_module" found: kernel tainted. Zapata Telephony Interface Registered on major 196 zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xc49b9e00 fifo 0xc2678000(0x2678000) IRQ 9 HZ 1000 zaphfc: Card 0 configured for NT mode zaphfc: 1 hfc-pci card(s) in this box. Registered tone zone 3 (Netherlands) zaphfc: card 0 layer 1 state = G2 zaphfc: card 0 layer 1 state = G3 ------- Thank you in advance ! Sebastian
Dear all i have HFC supported ( Planet TA ) card installed on Redhat 9 and i have installed bristuff and i can load zaptel and load zaphfc module in TE mode . and unable to load ztdummy module properly i get this error in /var/log/asterisk/messages Dec 17 19:00:29 ERROR[604]: Unable to load config zapata.conf Dec 17 19:00:29 WARNING[604]: chan_zap.so: load_module failed, returning -1 Dec 17 19:00:30 WARNING[604]: Loading module chan_zap.so failed! this message on console Dec 18 11:51:28 ERROR[2103]: chan_zap.c:6318 mkintf: Unable to open channel 1: No such device or address here is my zaptel.conf loadzone=nz defaultzone=nz span=1,1,3,ccs,ami bchan=1-2 dchan=3 ################# here is my zapata.conf switchtype = euroisdn signalling = bri_net_ptmp ;this is for a peer to multipeer network ;pridialplan=local immediate=yes group = 1 context=default channel => 1-2 echocancel=yes i get this error when ztcfg -vv Zaptel Configuration ===================== SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1) Channel map: Channel 01: Individual Clear channel (Default) (Slaves: 01) Channel 02: Individual Clear channel (Default) (Slaves: 02) Channel 03: D-channel (Default) (Slaves: 03) 3 channels configured. ZT_CHANCONFIG failed on channel 1: Invalid argument (22) Did you forget that FXS interfaces are configured with FXO signalling and that FXO interfaces use FXS signalling?
Hi all, I have a cheap ISDN card with zaphfc module in TE mode (ptmp). Everything is going fine, I can make call from SIP phones to ISDN but sometimes while I'm speaking (SIP -> ISDN or ISDN <-SIP) the line just break. After that I can't dial or receive calls. Only after reloading zaphfc module I can make and receive calls. Anybody know what's happening Thank you
I upgraded my FC3 to kernel 2.6.11. I installed bristuff 0.2.0-RC8 and I
cannot call out using zaphfc. I can receive calls, but can't get out. Here
is what I got:
-- Starting simple switch on 'Zap/4-1'
-- Executing Dial("Zap/4-1", "Zap/1/******348|60|rTt")
in new stack
> [ 00 e7 0e 12 08 01 04 05 04 03 80 90 a3 18 01 81 6c 05 41 80 31 30 31 70
0b c1 30 35 30 31 33 35 39 33 34 38 a1 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 115 EA: 1
> N(S): 007 0: 0
> N(R): 009 P: 0
> 33 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer> Protocol Discriminator: Q.931 (8) len=33
> Call Ref: len= 1 (reference 4/0x4) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer
capability: Speech (0)> Ext: 1 Trans mode/rate: 64kbps, circuit-mode
(16)> Ext: 1 User information layer 1: A-Law (35)
> [18 01 81]
> Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Preferred
Dchan: 0> ChanSel: B1 channel
]> [6c 05 41 80 31 30 31]
> Calling Number (len= 7) [ Ext: 0 TON: Subscriber Number (4) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1)> Presentation: Presentation permitted, user
number not screened (0) '101' ]> [70 0b c1 *********** 33 34 38]
> Called Number (len=13) [ Ext: 1 TON: Subscriber Number (4) NPI:
ISDN/Telephony Numbering Plan (E.164/E.163) (1) '******348'
]> [a1]
> Sending Complete (len= 1)
-- Called 1/******348
< [ 00 e7 01 10 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 115 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 008 P/F: 0
< 0 bytes of data
-- ACKing all packets from 6 to (but not including) 8
-- ACKing packet 7, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
< [ 02 e7 12 10 08 01 84 02 18 01 89 ]
< Informational frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 115 EA: 1
< N(S): 009 0: 0
< N(R): 008 P: 0
< 7 bytes of data
-- ACKing all packets from 7 to (but not including) 8
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8) len=7
< Call Ref: len= 1 (reference 132/0x84) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 01 89]
< Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive
Dchan: 0
< ChanSel: B1 channel
]
Sending Receiver Ready (10)
> [ 02 e7 01 14 ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 115 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 010 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
< [ 02 e7 14 10 08 01 84 45 08 02 82 95 1c 0f 91 a1 0c 02 02 16 c8 06 06 04
00 87 69 01 07 1e 02 82 88 ]
< Informational frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 115 EA: 1
< N(S): 010 0: 0
< N(R): 008 P: 0
< 29 bytes of data
-- ACKing all packets from 7 to (but not including) 8
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8) len=29
< Call Ref: len= 1 (reference 132/0x84) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 82 95]
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
Public network serving the local user (2)
< Ext: 1 Cause: Call Rejected (21), class = Normal Event
(1) ]
< [1c 0f 91 a1 0c 02 02 16 c8 06 06 04 00 87 69 01 07]
< Facility (len=17, codeset=0) [ 0x91, 0xa1, 0x0c, 0x02, 0x02, 0x16, 0xc8,
0x06, 0x06, 0x04, 0x00, 0x87, 'i', 0x01, 0x07 ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0:
0 Location: Public network serving the local user (2)
< Ext: 1 Progress Description: Inband
information or appropriate pattern now available. (8) ]
Sending Receiver Ready (11)
> [ 02 e7 01 16 ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 115 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 011 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
-- Channel 0/1, span 1 got hangup
-- Zap/1-1 is circuit-busy
> [ 00 e7 10 16 08 01 04 4d 08 02 81 95 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 115 EA: 1
> N(S): 008 0: 0
> N(R): 011 P: 0
> 8 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer> Protocol Discriminator: Q.931 (8) len=8
> Call Ref: len= 1 (reference 4/0x4) (Originator)
> Message type: RELEASE (77)
> [08 02 81 95]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location:
Private network serving the local user (1)> Ext: 1 Cause: Call Rejected (21), class = Normal Event
(1) ]
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time
< [ 00 e7 01 12 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 115 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 009 P/F: 0
< 0 bytes of data
-- ACKing all packets from 7 to (but not including) 9
-- ACKing packet 8, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
< [ 02 e7 16 12 08 01 84 5a ]
< Informational frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 115 EA: 1
< N(S): 011 0: 0
< N(R): 009 P: 0
< 4 bytes of data
-- ACKing all packets from 8 to (but not including) 9
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8) len=4
< Call Ref: len= 1 (reference 132/0x84) (Terminator)
< Message type: RELEASE COMPLETE (90)
Sending Receiver Ready (12)
> [ 02 e7 01 18 ]
> Supervisory frame:
> SAPI: 00 C/R: 1 EA: 0
> TEI: 115 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 012 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
Then it says that Zap/1 is circuit-blocked. Where should I look for
solution?
-- Mike