[Asterisk-Users] BRI Error with zaphfc

Tim Robinson timweb at txrx.org.uk
Sun Dec 19 08:35:41 MST 2004


 From the trace it appears that you are not getting any Layer 2 
communication.  All the broadcast messages like SETUP and the TEI 
assignments are being sent (and because your phone rings, it is hearing 
what Asterisk is saying to it. Your ISDN phone does not appear to be 
responding.  This looks to me like a physical connection problem.

Try checking the terminations - you MUST have 100 ohm resistors across 
both TX and RX pairs. In fact, on short cable runs you are sometimes 
better off with 50 ohms to simulate the 100 ohm terminators expected at 
each end of the bus.

Rgds
Tim



Ian Clough wrote:
> 
> Hi
> 
> I have a small ISDN PABX , (BRI) at home - Siemens Gigaset 4175 which has
> cordless DECT extensions.
> I have set up asterisk on FC3 with two HFC cards and I am using the latest
> bristuff.
> I am trying to use * between my ISDN line and my PABX.
> 
> One card is in TE mode and can receive and make calls OK. I can make and
> receive external calls to a SIP phone.
> I cannot get the other card to talk to my PABX. It is in NT mode.
> If I try to call a PABX extension it rings but drops the call after a few
> seconds. The PABX logs the call as a 'missed call'
> I get the following debug:-
> 
> I understand Linux better than ISDN. Can anybody interpret this for me
> please :-)
> 
> 
> Ian
> 
> pri intense debug span 2
> Enabled EXTENSIVE debugging on span 2
>    -- Accepting call from '12--------' to '------' on channel 0/1, span 1
> (my tel no deleted :-)
>    -- Executing Dial("Zap/1-1", "Zap/g2/673615") in new stack
> 
>> [ 02 ff 03 08 01 02 05 04 03 80 90 a3 18 01 89 70 07 c1 36 37 33 36 31 35
>> a1 ]
> 
> 
>> Unnumbered frame:
>> SAPI: 00  C/R: 1 EA: 0
>>  TEI: 127        EA: 1
>>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
>> 22 bytes of data
>> Protocol Discriminator: Q.931 (8)  len=22
>> Call Ref: len= 1 (reference 2/0x2) (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 89]
>> Channel ID (len= 3) [ Ext: 1  IntID: Implicit, Other Spare: 0, Exclusive
>> Dchan: 0
>>                        ChanSel: B1 channel
> 
>                         ]
> 
>> [70 07 c1 36 37 33 36 31 35]
>> Called Number (len= 9) [ Ext: 1  TON: Subscriber Number (4)  NPI:
>> ISDN/Telephony Numbering Plan (E.164/E.163) (1) '673615' ]
>> [a1]
>> Sending Complete (len= 1)
> 
>    -- Called g2/673615
> 
> < [ fc ff 03 0f 59 76 01 ff ]
> 
> < Unnumbered frame:
> < SAPI: 63  C/R: 0 EA: 0
> <  TEI: 127        EA: 1
> <   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> < 5 bytes of data
> Sending TEI assign ri=22902 tei=64
> 
>> [ fe ff 03 0f 59 76 02 81 ]
> 
> 
>> Unnumbered frame:
>> SAPI: 63  C/R: 1 EA: 0
>>  TEI: 127        EA: 1
>>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
>> 5 bytes of data
> 
> 
> < [ fc ff 03 0f 02 8f 01 ff ]
> 
> < Unnumbered frame:
> < SAPI: 63  C/R: 0 EA: 0
> <  TEI: 127        EA: 1
> <   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> < 5 bytes of data
> Sending TEI assign ri=655 tei=65
> 
>> [ fe ff 03 0f 02 8f 02 83 ]
> 
> 
>> Unnumbered frame:
>> SAPI: 63  C/R: 1 EA: 0
>>  TEI: 127        EA: 1
>>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
>> 5 bytes of data
> 
> 
> < [ fc ff 03 0f 26 d7 01 ff ]
> 
> < Unnumbered frame:
> < SAPI: 63  C/R: 0 EA: 0
> <  TEI: 127        EA: 1
> <   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> < 5 bytes of data
> Sending TEI assign ri=9943 tei=66
> 
>> [ fe ff 03 0f 26 d7 02 85 ]
> 
> 
>> Unnumbered frame:
>> SAPI: 63  C/R: 1 EA: 0
>>  TEI: 127        EA: 1
>>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
>> 5 bytes of data
> 
> 
> < [ fc ff 03 0f 05 06 01 ff ]
> 
> < Unnumbered frame:
> < SAPI: 63  C/R: 0 EA: 0
> <  TEI: 127        EA: 1
> <   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> < 5 bytes of data
> Sending TEI assign ri=1286 tei=67
> 
>> [ fe ff 03 0f 05 06 02 87 ]
> 
> 
>> Unnumbered frame:
>> SAPI: 63  C/R: 1 EA: 0
>>  TEI: 127        EA: 1
>>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
>> 5 bytes of data
> 
>    -- Channel 0/1, span 2 got hangup
> Dec 19 08:21:47 WARNING[-188937296]: app_dial.c:406 wait_for_answer: Unable
> to forward voice
>    -- Hungup 'Zap/4-1'
>  == No one is available to answer at this time
>    -- Executing Wait("Zap/1-1", "14") in new stack
> 
> < [ fc ff 03 0f 35 eb 01 ff ]
> 
> < Unnumbered frame:
> < SAPI: 63  C/R: 0 EA: 0
> <  TEI: 127        EA: 1
> <   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> < 5 bytes of data
> Sending TEI assign ri=13803 tei=68
> 
>> [ fe ff 03 0f 35 eb 02 89 ]
> 
> 
>> Unnumbered frame:
>> SAPI: 63  C/R: 1 EA: 0
>>  TEI: 127        EA: 1
>>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
>> 5 bytes of data
> 
> 
> < [ fc ff 03 0f 45 c9 01 ff ]
> 
> < Unnumbered frame:
> < SAPI: 63  C/R: 0 EA: 0
> <  TEI: 127        EA: 1
> <   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> < 5 bytes of data
> Sending TEI assign ri=17865 tei=69
> 
>> [ fe ff 03 0f 45 c9 02 8b ]
> 
> 
>> Unnumbered frame:
>> SAPI: 63  C/R: 1 EA: 0
>>  TEI: 127        EA: 1
>>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
>> 5 bytes of data
> 
>    -- Channel 0/1, span 1 got hangup
>  == Spawn extension (incoming, 693024, 2) exited non-zero on 'Zap/1-1'
>    -- Hungup 'Zap/1-1'
> 
> ************************
> Dec 18 07:27:17 intechdial kernel: Zapata Telephony Interface Registered on
> major 196
> Dec 18 07:27:17 intechdial kernel: zaphfc: no version for "zt_receive"
> found: kernel tainted.
> Dec 18 07:27:17 intechdial kernel: ACPI: PCI interrupt 0000:02:05.0[A] ->
> GSI 5 (level, low) -> IRQ 5
> Dec 18 07:27:17 intechdial kernel: zaphfc: CCD/Billion/Asuscom 2BD0
> configured at mem 0xa168400 fifo 0x4fe8000(0x2fe8000) IRQ 5 HZ 1000
> Dec 18 07:27:17 intechdial kernel: zaphfc: Card 0 configured for TE mode
> Dec 18 07:27:17 intechdial kernel: ACPI: PCI interrupt 0000:02:07.0[A] ->
> GSI 10 (level, low) -> IRQ 10
> Dec 18 07:27:17 intechdial kernel: zaphfc: CCD/Billion/Asuscom 2BD0
> configured at mem 0xa188800 fifo 0x4878000(0x2878000) IRQ 10 HZ 1000
> Dec 18 07:27:17 intechdial kernel: zaphfc: Card 1 configured for NT mode
> Dec 18 07:27:17 intechdial kernel: zaphfc: 2 hfc-pci card(s) in this box.
> Dec 18 07:32:26 intechdial kernel: Registered tone zone 3 (Netherlands)
> Dec 18 07:32:31 intechdial kernel: zaphfc: empty HDLC frame received.
> Dec 18 07:35:33 intechdial sshd(pam_unix)[2894]: session opened for user
> root by root(uid=0)
> Dec 18 07:48:43 intechdial kernel: zaphfc: empty HDLC frame received.
> Dec 18 07:49:06 intechdial last message repeated 8 times
> *******;
> ; 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=unknown
> prilocaldialplan=local
> ; trust user provided callerid (clip no screening)?
> pritrustusercid = yes
> 
> echocancel=yes
> immediate=no
> group = 1
> context=incoming
> channel => 1-2
> 
> signalling = bri_net_ptmp
> pridialplan=local
> group=2
> contect=incoming
> channel => 4-5
> *****************
> 
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list