keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about B100/200/400/800 ISDN BRI Cards

B200P CANT MAKE INCOMMING OR OUTGOING CALLS

15 years 6 months ago #2243 by jeremybaker
Hello

I have installed in a Trixboxwith a B200p BRI Card. I have configured the card as follows for connection to a UK ISDN 2E line
Card id switch set to 0
card set to TE mode
Termination set to off
Power feed connector set to off

Trixbox Ver = 2.61
Asterisk Ver = 1.4.18

The card detects in the PCI slot OK

please see section of boot log here

Nov 23 15:41:50 trixbox1 kernel: ISDN L1 driver version 1.20
Nov 23 15:41:50 trixbox1 kernel: ISDN L2 driver version 1.32
Nov 23 15:41:50 trixbox1 kernel: mISDN: DSS1 Rev. 1.47
Nov 23 15:41:50 trixbox1 kernel: mISDN Capi 2.0 driver file version 1.21
Nov 23 15:41:50 trixbox1 kernel: mISDN: HFC-multi driver Rev. 1.68
Nov 23 15:41:50 trixbox1 kernel: HFC-multi: card manufacturer: 'Cologne Chip AG' card name: 'HFC-2S OpenVox Card' clock: double
Nov 23 15:41:50 trixbox1 kernel: PCI: Enabling device 0000:03:00.0 (0000 -> 0003)
Nov 23 15:41:50 trixbox1 kernel: ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 19 (level, low) -> IRQ 225
Nov 23 15:41:50 trixbox1 kernel: HFC-2S#1: defined at IOBASE 0xec00 IRQ 225 HZ 1000 leds-type 2
Nov 23 15:41:50 trixbox1 kernel: HFC_multi: resetting HFC with chip ID=0xc revision=1
Nov 23 15:41:51 trixbox1 kernel: hfcpci_probe: DIPs(0x7) jumpers(0x0)
Nov 23 15:41:51 trixbox1 kernel: register_layer: register_sysfs failed -17 st(00000100) inst(40000100)
Nov 23 15:41:51 trixbox1 kernel: register_layer: register_sysfs failed -17 st(00000200) inst(40000200)
Nov 23 15:41:51 trixbox1 kernel: 1 devices registered
Nov 23 15:41:51 trixbox1 kernel: mISDN_dsp: Audio DSP Rev. 1.29 (debug=0x0) EchoCancellor MG2 dtmfthreshold(100)
Nov 23 15:41:51 trixbox1 kernel: mISDN_dsp: DSP clocks every 128 samples. This equals 16 jiffies.

From the asterisk CLI

BEGIN STACK_LIST:
* Port 1 Type TE Prot. PMP L2Link DOWN L1Link:UP Blocked:0 Debug:8
* Port 2 Type TE Prot. PMP L2Link DOWN L1Link:UP Blocked:0 Debug:8

When I make an outgoing call I get this

Tue Nov 25 11:40:57 2008: P[ 1] --> Call on preselected Channel (0).
Tue Nov 25 11:40:57 2008: P[ 0] --> * NEW CHANNEL dad:35118 oad:(null)
Tue Nov 25 11:40:57 2008: P[ 1] * Queuing chan 0x905a9f8
Tue Nov 25 11:40:57 2008: P[ 1] read_config: Getting Config
Tue Nov 25 11:40:57 2008: P[ 1] config_jb: Called
Tue Nov 25 11:40:57 2008: P[ 1] --> * CallGrp:1 PickupGrp:1
Tue Nov 25 11:40:57 2008: P[ 1] --> TON: Unknown
Tue Nov 25 11:40:57 2008: P[ 1] --> LTON: Unknown
Tue Nov 25 11:40:57 2008: P[ 1] --> CTON: Unknown
Tue Nov 25 11:40:57 2008: P[ 1] * CALL: 1:out/35118
Tue Nov 25 11:40:57 2008: P[ 1] --> * dad:535118 tech:mISDN/0-u10 ctx:from-pstn
Tue Nov 25 11:40:57 2008: P[ 1] --> * adding2newbc ext 535118
Tue Nov 25 11:40:57 2008: P[ 1] --> * adding2newbc callerid 536526
Tue Nov 25 11:40:57 2008: P[ 1] update_config: Getting Config
Tue Nov 25 11:40:57 2008: P[ 1] --> pres: -1 screen: -1
Tue Nov 25 11:40:57 2008: P[ 1] --> pres: 0
Tue Nov 25 11:40:57 2008: P[ 1] --> PRES: Allowed (0x0)
Tue Nov 25 11:40:57 2008: P[ 1] --> SCREEN: Unscreened (0x0)
Tue Nov 25 11:40:57 2008: P[ 1] NO OPTS GIVEN
Tue Nov 25 11:40:57 2008: P[ 1] SENDEVENT: stack->nt:0 stack->uperid:40000104
Tue Nov 25 11:40:57 2008: P[ 1] I SEND:SETUP oad:536526 dad:35118 pid:12
Tue Nov 25 11:40:57 2008: P[ 1] --> bc_state:BCHAN_CLEANED
Tue Nov 25 11:40:57 2008: P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
Tue Nov 25 11:40:57 2008: P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
Tue Nov 25 11:40:57 2008: P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
Tue Nov 25 11:40:57 2008: P[ 1] --> screen:0 --> pres:0
Tue Nov 25 11:40:57 2008: P[ 1] --> addr:0 l3id:5000a b_stid:0 layer_id:0
Tue Nov 25 11:40:57 2008: P[ 1] --> facility:Fac_None out_facility:Fac_None
Tue Nov 25 11:40:57 2008: P[ 1] --> urate:0 rate:16 mode:0 user1:0
Tue Nov 25 11:40:57 2008: P[ 1] --> bc:90242dc h:0 sh:0
Tue Nov 25 11:40:57 2008: P[ 1] --> new_l3id 5000b
Tue Nov 25 11:40:57 2008: P[ 1] --> * SEND: State Dialing pid:12
Tue Nov 25 11:40:57 2008: P[ 1] Sending msg, prim:30580 addr:41000104 dinfo:5000b
Tue Nov 25 11:41:01 2008: P[ 0] Got empty Msg..
Tue Nov 25 11:41:02 2008: P[ 1] * IND : HANGUP pid:12 ctx:from-pstn dad:35118 oad:535118 State:CALLING
Tue Nov 25 11:41:02 2008: P[ 1] --> l3id:5000b
Tue Nov 25 11:41:02 2008: P[ 1] --> cause:16
Tue Nov 25 11:41:02 2008: P[ 1] --> out_cause:16
Tue Nov 25 11:41:02 2008: P[ 1] --> state:CALLING
Tue Nov 25 11:41:02 2008: P[ 1] release_chan: bc with l3id: 5000b
Tue Nov 25 11:41:02 2008: P[ 1] SENDEVENT: stack->nt:0 stack->uperid:40000104
Tue Nov 25 11:41:02 2008: P[ 1] I SEND:RELEASE_COMPLETE oad:536526 dad:35118 pid:12
Tue Nov 25 11:41:02 2008: P[ 1] --> bc_state:BCHAN_CLEANED
Tue Nov 25 11:41:02 2008: P[ 1] --> channel:255 mode:TE cause:16 ocause:16 rad: cad:
Tue Nov 25 11:41:02 2008: P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
Tue Nov 25 11:41:02 2008: P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
Tue Nov 25 11:41:02 2008: P[ 1] --> screen:0 --> pres:0
Tue Nov 25 11:41:02 2008: P[ 1] --> addr:0 l3id:5000b b_stid:0 layer_id:0
Tue Nov 25 11:41:02 2008: P[ 1] --> facility:Fac_None out_facility:Fac_None
Tue Nov 25 11:41:02 2008: P[ 1] --> urate:0 rate:16 mode:0 user1:0
Tue Nov 25 11:41:02 2008: P[ 1] --> bc:90242dc h:0 sh:0
Tue Nov 25 11:41:02 2008: P[ 1] $$$ CLEANUP CALLED pid:12
Tue Nov 25 11:41:02 2008: P[ 1] $$$ Already cleaned up bc with stid :0
Tue Nov 25 11:41:02 2008: P[ 1] empty_chan_in_stack: cannot empty channel 255
Tue Nov 25 11:41:02 2008: P[ 1] --> Channel: mISDN/0-u10 hanguped new state:CLEANING
Tue Nov 25 11:41:02 2008: P[ 1] Sending msg, prim:35a80 addr:41000104 dinfo:5000b
Tue Nov 25 11:41:02 2008: P[ 1] handle_frm: frm->addr:42000103 frm->prim:35a81
Tue Nov 25 11:41:02 2008: P[ 1] CC_RELEASE_COMPLETE|CONFIRM [TE]
Tue Nov 25 11:41:02 2008: P[ 1] lib Got Prim: Addr 42000103 prim 35a81 dinfo 5000b
Tue Nov 25 11:41:02 2008: P[ 1] $$$ find_chan: No channel found for oad: dad:
Tue Nov 25 11:41:02 2008: P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:12 state:none
Tue Nov 25 11:41:02 2008: P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
Tue Nov 25 11:41:02 2008: P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
Tue Nov 25 11:41:02 2008: P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
Tue Nov 25 11:41:02 2008: P[ 1] --> screen:0 --> pres:0
Tue Nov 25 11:41:02 2008: P[ 1] --> addr:0 l3id:5000b b_stid:0 layer_id:0
Tue Nov 25 11:41:02 2008: P[ 1] --> facility:Fac_None out_facility:Fac_None
Tue Nov 25 11:41:02 2008: P[ 1] --> urate:0 rate:16 mode:0 user1:0
Tue Nov 25 11:41:02 2008: P[ 1] --> bc:90242dc h:0 sh:0
Tue Nov 25 11:41:02 2008: P[ 1] --> bc_state:BCHAN_CLEANED
Tue Nov 25 11:41:02 2008: P[ 1] --> no Ch, so we've already released.
Tue Nov 25 11:41:02 2008: P[ 0] Cannot hangup chan, no ch
Tue Nov 25 11:41:02 2008: P[ 1] $$$ find_chan: No channel found for oad: dad:
Tue Nov 25 11:41:02 2008: P[ 1] release_chan: Ch not found!
Tue Nov 25 11:41:02 2008: P[ 1] $$$ CLEANUP CALLED pid:12
Tue Nov 25 11:41:02 2008: P[ 1] $$$ Already cleaned up bc with stid :0
Tue Nov 25 11:41:02 2008: P[ 1] Freeing Msg on prim:35a81
Tue Nov 25 11:41:02 2008: P[ 1] handle_frm: frm->addr:42000103 frm->prim:3f182
Tue Nov 25 11:41:02 2008: P[ 1] --> lib: RELEASE_CR Ind with l3id:5000b
Tue Nov 25 11:41:02 2008: P[ 1] --> lib: CLEANING UP l3id: 5000b
Tue Nov 25 11:41:02 2008: P[ 1] $$$ find_chan: No channel found for oad: dad:
Tue Nov 25 11:41:02 2008: P[ 1] I IND :CLEAN_UP oad: dad: pid:12 state:none
Tue Nov 25 11:41:02 2008: P[ 1] $$$ CLEANUP CALLED pid:12
Tue Nov 25 11:41:02 2008: P[ 1] $$$ Already cleaned up bc with stid :0
Tue Nov 25 11:41:02 2008: P[ 1] Idx:0 stack->cchan:0 in_use:0 Chan:1
Tue Nov 25 11:41:02 2008: P[ 1] Idx:1 stack->cchan:0 in_use:0 Chan:2
Tue Nov 25 11:41:02 2008: P[ 1] Idx:2 stack->cchan:0 in_use:0 Chan:3


Can you help please

Thanks

Jeremy
15 years 6 months ago #2248 by james.zhu
hello:
the mISDN and asterisk are ok. please check the dialplan, without dialplan setting, how can you make calls? please check from trixbox.org, there are plenty of information for BRI+trixbox.
regards!
James.zhu

15 years 5 months ago #2263 by jeremybaker
Thanks for you input, however the dial plan was fine it was the misdn-init.conf file that needed altering as follows:

I had this: te_ptmp=1,2,3,4

so I changed it to this: te_ptp=1,2,3,4

Now all works OK. Hope this is of some use to some else

Thanks again
15 years 5 months ago #2264 by james.zhu
hello:
yes, it can be te_ptmp or te_ptp with ISDN 2E. users should ask telcom to get right information.
regards!
James.zhu

Time to create page: 0.032 seconds
Powered by Kunena Forum