.titleBar { margin-bottom: 5px!important; }

chan_capi-cm(>=0.6.1)+*-1.2.1, kein Rufton

Dieses Thema im Forum "Asterisk ISDN mit CAPI (chan_capi, chan_capi_cm)" wurde erstellt von ZicZac, 2 Jan. 2006.

  1. ZicZac

    ZicZac Neuer User

    Registriert seit:
    10 Apr. 2005
    Beiträge:
    76
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Moin,

    nach der Aktualisierung von chan_capi-cm auf Ver. 0.6.2 habe ich am internen ISDN-Bus keinen Rufton mehr. Ein Freizeichen bekomme ich jedoch.

    Hardware siehe Signatur.
    Ladeparameter für die NT-Mode-Karte: -f ETSI -x -n 0 -DynL1Down 0 -RingerTone 1

    Debug-Log:
    Code:
    CONNECT_IND ID=001 #0x01ca LEN=0054
      Controller/PLCI/NCCI            = 0x202
      CIPValue                        = 0x10
      CalledPartyNumber               = <81>01798888888
      CallingPartyNumber              = <01 80>77777777
      CalledPartySubaddress           = default
      CallingPartySubaddress          = default
      BC                              = <80 90 a3>
      LLC                             = default
      HLC                             = <91 81>
      AdditionalInfo
       BChannelinformation            = default
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
        -- CONNECT_IND (PLCI=0x202,DID=01798888888,CID=77777777,CIP=0x10,CONTROLLER=0x2)
           > DIVA_NT: msn='*' DNID='01798888888' DID
      == DIVA_NT: Incoming call '77777777' -> '01798888888'
    INFO_IND ID=001 #0x01cb LEN=0027
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x70
      InfoElement                     = <81>01798888888
    
    INFO_RESP ID=001 #0x01cb LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element CALLED PARTY NUMBER
        -- DIVA_NT: Updated channel name: CAPI/DIVA_NT/01798888888-5
        -- DIVA_NT: CAPI/DIVA_NT/01798888888-5: 01798888888 matches in context outbound
           > CAPI devicestate requested for DIVA_NT/01798888888
      == Started pbx on channel CAPI/DIVA_NT/01798888888-5
    INFO_IND ID=001 #0x01cc LEN=0021
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x28
      InfoElement                     = LINK<3d>3
    
    INFO_RESP ID=001 #0x01cc LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element DSP
    INFO_IND ID=001 #0x01cd LEN=0016
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x18
      InfoElement                     = <81>
    
    INFO_RESP ID=001 #0x01cd LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element CHANNEL IDENTIFICATION 81
    INFO_IND ID=001 #0x01ce LEN=0015
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x8005
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x01ce LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element SETUP
        -- Executing Goto("CAPI/DIVA_NT/01798888888-5", "go_telco|01798888888|1") in new stack
        -- Goto (go_telco,01798888888,1)
        -- Executing GotoIf("CAPI/DIVA_NT/01798888888-5", "0?2:4") in new stack
        -- Goto (go_telco,01798888888,4)
        -- Executing Set("CAPI/DIVA_NT/01798888888-5", "CP=0") in new stack
        -- Executing GotoIf("CAPI/DIVA_NT/01798888888-5", "0?6:105") in new stack
        -- Goto (go_telco,01798888888,105)
        -- Executing Dial("CAPI/DIVA_NT/01798888888-5", "CAPI/DIVA_TE/01798888888/b") in new stack
           > data = DIVA_TE/01798888888/b
           > parsed dialstring: 'DIVA_TE' 'NULL' '01798888888' 'b'
           > capi request for interface 'DIVA_TE'
           > CAPI devicestate requested for DIVA_TE/01798888888
           > parsed dialstring: 'DIVA_TE' 'NULL' '01798888888' 'b'
      == DIVA_TE: Call CAPI/DIVA_TE/01798888888-6 with B3  (pres=0x00, ton=0x01)
    CONNECT_REQ ID=001 #0x000e LEN=0062
      Controller/PLCI/NCCI            = 0x1
      CIPValue                        = 0x1
      CalledPartyNumber               = <80>01798888888
      CallingPartyNumber              = <01 80>77777777
      CalledPartySubaddress           = default
      CallingPartySubaddress          = default
      BProtocol
       B1protocol                     = 0x1
       B2protocol                     = 0x1
       B3protocol                     = 0x0
       B1configuration                = default
       B2configuration                = default
       B3configuration                = default
       GlobalConfiguration            = default
      BC                              = default
      LLC                             = default
      HLC                             = default
      AdditionalInfo
       BChannelinformation            = <00 00>
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
    CONNECT_CONF ID=001 #0x000e LEN=0014
      Controller/PLCI/NCCI            = 0x101
      Info                            = 0x0
    
        -- DIVA_TE: received CONNECT_CONF PLCI = 0x101
           > CAPI devicestate requested for DIVA_TE/01798888888
        -- Called DIVA_TE/01798888888/b
    INFO_IND ID=001 #0x01cf LEN=0016
      Controller/PLCI/NCCI            = 0x101
      InfoNumber                      = 0x18
      InfoElement                     = <89>
    
    INFO_RESP ID=001 #0x01cf LEN=0012
      Controller/PLCI/NCCI            = 0x101
    
        -- DIVA_TE: info element CHANNEL IDENTIFICATION 89
    INFO_IND ID=001 #0x01d0 LEN=0015
      Controller/PLCI/NCCI            = 0x101
      InfoNumber                      = 0x8002
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x01d0 LEN=0012
      Controller/PLCI/NCCI            = 0x101
    
        -- DIVA_TE: info element CALL PROCEEDING
    CONNECT_B3_REQ ID=001 #0x000f LEN=0013
      Controller/PLCI/NCCI            = 0x101
      NCPI                            = default
    
        -- DIVA_TE: sent CONNECT_B3_REQ PLCI=0x101
        -- CAPI/DIVA_TE/01798888888-6 is proceeding passing it to CAPI/DIVA_NT/01798888888-5
    CONNECT_B3_CONF ID=001 #0x000f LEN=0014
      Controller/PLCI/NCCI            = 0x60101
      Info                            = 0x0
    
    CONNECT_B3_ACTIVE_IND ID=001 #0x01d2 LEN=0013
      Controller/PLCI/NCCI            = 0x60101
      NCPI                            = default
    
    CONNECT_B3_ACTIVE_RESP ID=001 #0x01d2 LEN=0012
      Controller/PLCI/NCCI            = 0x60101
    
      == DIVA_TE: Setting up echo canceller (PLCI=0x101, function=1, options=4, tail=64)
    FACILITY_REQ ID=001 #0x0010 LEN=0024
      Controller/PLCI/NCCI            = 0x101
      FacilitySelector                = 0x6
      FacilityRequestParameter        = <01 00 06 04 00 40 00 00 00>
    
      == DIVA_TE: Setting up DTMF detector (PLCI=0x101, flag=1)
    FACILITY_REQ ID=001 #0x0011 LEN=0023
      Controller/PLCI/NCCI            = 0x101
      FacilitySelector                = 0x1
      FacilityRequestParameter        = <01 00 40 00 40 00 00 00>
    
      == DIVA_NT: Requested PROCEEDING-Indication for CAPI/DIVA_NT/01798888888-5
    SELECT_B_PROTOCOL_REQ ID=001 #0x0012 LEN=0023
      Controller/PLCI/NCCI            = 0x202
      BProtocol
       B1protocol                     = 0x1
       B2protocol                     = 0x1
       B3protocol                     = 0x0
       B1configuration                = default
       B2configuration                = default
       B3configuration                = default
       GlobalConfiguration            = default
    
    SELECT_B_PROTOCOL_CONF ID=001 #0x0012 LEN=0014
      Controller/PLCI/NCCI            = 0x202
      Info                            = 0x0
    
    FACILITY_CONF ID=001 #0x0010 LEN=0022
      Controller/PLCI/NCCI            = 0x101
      Info                            = 0x0
      FacilitySelector                = 0x6
      FacilityConfirmationParameter   = <01 00 02 00 00>
    
        -- DIVA_TE: Echo canceller successfully set up (PLCI=0x101)
    FACILITY_CONF ID=001 #0x0011 LEN=0019
      Controller/PLCI/NCCI            = 0x101
      Info                            = 0x0
      FacilitySelector                = 0x1
      FacilityConfirmationParameter   = <00 00>
    
           > DIVA_TE: DTMF conf(PLCI=0x101)
    INFO_IND ID=001 #0x02e9 LEN=0015
      Controller/PLCI/NCCI            = 0x101
      InfoNumber                      = 0x8001
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x02e9 LEN=0012
      Controller/PLCI/NCCI            = 0x101
    
        -- DIVA_TE: info element ALERTING
        -- CAPI/DIVA_TE/01798888888-6 is ringing
      == DIVA_NT: Requested RINGING-Indication for CAPI/DIVA_NT/01798888888-5
    SELECT_B_PROTOCOL_REQ ID=001 #0x0013 LEN=0023
      Controller/PLCI/NCCI            = 0x202
      BProtocol
       B1protocol                     = 0x1
       B2protocol                     = 0x1
       B3protocol                     = 0x0
       B1configuration                = default
       B2configuration                = default
       B3configuration                = default
       GlobalConfiguration            = default
    
    ALERT_REQ ID=001 #0x0014 LEN=0018
      Controller/PLCI/NCCI            = 0x202
      AdditionalInfo
       BChannelinformation            = default
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
    SELECT_B_PROTOCOL_CONF ID=001 #0x0013 LEN=0014
      Controller/PLCI/NCCI            = 0x202
      Info                            = 0x0
    
    ALERT_CONF ID=001 #0x0014 LEN=0014
      Controller/PLCI/NCCI            = 0x202
      Info                            = 0x2001
    
    Jan  2 00:28:35 WARNING[14875]: chan_capi.c:3440 show_capi_conf_error: DIVA_NT: conf_error 0x2001 PLCI=0x202 Command=ALERT_CONF,0x8491
           > CAPI INFO 0x2001: Message not supported in current state
    INFO_IND ID=001 #0x03fa LEN=0017
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x8
      InfoElement                     = <80 90>
    
    INFO_RESP ID=001 #0x03fa LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element CAUSE 80 90
    INFO_IND ID=001 #0x03fb LEN=0015
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x8045
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x03fb LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element DISCONNECT
        -- DIVA_NT: Disconnect case 3
      == DIVA_TE: CAPI Hangingup
    
    
     
  2. armincm

    armincm Aktives Mitglied

    Registriert seit:
    3 Aug. 2005
    Beiträge:
    1,006
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Das neue chan_capi 0.6.2 kann nun auch progress tones bei einer Karte im NT-mode, der Parameter -RingerTone 1 waere nicht notwendig.
    Allerdings scheint deine NT Karte das 'progress' nicht zu akzeptieren.
    Welchen Treiber und welche Firmware benutzt du fuer die DIVA ?
    Eventuelle musst du das Updaten.

    Armin
     
  3. ZicZac

    ZicZac Neuer User

    Registriert seit:
    10 Apr. 2005
    Beiträge:
    76
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo Armin,

    wenn ich "RingerTone" nicht setzte, dann gibt's weder Rufton noch Freizeichen. Die Fehlermeldung im Debug-Log ist identisch zum vorigen Posting. Momentan verwende ich die Treiber aus dem Kernel 2.6.11.12 mit einem I4L-Patch (hab ich mir von Dir abgeguckt, brauch ich zum Faxen). Ich werde heute mal die aktuellen Eicon-Treiber versuchen.

    ciao
    Sven

    Diva_NT Log:
    Code:
    Diva Server BRI-2M 2.0 PCI 21103
    Mo Jan  2 11:02:31 CET 2006
        0:0000:000 - Diva Server BRI-2M 2.0 (2620)
        0:0000:000 - Protocol: 'TE_DMLT, Build 104-859, Protocol 6.03(V14) 104-8 [F#00FF]'
        0:0000:000 - DSP task 6: DIVA Server BRI 2M Kernel Version 1.00 Build 104-556
        0:0000:000 - DSP task 100: HSCX Task Version 1.00 Build 104-556
        0:0000:000 - DSP task 104: HSCXBR Task Version 1.00 Build 104-556
        0:0000:000 - DSP task 110: PIAFSD Task Version 1.00 Build 104-556
        0:0000:000 - DSP task 200: V.110 Kernel Task Version 1.00 Build 104-556
        0:0000:000 - DSP task 201: V.110 Overlay (600) Version 1.00 Build 104-556
        0:0000:000 - DSP task 202: V.110 Overlay (1200) Version 1.00 Build 104-556
        0:0000:000 - DSP task 203: V.110 Overlay (1200/75) Version 1.00 Build 104-556
        0:0000:000 - DSP task 204: V.110 Overlay (75/1200) Version 1.00 Build 104-556
        0:0000:000 - DSP task 205: V.110 Overlay (2400) Version 1.00 Build 104-556
        0:0000:000 - DSP task 206: V.110 Overlay (4800,9600,19200,38400) Version 1.00 Build 104-556
        0:0000:000 - DSP task 207: V.110 Overlay (7200,14400,28800) Version 1.00 Build 104-556
        0:0000:000 - DSP task 208: V.110 Overlay (12000,24000) Version 1.00 Build 104-556
        0:0000:000 - DSP task 209: V.110 Overlay (48000) Version 1.00 Build 104-556
        0:0000:000 - DSP task 210: V.110 Overlay (56000) Version 1.00 Build 104-556
        0:0000:000 - DSP task 504: VOICEBR Task Version 1.00 Build 104-556
        0:0000:000 - DSP task 510: DTMF Task Version 1.00 Build 104-556
        0:0000:000 - DSP task 512: DTMFBR Task Version 1.00 Build 104-556
        0:0000:001 - DSP task 520: SIG Task Version 1.00 Build 104-556
        0:0000:001 - DSP task 532: TONEBR Task Version 1.00 Build 104-556
        0:0000:001 - DSP task 542: MEASBR Task Version 1.00 Build 104-556
        0:0000:001 - DSP task 552: LECBR Task Version 1.00 Build 104-556
        0:0000:001 - DSP task 590: Conferencing Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 600: TIKRNL81.F34 Task Version 1.00 Build 104-556
        0:0000:001 - DSP task 624: SIG Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 604: FSK OWN Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 607: V8.F34 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 608: INFO Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 609: V.34 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 622: INFOH.F34 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 623: HV34.F34 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 610: DIAL/FSK/FAX.F34 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 611: DIAL.F34 Partial Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 612: FSKFAX.F34 Partial Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 613: FAX.F34 Partial Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 614: V.22/V.32 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 615: V.32 Partial Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 618: V.90 DPCM Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 619: V.90 APCM Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 625: V.22FC Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 629: V.22bis FC Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 627: V.29FC Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 620: V.18 OWN-LK Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 621: V.OWN Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 702: VKRNLBR Task Version 1.00 Build 104-556
        0:0000:001 - DSP task 703: G.711 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 704: RTP G.711/G.726 Overlay Version 1.00 Build 104-556
        0:0000:001 - DSP task 706: RTP GSM Overlay Version 1.00 Build 104-556
        0:0000:001 - Conf: DLI21st=1,MWIREG=1
        0:0000:001 - Conf: S2=1,Tei=0,NT2=1,Perm=0,WDog=0,LowCh=0,L1Hunt=0x0
        0:0000:002 - Conf: Loop=0,DidLen=0,Law=0,nosig=0,AlertTO=0xffff,PDisc=0
        0:0000:002 - Conf: Prot=1,PVer=0,NT=1,Lim=1,RTone=1,L2_Links=8
        0:0000:002 - Conf: XConn=0/0
        0:0000:002 - SN:21103-0
        0:0000:002 - shared_ram_alloc OK (3552/35528)
        0:0000:004 - shared_ram_alloc OK (1424/31976)
        0:0000:004 - init_bulk_buffers 2 65536 0 0
        0:0000:008 - [0] Starting kernel...
        0:0000:010 - [0] DSP OK
        0:0000:010 - [1] Starting kernel...
        0:0000:012 - [1] DSP OK
        0:0000:013 - Initialize IPACX in NT mode
        0:0000:013 - Hardware Initialisation done.
        0:0000:013 - Initialize Softmodem!!
        0:0000:013 - sysCreateDpc: handler=0x80097bcc, context=0x801a0ae8
        0:0000:013 - sdp_dpc_init: check dpc 0 0x801a0a68
        0:0000:013 - sdp_dpc_init: assign dpc 0 0x801a0a68
        0:0000:013 - sysCreateDpc: handler=0x80097bcc, context=0x801a3d48
        0:0000:013 - sdp_dpc_init: check dpc 0 0x801a0a68
        0:0000:013 - sdp_dpc_init: check dpc 1 0x801a0a74
        0:0000:013 - sdp_dpc_init: assign dpc 1 0x801a0a74
        0:0000:013 - ddal_load_time_init: link instance 0 to ddal
        0:0000:013 - task 0: sdp module not present! (own_gp=0x0, sdp_gp=0x0)
        0:0000:013 - ddal_load_time_init: link instance 1 to ddal
        0:0000:013 - task 1: sdp module not present! (own_gp=0x0, sdp_gp=0x0)
        0:0000:013 - ddal_load_time_init: sdp module 0 not present!
        0:0000:013 - ddal_load_time_init: sdp module 1 not present!
        0:0000:013 - Initialized 0 instances:
        0:0000:018 - PSI: init
        0:0000:018 - PSI:set etsi interface
        0:0000:018 - CREATEID ok: context:0 assigned Id:1 freeIds=f0
        0:0000:018 - manufacturer features: 0xaf303f94
        0:0000:018 - D2Assign  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:019 - D2Assign 0 d_id=01
        0:0000:019 - MDL: init
        0:0000:019 - MDL: init 0x801515d4 to entry 0
        0:0000:019 - D2Assign  01 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:019 - D2Assign 1 d_id=01
        0:0000:019 - MDL: init 0x801518ac to entry 1
        0:0000:019 - D2Assign  01 01 -- -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:019 - D2Assign 2 d_id=01
        0:0000:019 - MDL: init 0x80151b84 to entry 2
        0:0000:019 - D2Assign  01 01 01 -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:019 - D2Assign 3 d_id=01
        0:0000:019 - MDL: init 0x80151e5c to entry 3
        0:0000:019 - D2Assign  01 01 01 01 -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:019 - D2Assign 4 d_id=01
        0:0000:019 - MDL: init 0x80152134 to entry 4
        0:0000:019 - D2Assign  01 01 01 01 01 -- -- -- -- -- -- -- -- -- -- --
        0:0000:019 - D2Assign 5 d_id=01
        0:0000:019 - MDL: init 0x8015240c to entry 5
        0:0000:019 - D2Assign  01 01 01 01 01 01 -- -- -- -- -- -- -- -- -- --
        0:0000:019 - D2Assign 6 d_id=01
        0:0000:019 - MDL: init 0x801526e4 to entry 6
        0:0000:020 - D2Assign  01 01 01 01 01 01 01 -- -- -- -- -- -- -- -- --
        0:0000:020 - D2Assign 7 d_id=01
        0:0000:020 - MDL: init 0x801529bc to entry 7
        0:0000:020 - PCI DMA test not possible
        0:0000:020 - L1_UP
        0:0000:122 - CREATEID ok: context:ff assigned Id:2 freeIds=ef
    
     
  4. armincm

    armincm Aktives Mitglied

    Registriert seit:
    3 Aug. 2005
    Beiträge:
    1,006
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Die Firmware ist schon etwas älter. Aber ab welcher Version der NT-mode progress korrekt akiviert ist, kann ich nicht sagen.
    Solange der NT-mode progress nicht benutzt werden kann, sind auch keine Töne ohne RingerTone 1 möglich.
    Aber wenn es dann aktiv ist, kannst Du jeden Ton (auch z.B. MoH als Wählton) an das Telefon senden.

    Armin
     
  5. ZicZac

    ZicZac Neuer User

    Registriert seit:
    10 Apr. 2005
    Beiträge:
    76
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo Armin,

    danke für Deine Mühe. Aber irgendwie stehe ich immer noch im Wald. Habe gerade einmal das ganze Prozedere mit den aktuellen Eicon-Treibern und der entsprechenden Firmware durchgespielt. Leider No Success. Das Verhalten ist fast genau so, wie mit den Kernel-Treibern:

    - Mit "RingerTone 1" -> Freizeichen ja, Rufton nein
    - Ohne "RingerTone" -> Freizeichen nein, Rufton nein

    Einziger Unterschied: Ich bekomme die Fehlermeldung "chan_capi.c:3440 show_capi_conf_error:..." nicht mehr.

    Gibt's eigentlich irgendwo aktuellere Firmware-Images für die Verwendung mit den Kernel-Treibern, als die von mir verwendeten? Die Firmware aus den Eicon-Treibern hat ein inkompatibles Format (oder ich stelle mich zu blöde an diese zu laden).

    Für die nächste Zeit werde ich wohl bei chan_capi-cm 0.6 bleiben müssen. Auch wenn das Line-Bridging damit nicht funktioniert.

    ciao
    Sven

    Anbei nochmal Diva-Log mit Eicon-Treibern:
    Code:
    INITIAL XLOG: CARD:2, Diva Server BRI-2M 2.0 PCI SN:21103, STARTED AT: Mo Jan  2 14:11:07 CET 2006
    
        0:0022:546 - Instance(0)=0x80265000 image_start=0x80000000, shared_memory=0xa0001000 card=60
        0:0000:000 - Diva Server BRI-2M 2.0 (2620)
        0:0000:000 - Protocol: 'TE_DMLT, Build 105-31, Protocol 6.03(V15) 105-1 [F#00FF]'
        0:0000:000 - DSP task 6: DIVA Server BRI 2M Kernel Version 1.00 Build 105-599
        0:0000:000 - DSP task 100: HSCX Task Version 1.00 Build 105-599
        0:0000:000 - DSP task 104: HSCXBR Task Version 1.00 Build 105-599
        0:0000:000 - DSP task 110: PIAFSD Task Version 1.00 Build 105-599
        0:0000:000 - DSP task 200: V.110 Kernel Task Version 1.00 Build 105-599
        0:0000:000 - DSP task 201: V.110 Overlay (600) Version 1.00 Build 105-599
        0:0000:000 - DSP task 202: V.110 Overlay (1200) Version 1.00 Build 105-599
        0:0000:000 - DSP task 203: V.110 Overlay (1200/75) Version 1.00 Build 105-599
        0:0000:000 - DSP task 204: V.110 Overlay (75/1200) Version 1.00 Build 105-599
        0:0000:000 - DSP task 205: V.110 Overlay (2400) Version 1.00 Build 105-599
        0:0000:000 - DSP task 206: V.110 Overlay (4800,9600,19200,38400) Version 1.00 Build 105-599
        0:0000:000 - DSP task 207: V.110 Overlay (7200,14400,28800) Version 1.00 Build 105-599
        0:0000:000 - DSP task 208: V.110 Overlay (12000,24000) Version 1.00 Build 105-599
        0:0000:000 - DSP task 209: V.110 Overlay (48000) Version 1.00 Build 105-599
        0:0000:000 - DSP task 210: V.110 Overlay (56000) Version 1.00 Build 105-599
        0:0000:000 - DSP task 504: VOICEBR Task Version 1.00 Build 105-599
        0:0000:000 - DSP task 510: DTMF Task Version 1.00 Build 105-599
        0:0000:000 - DSP task 512: DTMFBR Task Version 1.00 Build 105-599
        0:0000:000 - DSP task 520: SIG Task Version 1.00 Build 105-599
        0:0000:001 - DSP task 532: TONEBR Task Version 1.00 Build 105-599
        0:0000:001 - DSP task 542: MEASBR Task Version 1.00 Build 105-599
        0:0000:001 - DSP task 552: LECBR Task Version 1.00 Build 105-599
        0:0000:001 - DSP task 590: Conferencing Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 600: TIKRNL81.F34 Task Version 1.00 Build 105-599
        0:0000:001 - DSP task 624: SIG Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 604: FSK OWN Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 607: V8.F34 Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 608: INFO Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 609: V.34 Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 622: INFOH.F34 Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 623: HV34.F34 Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 610: DIAL/FSK/FAX.F34 Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 611: DIAL.F34 Partial Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 612: FSKFAX.F34 Partial Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 613: FAX.F34 Partial Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 614: V.22/V.32 LEC Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 615: V.32 Partial Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 618: V.90 DPCM Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 619: V.90 APCM Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 625: V.22FC Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 629: V.22bis FC Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 627: V.29FC Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 620: V.18 OWN-LK Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 621: V.OWN Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 702: VKRNLBR Task Version 1.00 Build 105-599
        0:0000:001 - DSP task 703: G.711 Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 704: RTP G.711/G.726 Overlay Version 1.00 Build 105-599
        0:0000:001 - DSP task 706: RTP GSM Overlay Version 1.00 Build 105-599
        0:0000:001 - Conf: DLI21st=1,MWIREG=1,ECTA=1,ECTF=1
        0:0000:002 - Conf: S2=1,Tei=0,NT2=1,Perm=0,WDog=0,LowCh=0,L1Hunt=0x0
        0:0000:002 - Conf: Loop=0,DidLen=0,Law=0,nosig=0,AlertTO=0xffff,PDisc=0
        0:0000:002 - Conf: Prot=1,PVer=0,NT=1,Lim=0,RTone=1,L2_Links=8
        0:0000:002 - Conf: XConn=0/2
        0:0000:002 - SN:21103-0
        0:0000:002 - shared_ram_alloc OK (3552/30524)
        0:0000:006 - init_bulk_buffers 2 65536 0 0
        0:0000:022 - [0] Starting kernel...
        0:0000:024 - [0] DSP OK
        0:0000:024 - [1] Starting kernel...
        0:0000:025 - [1] DSP OK
        0:0000:026 - Initialize IPACX in NT mode
        0:0000:026 - Hardware Initialisation done.
        0:0000:026 - Initialize Softmodem!!
        0:0000:026 - sysCreateDpc: handler=0x800e12e0, context=0x8028c98c
        0:0000:026 - sdp_dpc_init: check dpc 0 0x8026847c
        0:0000:026 - sdp_dpc_init: assign dpc 0 0x8026847c
        0:0000:026 - sysCreateDpc: handler=0x800e12e0, context=0x8028fc78
        0:0000:026 - sdp_dpc_init: check dpc 0 0x8026847c
        0:0000:026 - sdp_dpc_init: check dpc 1 0x80268488
        0:0000:026 - sdp_dpc_init: assign dpc 1 0x80268488
        0:0000:026 - ddal_load_time_init: link instance 0 to ddal
        0:0000:026 - task 0: sdp module not present! (own_gp=0x0, sdp_gp=0x0)
        0:0000:026 - ddal_load_time_init: link instance 1 to ddal
        0:0000:026 - task 1: sdp module not present! (own_gp=0x0, sdp_gp=0x0)
        0:0000:026 - ddal_load_time_init: sdp module 0 not present!
        0:0000:026 - ddal_load_time_init: sdp module 1 not present!
        0:0000:026 - Initialized 0 instances:
        0:0000:028 - PSI: init
        0:0000:028 - PSI:set etsi interface
        0:0000:028 - CREATEID ok: context:0 assigned Id:1 freeIds=f0
        0:0000:029 - manufacturer features: 0xaf303f94
        0:0000:029 - D2Assign  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:029 - D2Assign 0 d_id=01
        0:0000:029 - MDL: init
        0:0000:029 - MDL: init 0x8027a330 to entry 0
        0:0000:029 - D2Assign  01 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:029 - D2Assign 1 d_id=01
        0:0000:029 - MDL: init 0x8027a60c to entry 1
        0:0000:029 - D2Assign  01 01 -- -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:029 - D2Assign 2 d_id=01
        0:0000:029 - MDL: init 0x8027a8e8 to entry 2
        0:0000:029 - D2Assign  01 01 01 -- -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:029 - D2Assign 3 d_id=01
        0:0000:029 - MDL: init 0x8027abc4 to entry 3
        0:0000:029 - D2Assign  01 01 01 01 -- -- -- -- -- -- -- -- -- -- -- --
        0:0000:029 - D2Assign 4 d_id=01
        0:0000:029 - MDL: init 0x8027aea0 to entry 4
        0:0000:029 - D2Assign  01 01 01 01 01 -- -- -- -- -- -- -- -- -- -- --
        0:0000:029 - D2Assign 5 d_id=01
        0:0000:030 - MDL: init 0x8027b17c to entry 5
        0:0000:030 - D2Assign  01 01 01 01 01 01 -- -- -- -- -- -- -- -- -- --
        0:0000:030 - D2Assign 6 d_id=01
        0:0000:030 - MDL: init 0x8027b458 to entry 6
        0:0000:030 - D2Assign  01 01 01 01 01 01 01 -- -- -- -- -- -- -- -- --
        0:0000:030 - D2Assign 7 d_id=01
        0:0000:030 - MDL: init 0x8027b734 to entry 7
        0:0000:030 - PCI DMA test: write 32 bytes system(0xa02672bc) -> pci(0xa349000)
        0:0000:031 - PCI DMA test: read 32 bytes pci(0xa349000) -> system(0xa02672dc)
        0:0000:031 - PCI DMA test OK
        0:0000:240 - L1_UP
    
     
  6. armincm

    armincm Aktives Mitglied

    Registriert seit:
    3 Aug. 2005
    Beiträge:
    1,006
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Der neue Eicon Treiber verwendet eine neue Struktur der Firmware. Der 'alte' Treiber benutzt noch den V14 code und der neue V16 (V15). Dies ist in der dritten Zeile des XLOG zu sehen. Es hat also nichts mit Bloedheit zu tun.

    Hast Du denn auch progress von der anderen Seite (z.B. /b bei CAPI oder auch 'r' als Dial-Option)?

    Armin
     
  7. ZicZac

    ZicZac Neuer User

    Registriert seit:
    10 Apr. 2005
    Beiträge:
    76
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    ...das beruhigt. Aber demnach ist der Kernel-Treiber altes Eisen und ein neuer nicht in Sicht. Wenn es ginge, würde ich nämlich auf den Eicon-Treiber liebend gerne verzichten. Der pfuscht mir zu sehr in den Kernel-Sourcen umher, hält sich z.B. bei der Ablage der Module an keine Regel und verlangt auch noch die Herrschaft über den CAPI-Treiber. Ich versuche mal die Eicon-Quellen mit meinen Bedürfnissen in Einklang zu bringen. Sollte mir das nicht gelingen, bin ich eher geneigt auf die Eicon-Hardware zu verzichten und es z.B. mit dem HFC-Chipset zu versuchen. Unterstützt die CAPI-Schnittstelle des mISDN eigentlich den NT-Mode?

    ...ja (/B bei Capi, tr bei SIP). Wie zuvor geschrieben: Mit chan_capi-cm < 0.6.1 funktioniert's.

    cu
    ZicZac
     
  8. armincm

    armincm Aktives Mitglied

    Registriert seit:
    3 Aug. 2005
    Beiträge:
    1,006
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Der neue Treiber von Eicon beinhaltet eine ganze Menge neuer Funktionen. Ich werde bei Gelegheit mal diesen Treiber als separates Paket erstellen, welches nicht in den kernel-quellen rumpfuscht (und auch cross-compilierbar ist). Aber dieser Treiber wird wohl nicht so schnell ins kernel wandern... muss ja auch nicht. Ich bin bei solchen Dinge auch immer fuer externe Pakete, die man einfach austauschen/updaten kann.

    Nein, nach letzter Aussage der Entwickler von mISDN ist dies noch nicht möglich.

    Hmm, schick mir doch nochmal ein debug log und den relevanten Teil der extensions.conf/capi.conf.

    Ich habe das hier mit 2 4BRI Karten (einer im NT-mode mit einer Anlage verbunden) am Laufen.

    Armin
     
  9. ZicZac

    ZicZac Neuer User

    Registriert seit:
    10 Apr. 2005
    Beiträge:
    76
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    #9 ZicZac, 3 Jan. 2006
    Zuletzt bearbeitet: 3 Jan. 2006
    Hallo Armin,

    Debug-Log ist identisch zum vorigen Posting.

    Code:
    ;
    ; CAPI config
    ;
    
    [general]
    language=us
    nationalprefix=0
    internationalprefix=00
    rxgain=0.8
    txgain=0.8
    
    [DIVA_TE]
    isdnmode=msn
    incomingmsn=*
    controller=1
    group=1
    callgroup=1
    ;prefix=0
    softdtmf=off
    relaxdtmf=off
    accountcode=
    context=inbound
    hold=local
    echosquelch=0
    echocancel=yes
    echocancelold=yes
    ;echotail=64
    bridge=yes
    devices=2
    
    
    [DIVA_NT]
    ntmode=yes
    isdnmode=did
    incomingmsn=*
    controller=2
    group=2
    callgroup=2
    ;prefix=0
    softdtmf=off
    relaxdtmf=off
    accountcode=
    context=outbound
    hold=local
    immediate=no
    echosquelch=0
    echocancel=yes
    echocancelold=yes
    ;echotail=64
    bridge=yes
    devices=2
    
    Code:
    ;
    ; Static extension configuration file, used by
    ; the pbx_config module. This is where you configure all your 
    ; inbound and outbound calls in Asterisk. 
    ; 
    ; This configuration file is reloaded 
    ; - With the "extensions reload" command in the CLI
    ; - With the "reload" command (that reloads everything) in the CLI
    ;
    ; The "General" category is for certain variables.  
    ;
    [general]
    ;
    ; If static is set to no, or omitted, then the pbx_config will rewrite
    ; this file when extensions are modified.  Remember that all comments
    ; made in the file will be lost when that happens. 
    ;
    ; XXX Not yet implemented XXX
    ;
    static=yes
    ;
    ; if static=yes and writeprotect=no, you can save dialplan by
    ; CLI command 'save dialplan' too
    ;
    writeprotect=no
    ;
    ; If autofallthrough is set, then if an extension runs out of
    ; things to do, it will terminate the call with BUSY, CONGESTION
    ; or HANGUP depending on Asterisk's best guess (strongly recommended).
    ;
    ; If autofallthrough is not set, then if an extension runs out of 
    ; things to do, asterisk will wait for a new extension to be dialed 
    ; (this is the original behavior of Asterisk 1.0 and earlier).
    ;
    autofallthrough=yes
    ;
    ; If clearglobalvars is set, global variables will be cleared 
    ; and reparsed on an extensions reload, or Asterisk reload.
    ;
    ; If clearglobalvars is not set, then global variables will persist
    ; through reloads, and even if deleted from the extensions.conf or
    ; one if its included files, will remain set to the previous value.
    ;
    clearglobalvars=no
    ;
    ; If priorityjumping is set to 'yes', then applications that support
    ; 'jumping' to a different priority based on the result of their operations
    ; will do so (this is backwards compatible behavior with pre-1.2 releases
    ; of Asterisk). Individual applications can also be requested to do this
    ; by passing a 'j' option in their arguments.
    ;
    priorityjumping=no
    ;
    ; You can include other config files, use the #include command
    ; (without the ';'). Note that this is different from the "include" command
    ; that includes contexts within other contexts. The #include command works
    ; in all asterisk configuration files.
    ;#include "filename.conf"
    
    ; The "Globals" category contains global variables that can be referenced
    ; in the dialplan with ${VARIABLE} or ${ENV(VARIABLE)} for Environmental
    ; variables,
    ; ${${VARIABLE}} or ${text${VARIABLE}} or any hybrid
    ;
    [globals]
    MSN1=7870XXXX
    MSN2=7870XXXX
    MSN3=7870XXXX
    MSN4=7870XXXX
    MSN5=7870XXXX
    MSN6=7870XXXX
    ORT=030
    LAND=049
    ;
    ; Any category other than "General" and "Globals" represent 
    ; extension contexts, which are collections of extensions.  
    ;
    ; Extension names may be numbers, letters, or combinations
    ; thereof. If an extension name is prefixed by a '_'
    ; character, it is interpreted as a pattern rather than a
    ; literal.  In patterns, some characters have special meanings:
    ;
    ;   X - any digit from 0-9
    ;   Z - any digit from 1-9
    ;   N - any digit from 2-9
    ;   [1235-9] - any digit in the brackets (in this example, 1,2,3,5,6,7,8,9)
    ;   . - wildcard, matches anything remaining (e.g. _9011. matches 
    ;	anything starting with 9011 excluding 9011 itself)
    ;   ! - wildcard, causes the matching process to complete as soon as
    ;       it can unambiguously determine that no other matches are possible
    ;
    ; For example the extension _NXXXXXX would match normal 7 digit dialings, 
    ; while _1NXXNXXXXXX would represent an area code plus phone number
    ; preceeded by a one.
    ;
    ; Each step of an extension is ordered by priority, which must
    ; always start with 1 to be considered a valid extension.  The priority
    ; "next" or "n" means the previous priority plus one, regardless of whether
    ; the previous priority was associated with the current extension or not.
    ; The priority "same" or "s" means the same as the previously specified
    ; priority, again regardless of whether the previous entry was for the
    ; same extension.  Priorities may be immediately followed by a plus sign
    ; and another integer to add that amount (most useful with 's' or 'n').  
    ; Priorities may then also have an alias, or label, in 
    ; parenthesis after their name which can be used in goto situations
    ;
    ; Contexts contain several lines, one for each step of each
    ; extension, which can take one of two forms as listed below,
    ; with the first form being preferred.  One may include another
    ; context in the current one as well, optionally with a
    ; date and time.  Included contexts are included in the order
    ; they are listed.
    ;
    ;[context]
    ;exten => someexten,priority[+offset][(alias)],application(arg1,arg2,...)
    ;exten => someexten,priority[+offset][(alias)],application,arg1|arg2...
    ;
    ; Timing list for includes is 
    ;
    ;   <time range>|<days of week>|<days of month>|<months>
    ;
    ;include => daytime|9:00-17:00|mon-fri|*|*
    ;
    ; ignorepat can be used to instruct drivers to not cancel dialtone upon
    ; receipt of a particular pattern.  The most commonly used example is
    ; of course '9' like this:
    ;
    ;ignorepat => 9
    ;
    ; so that dialtone remains even after dialing a 9.
    ;
    ;###################################################################
    ;# Standardeinstellungen                                           #
    ;###################################################################
    [default]
    exten => t,1,Hangup
    exten => i,1,Playback(invalid)
    exten => i,2,Hangup
    
    ;###################################################################
    ;# Ziele-Intern                                                    #
    ;###################################################################
    [aliases]
    ; Kurzwahl für interne Ziele
    exten => *11,1,Goto(go_trunk_isdn|${MSN1}|1)
    exten => *12,1,Goto(go_trunk_isdn|${MSN6}|1)
    exten => *13,1,Goto(go_trunk_isdn|${MSN3}|1)
    exten => *14,1,Goto(go_trunk_isdn|${MSN4}|1)
    exten => *15,1,Goto(go_trunk_isdn|${MSN5}|1)
    
    [mailbox]
    ; Mailboxanwahl standard
    exten => *500,1,Set(CALLERID(number)=${CALLERIDNUM})
    exten => *500,2,MailboxExists(${CALLERIDNUM}@default)
    exten => *500,3,Playback(silence/1)
    exten => *500,4,Playback(invalid)
    exten => *500,5,Congestion
    exten => *500,6,Hangup
    exten => *500,103,HasNewVoicemail(${CALLERIDNUM}@default:INBOX|NMSG)
    exten => *500,104,Playback(silence/1)
    exten => *500,105,Playback(vm-youhave)
    exten => *500,106,Playback(vm-no)
    exten => *500,107,Playback(vm-INBOX)
    exten => *500,108,Playback(vm-messages)
    exten => *500,109,Playback(vm-goodbye)
    exten => *500,110,Congestion
    exten => *500,111,Hangup
    exten => *500,204,Playback(silence/1)
    exten => *500,205,Playback(voice-mail-system)
    exten => *500,206,VoicemailMain(s${CALLERIDNUM}@default)
    exten => *500,207,Congestion
    exten => *500,208,Hangup
    
    ; Mailboxanwahl MSN1
    exten => *501,1,Set(CALLERID(number)=${MSN1})
    exten => *501,2,Goto(mailbox|*500|2)
    
    ; Mailboxanwahl MSN3
    exten => *502,1,Set(CALLERID(number)=${MSN3})
    exten => *502,2,Goto(mailbox|*500|2)
    
    ; Mailboxanwahl MSN6
    exten => *503,1,Set(CALLERID(number)=${MSN6})
    exten => *503,2,Goto(mailbox|*500|2)
    
    [services]
    ; echotest
    exten => *600,1,Playback(demo-echotest)	; Let them know what's going on
    exten => *600,2,Echo			; Do the echo test
    exten => *600,3,Playback(demo-echodone)	; Let them know it's over
    exten => *600,4,Congestion
    exten => *600,5,Hangup
    
    ; Rufnummernunterdrückung
    exten => _*31[0-3],1,GotoIf($["${CALLERIDNUM}" = "CID withheld"]?2:3)
    exten => _*31[0-3],2,Set(CALLERID(number)=${CALLERIDNUM})
    exten => _*31[0-3],3,GotoIf($["${EXTEN}" = "*310"]?4:7)
    exten => _*31[0-3],4,Set(DB(nocid/${CALLERIDNUM})=0)        ; CID ein
    exten => _*31[0-3],5,SendText(Anonym aus)
    exten => _*31[0-3],6,Goto(19)
    exten => _*31[0-3],7,GotoIf($["${EXTEN}" = "*311"]?8:11)
    exten => _*31[0-3],8,Set(DB(nocid/${CALLERIDNUM})=1)        ; CID aus
    exten => _*31[0-3],9,SendText(Anonym ein)
    exten => _*31[0-3],10,Goto(19)
    exten => _*31[0-3],11,GotoIf($["${EXTEN}" = "*312"]?12:15)
    exten => _*31[0-3],12,Set(DB(nocid/${CALLERIDNUM})=2)       ; CID temp. aus
    exten => _*31[0-3],13,SendText(Anonym einmalig)
    exten => _*31[0-3],14,Goto(19)
    exten => _*31[0-3],15,GotoIf($["${EXTEN}" = "*313"]?16:20)
    exten => _*31[0-3],16,Set(CP=${DB(nocid/${CALLERIDNUM})})   ; Status
    exten => _*31[0-3],17,GotoIf($["${CP}" = "0"]?5:18)
    exten => _*31[0-3],18,GotoIf($["${CP}" = "1"]?9:19)
    exten => _*31[0-3],19,Wait(2)
    exten => _*31[0-3],20,Hangup
    
    [trunk_isdn]
    ; ISDN intern
    exten => ${MSN1},1,Goto(go_trunk_isdn|${EXTEN}|1)
    exten => ${MSN3},1,Goto(go_trunk_isdn|${EXTEN}|1)
    exten => ${MSN4},1,Goto(go_trunk_isdn|${EXTEN}|1)
    exten => ${MSN5},1,Goto(go_trunk_isdn|${EXTEN}|1)
    exten => ${MSN6},1,Goto(go_trunk_isdn|${EXTEN}|1)
    
    [internal]
    include => local
    include => parkedcalls
    include => mailbox
    include => services
    include => aliases
    include => trunk_isdn
    
    ;###################################################################
    ;# Ziele-Extern                                                    #
    ;###################################################################
    [emergency]
    exten => _11[02],1,Goto(go_telco|${EXTEN}|1)
    
    [city]
    exten => _[2-689]XX.,1,Goto(go_sip|${ORT}${EXTEN}|1)
    ...
    
    [national]
    exten => _0[2456]XX.,1,Goto(go_sip|${EXTEN}|1)	;Ortsnetze ohne 08x
    exten => _03[03-9]XX.,1,Goto(go_sip|${EXTEN}|1)	;Berlin und der Rest mit 03x, ohne 031 (Testnummern) und 032 (VoIP)
    exten => _07[1-9]XX.,1,Goto(go_sip|${EXTEN}|1)	;Stuttgart ohne 070x
    exten => _070[2-9]XX.,1,Goto(go_sip|${EXTEN}|1)	;070 ohne persönliche Rufnummern
    exten => _08[1-9]XX.,1,Goto(go_sip|${EXTEN}|1)	;Ortsnetze 08x, ohne 080x
    exten => _080[2-9]XX.,1,Goto(go_sip|${EXTEN}|1)	;Ortsnetze 080x, ohne 0800, 0801
    exten => _09[1-9]XX.,1,Goto(go_sip|${EXTEN}|1)	;Nürnberg
    exten => _090[6-8]XX.,1,Goto(go_sip|${EXTEN}|1)	;und der nicht-Service-Rest von 090x
    
    [mobil]
    exten => _01[5-7]XX.,1,Goto(go_sip|${EXTEN}|1)	;alle Mobilnetze
    
    [international]
    exten => _00[1-35-9]XXX.,1,Goto(go_telco|${EXTEN}|1)	;alle Länder ohne 4x
    exten => _004[0-8]XX.,1,Goto(go_telco|${EXTEN}|1)	;4x ohne 49 (Deutschland)
    
    [freecall]
    exten => _080[01]XX.,1,Goto(go_telco|${EXTEN}|1)
    
    [shared_cost]
    exten => _0180XX.,1,Goto(go_telco|${EXTEN}|1)
    
    [premium_rate]
    exten => _0190XX.,1,Answer
    exten => _0190XX.,2,Playback(to-call-this-number)
    exten => _0190XX.,3,Authenticate(/etc/asterisk/premium.passwd)
    exten => _0190XX.,4,Goto(go_telco|${EXTEN}|1)
    exten => _0900XX.,1,Answer
    exten => _0900XX.,2,Playback(to-call-this-number)
    exten => _0900XX.,3,Authenticate(/etc/asterisk/premium.passwd)
    exten => _0900XX.,4,Goto(go_telco|${EXTEN}|1)
    
    [online_service]
    exten => _019[1-3]XX.,1,Goto(go_telco|${EXTEN}|1)
    exten => _090[1-5]XX.,1,Goto(go_telco|${EXTEN}|1)
    
    [external]
    include => emergency
    include => city
    include => national
    include => mobil
    include => international
    include => freecall
    include => shared_cost
    include => premium_rate
    ;include => online_service
    
    [trunk_select]
    exten => _*0#0.,1,Goto(go_telco|${EXTEN:3}|1)
    exten => _*1#0.,1,Set(CALLERID(number)=49307870XXXX)
    exten => _*1#0.,2,Dial(SIP/${EXTEN:3}@gmx7870XXXX||trg)
    exten => _*1#0.,3,Congestion
    exten => _*1#0.,4,Hangup
    exten => _*2#0.,1,Set(CALLERID(number)=49307870XXXX)
    exten => _*2#0.,2,Dial(SIP/${EXTEN:3}@gmx7870XXXX||trg)
    exten => _*2#0.,3,Congestion
    exten => _*2#0.,4,Hangup
    
    ;###################################################################
    ;# Leitwege                                                        #
    ;###################################################################
    [go_trunk_isdn]
    exten => a,1,Playback(voice-mail-system)
    exten => a,2,VoicemailMain(${EXTEN}@default)
    exten => a,3,Congestion
    exten => a,4,Hangup
    exten => _X.,1,Set(_CALLERTON=0)
    exten => _X.,2,Set(VM=${DB(voicemail/${EXTEN})})
    exten => _X.,3,GotoIf($["${VM}" = "1"]?4:103)
    exten => _X.,4,Dial(CAPI/DIVA_NT/${EXTEN}/B|20|tr)
    exten => _X.,5,Voicemail(u${EXTEN}@default)
    exten => _X.,6,Congestion
    exten => _X.,7,Hangup
    exten => _X.,103,Dial(CAPI/DIVA_NT/${EXTEN}/B||tr)
    exten => _X.,104,Congestion
    exten => _X.,105,Hangup
    
    [go_telco]
    exten => _X.,1,GotoIf($["${CALLERIDNUM}" = "CID withheld"]?2:4)
    exten => _X.,2,Set(CALLERID(number)=${CALLERIDNUM})
    exten => _X.,3,SetCallerPres(prohib_not_screened)
    exten => _X.,4,Set(CP=${DB(nocid/${CALLERIDNUM})})
    exten => _X.,5,GotoIf($["${CP}" != "0"]?6:105)
    exten => _X.,6,SetCallerPres(prohib_not_screened)
    exten => _X.,7,GotoIf($["${CP}" = "2"]?8:105)
    exten => _X.,8,Set(DB(nocid/${CALLERIDNUM})=0)
    exten => _X.,9,Goto(105)
    exten => _X.,105,Dial(CAPI/DIVA_TE/${EXTEN}/b)
    exten => _X.,106,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?107:109)
    exten => _X.,107,Playback(all-outgoing-lines-unavailable)
    exten => _X.,108,Playback(please-try-again-later)
    exten => _X.,109,Congestion
    exten => _X.,110,Hangup
    
    [go_sip]
    exten => _X.,1,GotoIf($["${CALLERIDNUM}" != "${MSN6}"]?2:104)
    exten => _X.,2,Set(GROUP()=sip1)
    exten => _X.,3,GotoIf($["${GROUP_COUNT()}" > "2"]?4:104)
    exten => _X.,4,Set(CALLERID(number)=7870XXXX)
    exten => _X.,5,Dial(SIP/${EXTEN}@gmx7870XXXX||trg)
    exten => _X.,6,Goto(106)
    exten => _X.,104,Set(CALLERID(number)=7870XXXX)
    exten => _X.,105,Dial(SIP/${EXTEN}@gmx7870XXXX||trg)
    exten => _X.,106,Congestion
    exten => _X.,107,Hangup
    
    ;###################################################################
    ;# Channels                                                        #
    ;###################################################################
    [fromvm]
    ;exten => s,1,Set(LANGUAGE()=de)
    include => default
    include => trunk_isdn
    include => external
    
    [inbound]
    ;exten => s,1,Set(LANGUAGE()=de)
    include => default
    include => trunk_isdn
    
    [outbound]
    exten => s,1,Set(TIMEOUT(digit)=5)
    ;exten => s,2,Set(LANGUAGE()=de)
    include => default
    include => internal
    include => external
    include => trunk_select
    
    Zwischendurch hatte ich noch einmal mit den Eicon-Treibern mein Glück versucht. Bin aber nicht weiter gekommen als wie zuvor schon beschrieben. Also wieder mit den "alten" weiter gemacht. Debug-Log noch einmal richtig durchgesehen und bemerkt, dass irgendwo in "AST_CONTROL_RINGING" 0x2001 statt 0x0 zurück gegeben wird.

    Ich konnte mir mit einem kleinen Patch weiter helfen. Jetzt funktioniert's zumindest wie vorher (Kernel-Treiber, RingerTone 1, Ruf- und Freizeichen).

    Patch -> chan_capi.c (CVS-1.135)
    Code:
    diff -uNr chan_capi.org/chan_capi.c chan_capi/chan_capi.c
    --- chan_capi.org/chan_capi.c	2006-01-01 23:48:01.000000000 +0100
    +++ chan_capi/chan_capi.c	2006-01-03 01:27:55.000000000 +0100
    @@ -4052,15 +4052,15 @@
     		if (i->isdnstate & CAPI_ISDN_STATE_HOLD)
     			capi_retrieve(c, NULL);
     		*/
    -		if (i->ntmode) {
    +		/*if (i->ntmode) {
     			if (i->isdnstate & CAPI_ISDN_STATE_B3_UP) {
     				ret = 0;
     			}
     			capi_signal_progress(c, NULL);
     			capi_alert(c);
    -		} else {
    +		} else {*/
     			ret = capi_alert(c);
    -		}
    +		//}
     		break;
     	case AST_CONTROL_BUSY:
     		cc_verbose(3, 1, VERBOSE_PREFIX_2 "%s: Requested BUSY-Indication for %s\n",
    
    cu
    Sven
     
  10. armincm

    armincm Aktives Mitglied

    Registriert seit:
    3 Aug. 2005
    Beiträge:
    1,006
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Also das sieht immer noch nach einem Problem mit der alten Firmware aus.
    Hast Du wirklich en neuen Eicon Treiber verwendet? Also auch mit dem Config-Tool
    geladen, oder manuell mit divactrl?
    Die neue Firmware wird nur benutzt, wenn Du per Config alle Einstellungen machst und das Script diva_cfg.sh aufgerufen wird.

    Armin
     
  11. ZicZac

    ZicZac Neuer User

    Registriert seit:
    10 Apr. 2005
    Beiträge:
    76
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo Armin,

    - aktuelle Eicon-Treiber (105-23)
    - Karten mit ./Config in /usr/lib/eicon/divas konfiguriert und danach ./Start
    - im Log der Karten wird mir die neue Firmware angezeigt

    Aber egal wie ich die 2. Karte initialisiere (RingerTone 0/1), es geht weder mit 0.6.1 noch mit der CVS-Version von heute (1.136). Immer das selbe Spiel:

    RingerTone 1 -> Freizeichen ja, Rufton nein
    RingerTone 0 -> Freizeichen nein, Rufton nein

    Mein kleiner Patch war auch zu hastig gestrickt. Hat nur bei Intern -> Intern funktioniert. Irgendwie ist bei meiner internen Karte etwas mit "capi_signal_progress" faul. Da ich keine Ahnung vom Programmieren habe, werde ich wohl nie herausfinden was und bleibe erst einmal bei Ver. 0.6. Line-Bridging ist mir sowieso Wurst. Da mindestens 50% der Gespräche über SIP laufen.

    anbei das letzte Debug-Log (RingerTone 0, intern -> intern):
    Code:
    CONNECT_IND ID=001 #0x0541 LEN=0051
      Controller/PLCI/NCCI            = 0x202
      CIPValue                        = 0x10
      CalledPartyNumber               = <81>787XXXXX
      CallingPartyNumber              = <01 80>787YYYYY
      CalledPartySubaddress           = default
      CallingPartySubaddress          = default
      BC                              = <80 90 a3>
      LLC                             = default
      HLC                             = <91 81>
      AdditionalInfo
       BChannelinformation            = default
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
        -- CONNECT_IND (PLCI=0x202,DID=787XXXXX,CID=787YYYYY,CIP=0x10,CONTROLLER=0x2)
           > DIVA_NT: msn='*' DNID='787XXXXX' DID
      == DIVA_NT: Incoming call '787YYYYY' -> '787XXXXX'
    INFO_IND ID=001 #0x0542 LEN=0024
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x70
      InfoElement                     = <81>787XXXXX
    
    INFO_RESP ID=001 #0x0542 LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element CALLED PARTY NUMBER
        -- DIVA_NT: Updated channel name: CAPI/DIVA_NT/787XXXXX-8
        -- DIVA_NT: CAPI/DIVA_NT/787XXXXX-8: 787XXXXX matches in context outbound
      == Started pbx on channel CAPI/DIVA_NT/787XXXXX-8
    INFO_IND ID=001 #0x0543 LEN=0021
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x28
      InfoElement                     = LINK<3d>0
    
    INFO_RESP ID=001 #0x0543 LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element DSP
    INFO_IND ID=001 #0x0544 LEN=0016
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x18
      InfoElement                     = <81>
    
    INFO_RESP ID=001 #0x0544 LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element CHANNEL IDENTIFICATION 81
    INFO_IND ID=001 #0x0545 LEN=0015
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x8005
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x0545 LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element SETUP
           > CAPI devicestate requested for DIVA_NT/787XXXXX
        -- Executing Goto("CAPI/DIVA_NT/787XXXXX-8", "go_trunk_isdn|787XXXXX|1") in new stack
        -- Goto (go_trunk_isdn,787XXXXX,1)
        -- Executing Set("CAPI/DIVA_NT/787XXXXX-8", "_CALLERTON=0") in new stack
        -- Executing Set("CAPI/DIVA_NT/787XXXXX-8", "VM=1") in new stack
        -- Executing GotoIf("CAPI/DIVA_NT/787XXXXX-8", "1?4:104") in new stack
        -- Goto (go_trunk_isdn,787XXXXX,4)
        -- Executing Dial("CAPI/DIVA_NT/787XXXXX-8", "CAPI/DIVA_NT/787XXXXX/B|20") in new stack
           > data = DIVA_NT/787XXXXX/B
           > parsed dialstring: 'DIVA_NT' 'NULL' '787XXXXX' 'B'
           > capi request for interface 'DIVA_NT'
           > CAPI devicestate requested for DIVA_NT/787XXXXX
           > parsed dialstring: 'DIVA_NT' 'NULL' '787XXXXX' 'B'
      == DIVA_NT: Call CAPI/DIVA_NT/787XXXXX-9 with B3  (pres=0x00, ton=0x00)
    CONNECT_REQ ID=001 #0x02f6 LEN=0059
      Controller/PLCI/NCCI            = 0x2
      CIPValue                        = 0x1
      CalledPartyNumber               = <80>787XXXXX
      CallingPartyNumber              = <00 80>787YYYYY
      CalledPartySubaddress           = default
      CallingPartySubaddress          = default
      BProtocol
       B1protocol                     = 0x1
       B2protocol                     = 0x1
       B3protocol                     = 0x0
       B1configuration                = default
       B2configuration                = default
       B3configuration                = default
       GlobalConfiguration            = default
      BC                              = default
      LLC                             = default
      HLC                             = default
      AdditionalInfo
       BChannelinformation            = <00 00>
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
           > CAPI devicestate requested for DIVA_NT/787XXXXX
        -- Called DIVA_NT/787XXXXX/B
    CONNECT_CONF ID=001 #0x02f6 LEN=0014
      Controller/PLCI/NCCI            = 0x102
      Info                            = 0x0
    
        -- DIVA_NT: received CONNECT_CONF PLCI = 0x102
    INFO_IND ID=001 #0x0546 LEN=0015
      Controller/PLCI/NCCI            = 0x102
      InfoNumber                      = 0x8001
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x0546 LEN=0012
      Controller/PLCI/NCCI            = 0x102
    
        -- DIVA_NT: info element ALERTING
        -- CAPI/DIVA_NT/787XXXXX-9 is ringing
      == DIVA_NT: Requested RINGING-Indication for CAPI/DIVA_NT/787XXXXX-8
    SELECT_B_PROTOCOL_REQ ID=001 #0x02f7 LEN=0023
      Controller/PLCI/NCCI            = 0x202
      BProtocol
       B1protocol                     = 0x1
       B2protocol                     = 0x1
       B3protocol                     = 0x0
       B1configuration                = default
       B2configuration                = default
       B3configuration                = default
       GlobalConfiguration            = default
    
    ALERT_REQ ID=001 #0x02f8 LEN=0018
      Controller/PLCI/NCCI            = 0x202
      AdditionalInfo
       BChannelinformation            = default
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
    SELECT_B_PROTOCOL_CONF ID=001 #0x02f7 LEN=0014
      Controller/PLCI/NCCI            = 0x202
      Info                            = 0x0
    
    ALERT_CONF ID=001 #0x02f8 LEN=0014
      Controller/PLCI/NCCI            = 0x202
      Info                            = 0x0
    
    INFO_IND ID=001 #0x0548 LEN=0015
      Controller/PLCI/NCCI            = 0x102
      InfoNumber                      = 0x8002
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x0548 LEN=0012
      Controller/PLCI/NCCI            = 0x102
    
        -- DIVA_NT: info element CALL PROCEEDING
    CONNECT_B3_REQ ID=001 #0x02f9 LEN=0013
      Controller/PLCI/NCCI            = 0x102
      NCPI                            = default
    
        -- DIVA_NT: sent CONNECT_B3_REQ PLCI=0x102
        -- CAPI/DIVA_NT/787XXXXX-9 is proceeding passing it to CAPI/DIVA_NT/787XXXXX-8
      == DIVA_NT: Requested PROCEEDING-Indication for CAPI/DIVA_NT/787XXXXX-8
    Jan  5 00:23:14 WARNING[2289]: chan_capi.c:3934 capi_signal_progress: wrong channel state to signal PROGRESS
    CONNECT_B3_CONF ID=001 #0x02f9 LEN=0014
      Controller/PLCI/NCCI            = 0x40102
      Info                            = 0x0
    
    CONNECT_B3_ACTIVE_IND ID=001 #0x054a LEN=0013
      Controller/PLCI/NCCI            = 0x40102
      NCPI                            = default
    
    CONNECT_B3_ACTIVE_RESP ID=001 #0x054a LEN=0012
      Controller/PLCI/NCCI            = 0x40102
    
      == DIVA_NT: Setting up echo canceller (PLCI=0x102, function=1, options=4, tail=64)
    FACILITY_REQ ID=001 #0x02fa LEN=0024
      Controller/PLCI/NCCI            = 0x102
      FacilitySelector                = 0x6
      FacilityRequestParameter        = <01 00 06 04 00 40 00 00 00>
    
      == DIVA_NT: Setting up DTMF detector (PLCI=0x102, flag=1)
    FACILITY_REQ ID=001 #0x02fb LEN=0023
      Controller/PLCI/NCCI            = 0x102
      FacilitySelector                = 0x1
      FacilityRequestParameter        = <01 00 40 00 40 00 00 00>
    
    FACILITY_CONF ID=001 #0x02fa LEN=0022
      Controller/PLCI/NCCI            = 0x102
      Info                            = 0x0
      FacilitySelector                = 0x6
      FacilityConfirmationParameter   = <01 00 02 00 00>
    
        -- DIVA_NT: Echo canceller successfully set up (PLCI=0x102)
    FACILITY_CONF ID=001 #0x02fb LEN=0019
      Controller/PLCI/NCCI            = 0x102
      Info                            = 0x0
      FacilitySelector                = 0x1
      FacilityConfirmationParameter   = <00 00>
    
           > DIVA_NT: DTMF conf(PLCI=0x102)
    INFO_IND ID=001 #0x0705 LEN=0017
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x8
      InfoElement                     = <80 90>
    
    INFO_RESP ID=001 #0x0705 LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element CAUSE 80 90
    INFO_IND ID=001 #0x0706 LEN=0015
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x8045
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x0706 LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element DISCONNECT
        -- DIVA_NT: Disconnect case 3
      == DIVA_NT: CAPI Hangingup
        -- DIVA_NT: activehangingup (cause=0)
    DISCONNECT_B3_REQ ID=001 #0x02fc LEN=0013
      Controller/PLCI/NCCI            = 0x40102
      NCPI                            = default
    
      == Spawn extension (go_trunk_isdn, 787XXXXX, 4) exited non-zero on 'CAPI/DIVA_NT/787XXXXX-8'
      == DIVA_NT: CAPI Hangingup
        -- DIVA_NT: activehangingup (cause=16)
    CONNECT_RESP ID=001 #0x0541 LEN=0034
      Controller/PLCI/NCCI            = 0x202
      Reject                          = 0x3490
      BProtocol
       B1protocol                     = 0x0
       B2protocol                     = 0x0
       B3protocol                     = 0x0
       B1configuration                = default
       B2configuration                = default
       B3configuration                = default
       GlobalConfiguration            = default
      ConnectedNumber                 = default
      ConnectedSubaddress             = default
      LLC                             = default
      AdditionalInfo
       BChannelinformation            = default
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
    DISCONNECT_B3_CONF ID=001 #0x02fc LEN=0014
      Controller/PLCI/NCCI            = 0x40102
      Info                            = 0x0
    
           > CAPI devicestate requested for DIVA_NT/787XXXXX
    INFO_IND ID=001 #0x0708 LEN=0015
      Controller/PLCI/NCCI            = 0x202
      InfoNumber                      = 0x805a
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x0708 LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
        -- DIVA_NT: info element RELEASE COMPLETE
    DISCONNECT_IND ID=001 #0x070a LEN=0014
      Controller/PLCI/NCCI            = 0x202
      Reason                          = 0x3490
    
    DISCONNECT_RESP ID=001 #0x070a LEN=0012
      Controller/PLCI/NCCI            = 0x202
    
           > CAPI INFO 0x3490: Normal call clearing
      == DIVA_NT: Interface cleanup PLCI=0x202
    DISCONNECT_B3_IND ID=001 #0x070b LEN=0015
      Controller/PLCI/NCCI            = 0x40102
      Reason_B3                       = 0x0
      NCPI                            = default
    
    DISCONNECT_B3_RESP ID=001 #0x070b LEN=0012
      Controller/PLCI/NCCI            = 0x40102
    
    DISCONNECT_REQ ID=001 #0x02fd LEN=0018
      Controller/PLCI/NCCI            = 0x102
      AdditionalInfo
       BChannelinformation            = default
       Keypadfacility                 = default
       Useruserdata                   = default
       Facilitydataarray              = default
       SendingComplete                = default
    
           > CAPI devicestate requested for DIVA_NT/787XXXXX
           > CAPI devicestate requested for DIVA_NT/787XXXXX
           > CAPI devicestate requested for DIVA_NT/787XXXXX
    DISCONNECT_CONF ID=001 #0x02fd LEN=0014
      Controller/PLCI/NCCI            = 0x102
      Info                            = 0x0
    
    INFO_IND ID=001 #0x070c LEN=0017
      Controller/PLCI/NCCI            = 0x102
      InfoNumber                      = 0x8
      InfoElement                     = <80 90>
    
    INFO_RESP ID=001 #0x070c LEN=0012
      Controller/PLCI/NCCI            = 0x102
    
        -- DIVA_NT: info element CAUSE 80 90
    INFO_IND ID=001 #0x070d LEN=0015
      Controller/PLCI/NCCI            = 0x102
      InfoNumber                      = 0x804d
      InfoElement                     = default
    
    INFO_RESP ID=001 #0x070d LEN=0012
      Controller/PLCI/NCCI            = 0x102
    
        -- DIVA_NT: info element RELEASE
    DISCONNECT_IND ID=001 #0x070f LEN=0014
      Controller/PLCI/NCCI            = 0x102
      Reason                          = 0x3490
    
    DISCONNECT_RESP ID=001 #0x070f LEN=0012
      Controller/PLCI/NCCI            = 0x102
    
           > CAPI INFO 0x3490: Normal call clearing
      == DIVA_NT: Interface cleanup PLCI=0x102
     
    ciao
    Sven