keywords: ip pbx voip gateway gsm gateway

×

Notice

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

Openvox b200p, Elastix and BRI problems...

15 years 11 months ago #1040 by JoseVelasco
Hello !

I have problems to do work BRI with misdn (old style).

I do misdn-init configuration sucesfully, (although the card detected was BN4S0 and I think that it should be BN2S0).

With asterisk running, when I do msidnport shows:

[code:1]
[root@elastix ~]# misdnportinfo

Port 1: TE-mode BRI S/T interface line (for phone lines)
-> Interface is Poin-To-Point.
-> Protocol: DSS1 (Euro ISDN)
-> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
-> childcnt: 2
* Port NOT useable for PBX (maybe there is already a PBX running?)
Port 2: TE-mode BRI S/T interface line (for phone lines)
-> Interface is Poin-To-Point.
-> Protocol: DSS1 (Euro ISDN)
-> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
-> childcnt: 2
* Port NOT useable for PBX (maybe there is already a PBX running?)
Port 3: TE-mode BRI S/T interface line (for phone lines)
-> Protocol: DSS1 (Euro ISDN)
-> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
-> childcnt: 2
* Port NOT useable for PBX (maybe there is already a PBX running?)
Port 4: TE-mode BRI S/T interface line (for phone lines)
-> Protocol: DSS1 (Euro ISDN)
-> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
-> childcnt: 2
* Port NOT useable for PBX (maybe there is already a PBX running?)

mISDN_close: fid(3) isize(131072) inbuf(0x80cf060) irp(0x80cf060) iend(0x80cf060)
[/code:1]

It seems all is right, if I run 'misdn show stacks' inside asterisk console, I obtain:

[code:1]
BEGIN STACK_LIST:
* Port 1 Type TE Prot. PTP L2Link UP L1Link:UP Blocked:0 Debug:10
* Port 2 Type TE Prot. PTP L2Link UP L1Link:UP Blocked:0 Debug:10
* Port 3 Type TE Prot. PMP L2Link DOWN L1LinkOWN Blocked:0 Debug:10
* Port 4 Type TE Prot. PMP L2Link DOWN L1LinkOWN Blocked:0 Debug:10
[/code:1]

I put 'misdn set debug 10' to see debug behaviour.

When I try to phone from outside to inside (celular phone to my pbx), it shows:

P[ 2] handle_frm: frm->addr:42000203 frm->prim:3f082
P[ 2] --> lib: NEW_CR Ind with l3id:40005 on this port.
P[ 2] --> new_process: New L3Id: 40005
P[ 2] handle_frm: frm->addr:42000203 frm->prim:30582
P[ 2] set_channel: bc->channel:0 channel:1
P[ 2] $$$ find_chan: No channel found for oad:655052*** dad:968898***
P[ 0] get_index: event not found!
P[ 2] I IND :NEW_CHANNEL oad:655052*** dad:968898*** pid:5 state:none
P[ 2] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 2] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 2] --> capspeech pi:0 keypad: sending_complete:1
P[ 2] --> screen:0 --> pres:0
P[ 2] --> addr:0 l3id:40005 b_stid:0 layer_id:50010280
P[ 2] --> facility:Fac_None out_facility:Fac_None
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> bc:860dee4 h:0 sh:0
P[ 2] --> bc_state:BCHAN_CLEANED
P[ 0] get_index: event not found!
P[ 2] Chan not existing at the moment bc->l3id:40005 bc:0x860dee4 event:NEW_CHANNEL port:2 channel:1
P[ 2] NO USERUESRINFO
P[ 2] find_free_chan: req_chan:1
P[ 2] --> found chan (preselected): 1
P[ 2] set_chan_in_stack: 1
P[ 2] Idx:0 stack->cchan:0 in_use:1 Chan:1
P[ 2] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 2] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 2] $$$ Setting up bc with stid :10010200
P[ 2] setup_bc: with dsp
P[ 2] --> Channel is 1
P[ 2] --> TRANSPARENT Mode
P[ 2] $$$ Bchan Activated addr 50010202
P[ 2] BC_STATE_CHANGE: l3id:40005 from:BCHAN_CLEANED to:BCHAN_ACTIVATED
P[ 2] lib Got Prim: Addr 42000203 prim 30582 dinfo 40005
P[ 2] $$$ find_chan: No channel found for oad:655052*** dad:968898***
P[ 2] I IND ETUP oad:655052*** dad:968898*** pid:5 state:none
P[ 2] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 2] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 2] --> capspeech pi:0 keypad: sending_complete:1
P[ 2] --> screen:0 --> pres:0
P[ 2] --> addr:50010202 l3id:40005 b_stid:10010200 layer_id:50010280
P[ 2] --> facility:Fac_None out_facility:Fac_None
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> bc:860dee4 h:0 sh:0
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] $$$ find_chan: No channel found for oad:655052*** dad:968898***
P[ 2] --> Bearer: Speech
P[ 2] --> Codec: Alaw
P[ 2] --> Bearer: Speech
P[ 2] --> Codec: Alaw
P[ 0] --> * NEW CHANNEL dad:968898*** oad:655052***
P[ 2] read_config: Getting Config
P[ 2] config_jb: Called
P[ 2] --> * CallGrp: PickupGrp:
P[ 2] --> CTON: Unknown
P[ 2] --> EXPORT_PID: pid:5
P[ 2] --> PRES: Restricted (0)
P[ 2] --> SCREEN: Unscreened (0)
P[ 2] * Queuing chan 0x864fd80
P[ 2] CONTEXT:from-pstn
P[ 2] SENDEVENT: stack->nt:0 stack->uperid:40000204
P[ 2] I SEND:RELEASE oad:655052*** dad:0968898*** pid:5
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] --> channel:1 mode:TE cause:16 ocause:1 rad: cad:
P[ 2] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 2] --> capspeech pi:0 keypad: sending_complete:1
P[ 2] --> screen:0 --> pres:0
P[ 2] --> addr:50010202 l3id:40005 b_stid:10010200 layer_id:50010280
P[ 2] --> facility:Fac_None out_facility:Fac_None
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> bc:860dee4 h:0 sh:0
P[ 2] Sending msg, prim:34d80 addr:41000204 dinfo:40005
P[ 2] GOT SETUP OK
P[ 2] Freeing Msg on prim:30582
P[ 2] BCHAN: bchan ACT Confirm pid:5
P[ 0] misdn_jb_empty: Wait...requested:79 p:864f8c0
P[ 2] Transmitting 79 samples 2 misdn
P[ 2] writing 79 bytes 2 asterisk
P[ 0] misdn_jb_empty: Wait...requested:128 p:864f8c0
P[ 2] Transmitting 128 samples 2 misdn
P[ 2] writing 128 bytes 2 asterisk
P[ 0] misdn_jb_empty: Wait...requested:128 p:864f8c0
P[ 2] Transmitting 128 samples 2 misdn
P[ 2] writing 128 bytes 2 asterisk
P[ 0] misdn_jb_empty: Wait...requested:128 p:864f8c0
P[ 2] Transmitting 128 samples 2 misdn
P[ 2] writing 128 bytes 2 asterisk
P[ 0] misdn_jb_empty: Wait...requested:128 p:864f8c0
P[ 2] Transmitting 128 samples 2 misdn
P[ 2] writing 128 bytes 2 asterisk
P[ 0] misdn_jb_empty: Wait...requested:128 p:864f8c0
P[ 2] Transmitting 128 samples 2 misdn
P[ 2] writing 128 bytes 2 asterisk
P[ 0] misdn_jb_empty: Wait...requested:128 p:864f8c0
P[ 2] Transmitting 128 samples 2 misdn
P[ 2] writing 128 bytes 2 asterisk
P[ 2] handle_frm: frm->addr:42000203 frm->prim:35a82
P[ 2] lib Got Prim: Addr 42000203 prim 35a82 dinfo 40005
P[ 2] I IND :RELEASE_COMPLETE oad:655052415 dad:0968898420 pid:5 state:EXTCANTMATCH
P[ 2] --> channel:1 mode:TE cause:16 ocause:1 rad: cad:
P[ 2] --> info_dad: onumplan:0 dnumplan:2 rnumplan: cpnnumplan:0
P[ 2] --> capspeech pi:0 keypad: sending_complete:1
P[ 2] --> screen:0 --> pres:0
P[ 2] --> addr:50010202 l3id:40005 b_stid:10010200 layer_id:50010280
P[ 2] --> facility:Fac_None out_facility:Fac_None
P[ 2] --> urate:0 rate:16 mode:0 user1:0
P[ 2] --> bc:860dee4 h:0 sh:0
P[ 2] --> bc_state:BCHAN_ACTIVATED
P[ 2] hangup_chan called
P[ 2] --> hangup
P[ 2] * IND : HANGUP pid:5 ctx:from-pstn dad:0968898*** oad:655052*** State:EXTCANTMATCH
P[ 2] --> l3id:40005
P[ 2] --> cause:16
P[ 2] --> out_cause:16
P[ 2] --> state:EXTCANTMATCH
P[ 2] --> Channel: mISDN/3-u3 hanguped new state:CLEANING
P[ 2] release_chan: bc with l3id: 40005
P[ 2] $$$ CLEANUP CALLED pid:5
P[ 2] $$$ Cleaning up bc with stid :10010200 pid:5
P[ 2] --> ec_disable
P[ 2] Sending Control ECHOCAN_OFF
P[ 2] ph_control: c1:2319 c2:0
P[ 2] $$$ Bchan deActivated addr 50010202
P[ 2] BC_STATE_CHANGE: l3id:40005 from:BCHAN_ACTIVATED to:BCHAN_RELEASE
P[ 2] BC_STATE_CHANGE: l3id:40005 from:BCHAN_RELEASE to:BCHAN_CLEANED
P[ 2] empty_chan_in_stack: 1
P[ 2] Idx:0 stack->cchan:0 in_use:1 Chan:1
P[ 2] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 2] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 2] Freeing Msg on prim:35a82
P[ 2] handle_frm: frm->addr:42000203 frm->prim:3f182
P[ 2] --> lib: RELEASE_CR Ind with l3id:40005
P[ 2] --> lib: CLEANING UP l3id: 40005
P[ 2] $$$ find_chan: No channel found for oad: dad:
P[ 0] get_index: event not found!
P[ 2] I IND :CLEAN_UP oad: dad: pid:5 state:none
P[ 2] $$$ CLEANUP CALLED pid:5
P[ 2] $$$ Already cleaned up bc with stid :0
P[ 2] Idx:0 stack->cchan:0 in_use:0 Chan:1
P[ 2] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 2] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 2] BCHAN: MGR_DELLAYER|CNF pid:5
[/code]

The above text appears when I phone to the pbx, in the mobile phone I hear the message in spanish "El teléfono marcado no existe", as say "The phone introduced does not existe".

I think that the problem is my configuration, what can I do?

Thanks in advance!
15 years 11 months ago #1042 by JoseVelasco
Hey guys!!!

All was right!!

The extension.conf file had "language=es" in the wrong place.

I can call out and receive calls from outside....

Thanks!!
Time to create page: 0.035 seconds
Powered by Kunena Forum