Ausgehende Rufe mit * 1.4 und mISDN 1.2 nicht möglich

Boesl

Neuer User
Mitglied seit
18 Mai 2006
Beiträge
35
Punkte für Reaktionen
0
Punkte
0
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:

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
 
Keine Besserung...

Hallo,

ich habe noch ein wenig getestet und die neuste Version von chan_misdn aus dem Asterisk 1.4 SVN genommen, aber nix..
Ich bekomme keine Verbindung nach außen hin, es kommt immer gleich das Besetztzeichen.

Hat denn hier jemand Asterisk 1.4 mit mISDN 1.2 am laufen? Ich verwende eine BN4S0 Karte.
Mit eine Fritz PCI Card kann ich übrigends weder raus noch rein Telefonieren...


Gruß
Boesl
 
Hallo Boesl,

kannst Du Deine extensions.conf - zumindest die relevanten Teile noch posten?
Dann ist mir aufgefallen, dass die Ports 3 und 4 im PTP-Modus laufen - ist das so gewünscht?

Grüße,

TSP
 
Hi,

klar kann ich machen:

Code:
 21. Set(CALLERID(all)= ${CALLERID(name)} <${MSN}>) 
 22. SetCallerPres(prohib_not_screened)       
 23. Set(CLIP_PARAM=N)                         
 24. NoOp(ISDN-Outdial-Context) 
 25. NoOp(Anrufnummer: ${EXTEN} ${EXTRA_DIAL})                     
 26. Dial(misdn/g:externalisdn/${EXTEN}||${CLIP_PARAM}${EXTRA_DIAL}) 
 27. NoOp(${DIALSTATUS})                      
 28. Hangup()
Ist etwas gekürzt, aber das wichtigste ist da..


und ja, das ist so gewollt mit dem Port 3 und 4. :-)

Ich habe die Config des Port 1 noch etwas überarbeitet. :
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: round_robin              -> dialplan: 0
 -> localdialplan: 0                 -> cpndialplan: 0
 -> nationalprefix: 0                -> internationalprefix: 00
 -> presentation: -1                 -> screen: -1
 -> always_immediate: no             -> nodialtone: no
 -> immediate: no                    -> senddtmf: yes
 -> astdtmf: no                      -> hold_allowed: yes
 -> early_bconnect: yes              -> incoming_early_audio: no
 -> echocancel: 128                  -> pipeline: mg2ec(deftraps=128)
 -> need_more_infos: no              -> noautorespond_on_setup: no
 -> nttimeout: no                    -> bridging: yes
 -> jitterbuffer: 4000               -> jitterbuffer_upper_threshold: 0
 -> callgroup: 0                     -> pickupgroup: 0
 -> 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
 
Kostenlos!

Statistik des Forums

Themen
248,900
Beiträge
2,304,491
Mitglieder
378,598
Neuestes Mitglied
Drageja