Hallo,
ich habe einen Asterisk 1.4.11 unter Gentoo laufen und die aktuelle Version von mISDN und mISDN-User vom 'git' installiert, also mISDN 1.2. Der chan_misdn ist der von Asterisk 1.4.11 mitgelieferte. (welcher das ist, kann ich nicht finden).
Wenn ich nun auf einem normalen TE-Port an einem Mehrgeräteanschluss anrufe, wird das Gespräch perfekt durchgeführt.
Allerdings kann ich kein Gespräch nach draußen führen, es wird immer sofort wieder beendet. Man hört ein besetzt.
Der debug Log auf dem Port:
Der Port hat folgende Config:
Die Config des Treibers:
Was kann das sein und wer kann mir helfen.
Mfg
Boesl
ich habe einen Asterisk 1.4.11 unter Gentoo laufen und die aktuelle Version von mISDN und mISDN-User vom 'git' installiert, also mISDN 1.2. Der chan_misdn ist der von Asterisk 1.4.11 mitgelieferte. (welcher das ist, kann ich nicht finden).
Wenn ich nun auf einem normalen TE-Port an einem Mehrgeräteanschluss anrufe, wird das Gespräch perfekt durchgeführt.
Allerdings kann ich kein Gespräch nach draußen führen, es wird immer sofort wieder beendet. Man hört ein besetzt.
Der debug Log auf dem Port:
Code:
P[ 1] Group [externalisdn] Port [1]
P[ 1] portup:1I>
P[ 1] * Queuing chan 0x822c980
P[ 1] read_config: Getting Config
P[ 1] config_jb: Called
P[ 1] --> * CallGrp: PickupGrp:
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: g:externalisdn/03xxxxxxx49
P[ 1] --> * dad:03xxxxxxx49 tech:mISDN/0-u16 ctx:from-external-isdn
P[ 1] --> * adding2newbc ext 03xxxxxxx49
P[ 1] --> * adding2newbc callerid 4031xxx
P[ 1] update_config: Getting Config
P[ 1] --> pres: -1 screen: -1
P[ 1] --> pres: 20
P[ 1] --> PRES: Restricted (0x1)
P[ 1] --> SCREEN: Unscreened (0x0)
P[ 1] NO OPTS GIVEN
P[ 1] SENDEVENT: stack->nt:0 stack->uperid:40000104
P[ 1] I SEND:SETUP oad:4031xxx dad:03xxxxxxx49 pid:10
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> screen:0 --> pres:1
P[ 1] --> addr:0 l3id:20004 b_stid:0 layer_id:50010180
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:81dd3b8 h:0 sh:0
P[ 1] --> new_l3id 50005
P[ 1] --> * SEND: State Dialing pid:10
-- Called g:externalisdn/03xxxxxxx49
P[ 1] Sending msg, prim:30580 addr:41000104 dinfo:50005
P[ 1] handle_frm: frm->addr:42000103 frm->prim:30282
P[ 1] set_channel: bc->channel:255 channel:1
P[ 1] I IND :NEW_CHANNEL oad:4031xxx dad:03xxxxxxx49 pid:10 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> screen:0 --> pres:1
P[ 1] --> addr:0 l3id:50005 b_stid:0 layer_id:50010180
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:81dd3b8 h:0 sh:0
P[ 1] --> bc_state:BCHAN_CLEANED
P[ 1] --> updating channel name to [mISDN/1-u17]
P[ 1] $$$ Setting up bc with stid :10010100
P[ 1] setup_bc: with dsp
P[ 1] --> Channel is 1
P[ 1] --> TRANSPARENT Mode
P[ 1] $$$ Bchan Activated addr 50010102
P[ 1] BC_STATE_CHANGE: l3id:50005 from:BCHAN_CLEANED to:BCHAN_ACTIVATED
P[ 1] find_free_chan: req_chan:1
P[ 1] --> found chan (preselected): 1
P[ 1] set_chan_in_stack: 1
P[ 1] Idx:0 stack->cchan:0 in_use:1 Chan:1
P[ 1] Idx:1 stack->cchan:0 in_use:0 Chan:2
P[ 1] Idx:2 stack->cchan:0 in_use:0 Chan:3
P[ 1] lib Got Prim: Addr 42000103 prim 30282 dinfo 50005
P[ 1] I IND :PROCEEDING oad:4031xxx dad:03xxxxxxx49 pid:10 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:0 keypad: sending_complete:0
P[ 1] --> screen:0 --> pres:1
P[ 1] --> addr:50010102 l3id:50005 b_stid:10010100 layer_id:50010180
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:81dd3b8 h:0 sh:0
P[ 1] --> bc_state:BCHAN_ACTIVATED
P[ 1] --> updating channel name to [mISDN/1-u18]
P[ 1] Freeing Msg on prim:30282
-- mISDN/1-u18 is proceeding passing it to SIP/230-0821d3c0
P[ 1] BCHAN: bchan ACT Confirm pid:10
P[ 1] Transmitting 38 samples 2 misdn
P[ 1] writing 38 bytes 2 asterisk
P[ 1] handle_frm: frm->addr:42000103 frm->prim:34582
P[ 1] lib Got Prim: Addr 42000103 prim 34582 dinfo 50005
P[ 1] I IND :DISCONNECT oad:4031xxx dad:03xxxxxxx49 pid:10 state:PROCEEDING
P[ 1] --> channel:1 mode:TE cause:31 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:8 keypad: sending_complete:0
P[ 1] --> screen:0 --> pres:1
P[ 1] --> addr:50010102 l3id:50005 b_stid:10010100 layer_id:50010180
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:81dd3b8 h:0 sh:0
P[ 1] --> bc_state:BCHAN_ACTIVATED
P[ 1] $$$ find_holded: channel:1 oad:4031xxx dad:03xxxxxxx49
P[ 1] $$$ find_holded: --> holded:0 channel:0
P[ 1] $$$ find_chan: No channel found for oad:4031xxx dad:03xxxxxxx49
P[ 1] --> org:1 nt:0, inbandavail:1 state:6
P[ 1] --> Inband Info Avail, not sending RELEASE
P[ 1] Freeing Msg on prim:34582
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
.
.
.
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
P[ 1] Transmitting 128 samples 2 misdn
P[ 1] writing 128 bytes 2 asterisk
P[ 1] * IND : HANGUP pid:10 ctx:from-external-isdn dad:03xxxxxxx49 oad:03xxxxxxx49 State:DISCONNECTED
P[ 1] --> l3id:50005
P[ 1] --> cause:31
P[ 1] --> out_cause:31
P[ 1] --> state:DISCONNECTED
P[ 1] SENDEVENT: stack->nt:0 stack->uperid:40000104
P[ 1] I SEND:RELEASE oad:4031xxx dad:03xxxxxxx49 pid:10
P[ 1] --> bc_state:BCHAN_ACTIVATED
P[ 1] --> channel:1 mode:TE cause:31 ocause:31 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> caps:Speech pi:8 keypad: sending_complete:0
P[ 1] --> screen:0 --> pres:1
P[ 1] --> addr:50010102 l3id:50005 b_stid:10010100 layer_id:50010180
P[ 1] --> facility:Fac_None out_facility:Fac_None
P[ 1] --> urate:0 rate:16 mode:0 user1:0
P[ 1] --> bc:81dd3b8 h:0 sh:0
P[ 1] --> Channel: mISDN/1-u18 hanguped new state:CLEANING
Der Port hat folgende Config:
Code:
[PORT 1]er5*CLI>
-> name: externalisdn -> allowed_bearers: all
-> far_alerting: no -> rxgain: 0
-> txgain: 0 -> te_choose_channel: no
-> pmp_l1_check: no -> reject_cause: 21
-> block_on_alarm: no -> hdlc: no
-> context: from-external-isdn -> language: de
-> musicclass: default -> callerid:
-> method: standard -> dialplan: 0
-> localdialplan: 0 -> cpndialplan: 0
-> nationalprefix: 0 -> internationalprefix: 00
-> presentation: -1 -> screen: -1
-> always_immediate: no -> nodialtone: no
-> immediate: no -> senddtmf: no
-> hold_allowed: no -> early_bconnect: yes
-> incoming_early_audio: no -> echocancel: 128
-> pipeline: -> need_more_infos: no
-> noautorespond_on_setup: no -> nttimeout: no
-> bridging: yes -> jitterbuffer: 4000
-> jitterbuffer_upper_threshold: 0 -> callgroup:
-> pickupgroup: -> max_incoming: -1
-> max_outgoing: -1 -> l1watcher_timeout: 0
-> overlapdial: 2 -> msns: *
-> faxdetect: incoming -> faxdetect_context: from_external_isdn_fax
-> faxdetect_timeout: 5 -> ptp: no
Die Config des Treibers:
Code:
<mISDNconf>
<module poll="128" debug="0" timer="no">hfcmulti</module>
<module debug="0" options="0">mISDN_dsp</module>
<module>mISDN_dsp_mec2</module>
<module>mISDN_dsp_mg2ec</module>
<module>mISDN_dsp_kb1ec</module>
<devnode user="root" group="root" mode="644">mISDN</devnode>
<card type="BN4S0">
<port mode="te" link="ptmp">1</port>
<port mode="te" link="ptmp">2</port>
<port mode="nt" link="ptp">3</port>
<port mode="nt" link="ptp">4</port>
</card>
</mISDNconf>
Was kann das sein und wer kann mir helfen.
Mfg
Boesl