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

Asterisk mit Beronet BN4S0 und mISDN Installation

Dieses Thema im Forum "Asterisk ISDN mit Bristuff (hfc, zaptel)" wurde erstellt von kperas, 23 März 2005.

  1. kperas

    kperas Neuer User

    Registriert seit:
    17 Jan. 2005
    Beiträge:
    156
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo Zusammen,
    ich habe mein System so aufgesetzt:
    Suse 9.2 mit 2.6.8-24 Kernel, dann libpri und zaptel mit cvs gezogen, installiert.
    Dann * 1.0.5 mit ftp gezogen und installiert
    Dann mISDN und mISDNuser mit cvs geholt und installiert
    Das schien alles wunderbar zu gehen.
    Dann hab ich eingegeben:
    Code:
    modprobe hfcmulti type=0x4 layermask=0xf,0xf,0x3,0x3 protocol=0x22,0x2,0x12,0x12 <enter>
    
    dann
    Code:
    modprobe mISDN_dsp
    
    dann habe ich chan_mISDN geholt und installiert, und weil ich jetzt eine ältere * Version benutzt hab, hat auch das funktioniert.

    gebe ich jetzt aber "ztcfg" ein bekomme ich die Ausgabe:
    Code:
    asterisk:/ # ztcfg
    Notice: Configuration file is /etc/zaptel.conf
    line 16: Unable to open master device '/dev/zap/ctl'
    asterisk:/ # 
    
    meine msidn.conf sieht so aus:
    Code:
    ;
    ; chan_misdn sample config
    ;
    
    
    
    [general] 
    context=misdn
    language=de
    nationalprefix=0
    internationalprefix=00
    dialplan=0
    immediate=no
    debug=0
    hold_allowed=yes
    tracefile=/var/log/asterisk/misdn.trace
    
    [NTportPtP]
    callerid=99
    context=misdn
    ports=1ptp
    msns=*
    
    [NTportPmP]
    callerid=98
    context=fritzPmP
    ports=2
    msns=*
    
    [TEports]
    callerid=97
    context=misdnphones
    ports=3,4
    msns=*
    
    und meine zapata.conf:
    Code:
    [channels]
    
    ;
    ; ISDN quadBRI interfaces
    ;
    busydetect = no
    callprogress = no
    immediate = no
    overlapdial = yes
    echocancel = no
    echocancelwhenbridged = no
    echotrainig = no
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    pridialplan = local
    group = 1
    context=to-pstn
    channel => 1-2
    
    busydetect = no
    callprogress = no
    immediate = no
    overlapdial = yes
    echocancel = no
    echocancelwhenbridged = no
    echotrainig = no
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    pridialplan = local
    group = 2
    context=to-pstn
    channel => 4-5
    
    busydetect = no
    callprogress = no
    immediate = no
    overlapdial = yes
    echocancel = no
    echocancelwhenbridged = no
    echotrainig = no
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    pridialplan = local
    group = 3
    context=to-pstn
    channel => 7-8
    
    busydetect = no
    callprogress = no
    immediate = no
    overlapdial = yes
    echocancel = no
    echocancelwhenbridged = no
    echotrainig = no
    switchtype = euroisdn
    signalling = bri_cpe_ptmp
    pridialplan = local
    group = 4
    context=to-pstn
    channel => 10-11
    
    und meine zaptel.conf:
    Code:
    bchan=1,2
    dchan=3
    bchan=4,5
    dchan=6
    bchan=7,8
    dchan=9
    bchan=10,11
    dchan=12
    
    span=1,1,3,ccs,ami
    span=2,1,3,ccs,ami
    span=3,1,3,ccs,ami
    span=4,1,3,ccs,ami 
    
    loadzone=de
    defaultzone=nl
    
    Mein * macht dann sowas:
    Code:
    asterisk:/ # asterisk -vvvvvgc
      == Parsing '/etc/asterisk/asterisk.conf': Found
      == Parsing '/etc/asterisk/extconfig.conf': Found
    Asterisk 1.0.5, Copyright (C) 1999-2004 Digium.
    Written by Mark Spencer <markster@digium.com>
    =========================================================================
      == Parsing '/etc/asterisk/logger.conf': Found
    Asterisk Event Logger Started /var/log/asterisk/event_log
      == Manager registered action Ping
      == Manager registered action Events
      == Manager registered action Logoff
      == Manager registered action Hangup
      == Manager registered action Status
      == Manager registered action Setvar
      == Manager registered action Getvar
      == Manager registered action Redirect
      == Manager registered action Originate
      == Manager registered action MailboxStatus
      == Manager registered action Command
      == Manager registered action ExtensionState
      == Manager registered action AbsoluteTimeout
      == Manager registered action MailboxCount
      == Manager registered action ListCommands
      == Parsing '/etc/asterisk/manager.conf': Found
      == Parsing '/etc/asterisk/rtp.conf': Found
      == RTP Allocating from port range 10000 -> 20000
    Asterisk PBX Core Initializing
    Registering builtin applications:
     [AbsoluteTimeout]
      == Registered application 'AbsoluteTimeout'
     [Answer]
      == Registered application 'Answer'
     [BackGround]
      == Registered application 'BackGround'
     [Busy]
      == Registered application 'Busy'
     [Congestion]
      == Registered application 'Congestion'
     [DigitTimeout]
      == Registered application 'DigitTimeout'
     [Goto]
      == Registered application 'Goto'
     [GotoIf]
      == Registered application 'GotoIf'
     [GotoIfTime]
      == Registered application 'GotoIfTime'
     [Hangup]
      == Registered application 'Hangup'
     [NoOp]
      == Registered application 'NoOp'
     [Prefix]
      == Registered application 'Prefix'
     [Progress]
      == Registered application 'Progress'
     [ResetCDR]
      == Registered application 'ResetCDR'
     [ResponseTimeout]
      == Registered application 'ResponseTimeout'
     [Ringing]
      == Registered application 'Ringing'
     [SayNumber]
      == Registered application 'SayNumber'
     [SayDigits]
      == Registered application 'SayDigits'
     [SayAlpha]
      == Registered application 'SayAlpha'
     [SayPhonetic]
      == Registered application 'SayPhonetic'
     [SetAccount]
      == Registered application 'SetAccount'
     [SetAMAFlags]
      == Registered application 'SetAMAFlags'
     [SetGlobalVar]
      == Registered application 'SetGlobalVar'
     [SetLanguage]
      == Registered application 'SetLanguage'
     [SetVar]
      == Registered application 'SetVar'
     [StripMSD]
      == Registered application 'StripMSD'
     [Suffix]
      == Registered application 'Suffix'
     [Wait]
      == Registered application 'Wait'
     [WaitExten]
      == Registered application 'WaitExten'
    Asterisk Dynamic Loader Starting:
      == Parsing '/etc/asterisk/modules.conf': Found
     [chan_modem.so] => (Generic Voice Modem Driver)
      == Parsing '/etc/asterisk/modem.conf': Found
      == Loading modem driver chan_modem_aopen.so => (A/Open (Rockwell Chipset) ITU-2 VoiceModem Driver)
      == Registered channel type 'Modem' (Generic Voice Modem Channel Driver)
     [res_musiconhold.so] => (Music On Hold Resource)
      == Parsing '/etc/asterisk/musiconhold.conf': Found
    Mar 23 14:51:33 WARNING[7362]: res_musiconhold.c:565 moh_register: Unable to open pseudo channel for timing...  Sound may be choppy.
      == Registered application 'MusicOnHold'
      == Registered application 'WaitMusicOnHold'
      == Registered application 'SetMusicOnHold'
     [res_indications.so] => (Indications Configuration)
      == Parsing '/etc/asterisk/indications.conf': Found
        -- Registered indication country 'cl'
        -- Registered indication country 'tw'
        -- Registered indication country 'us'
        -- Registered indication country 'au'
        -- Registered indication country 'fr'
        -- Registered indication country 'de'
        -- Registered indication country 'nl'
        -- Registered indication country 'uk'
        -- Registered indication country 'fi'
        -- Registered indication country 'no'
        -- Registered indication country 'br'
        -- Registered indication country 'za'
        -- Registered indication country 'it'
        -- Registered indication country 'us-o'
        -- Registered indication country 'gr'
        -- Registered indication country 'ru'
        -- Registered indication country 'nz'
        -- Setting default indication country to 'us'
      == Registered application 'Playtones'
      == Registered application 'StopPlaytones'
     [res_features.so] => (Call Parking Resource)
      == Parsing '/etc/asterisk/features.conf': Found
        -- Registered extension context 'parkedcalls'
        -- Added extension '700' priority 1 to parkedcalls
      == Registered application 'ParkedCall'
      == Registered application 'Park'
      == Manager registered action ParkedCalls
     [res_agi.so] => (Asterisk Gateway Interface (AGI))
      == Registered application 'DeadAGI'
      == Registered application 'EAGI'
      == Registered application 'AGI'
     [res_crypto.so] => (Cryptographic Digital Signatures)
        -- Loaded PUBLIC key 'iaxtel'
        -- Loaded PUBLIC key 'freeworlddialup'
     [res_adsi.so] => (ADSI Resource)
      == Parsing '/etc/asterisk/adsi.conf': Found
     [res_monitor.so] => (Call Monitoring Resource)
      == Registered application 'Monitor'
      == Registered application 'StopMonitor'
      == Registered application 'ChangeMonitor'
      == Manager registered action Monitor
      == Manager registered action StopMonitor
      == Manager registered action ChangeMonitor
     [app_sms.so] => (SMS/PSTN handler)
      == Registered application 'SMS'
     [app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.
      == Registered application 'HasVoicemail'
      == Registered application 'HasNewVoicemail'
     [format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
      == Registered file format wav49, extension(s) WAV|wav49
     [app_url.so] => (Send URL Applications)
      == Registered application 'SendURL'
     [chan_modem_i4l.so] => (ISDN4Linux Emulated Modem Driver)
     [app_test.so] => (Interface Test Application)
      == Registered application 'TestClient'
      == Registered application 'TestServer'
     [chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
      == Parsing '/etc/asterisk/mgcp.conf': Found
      == MGCP Listening on 0.0.0.0:2727
      == Using TOS bits 0
      == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
     [app_eval.so] => (Reevaluates strings)
      == Registered application 'Eval'
     [chan_zap.so] => (Zapata Telephony w/PRI)
      == Parsing '/etc/asterisk/zapata.conf': Found
    Mar 23 14:51:33 WARNING[7362]: chan_zap.c:9608 setup_zap: Ignoring echotrainig
    Mar 23 14:51:33 ERROR[7362]: chan_zap.c:9429 setup_zap: Unknown signalling method 'bri_cpe_ptmp'
    Mar 23 14:51:33 ERROR[7362]: chan_zap.c:9071 setup_zap: Signalling must be specified before any channels are.
    Mar 23 14:51:33 WARNING[7362]: loader.c:345 ast_load_resource: chan_zap.so: load_module failed, returning -1
      == Unregistered channel type 'Tor'
      == Unregistered channel type 'Zap'
    Mar 23 14:51:33 WARNING[7362]: loader.c:440 load_modules: Loading module chan_zap.so failed!
    asterisk:/ #   
    
    Ich will die BN4S0 mit einem Port an einen ANlagenanschluss anschliesen, mit einem an eine "normale" PtmP NTBA und zwei ISDN Telefone am letzten Port.

    Weiß jemand wie das geht? Kann mir jemand sagen, warum ich bei ztcfg diese Ausgabe bekomme? Oder wie ich prüfe, ob meine .conf Dateien stimmen? Oder was ich falsch mache? Oder ob Schalke Meister wird?

    Vielen Dank und schöne Grüße
    Klaus
     
  2. rajo

    rajo Admin-Team

    Registriert seit:
    31 März 2004
    Beiträge:
    1,958
    Zustimmungen:
    0
    Punkte für Erfolge:
    36
    ...ich hab mit mISDN noch nicht rumgespielt -- aber ist das wirklich ein zaptel-device? sprich: brauchst Du ztcfg und brauchst Du zaptel im *?
    Ich vermute mal nein und schlage daher ein noload => chan_zap.so in der modules.conf vor.
     
  3. pawbrok

    pawbrok Neuer User

    Registriert seit:
    12 März 2005
    Beiträge:
    50
    Zustimmungen:
    0
    Punkte für Erfolge:
    6
    Ort:
    Swidnica (Schweidnitz)
    Sie brauchen zaptel nicht. Nur mISDN, mISDNuser und chan_misn für NT und TE Modus. Aber modprobe mISDNcore usw. Lesen Sie bitte der Installationanleitung von Beronet.
     
  4. kperas

    kperas Neuer User

    Registriert seit:
    17 Jan. 2005
    Beiträge:
    156
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    mISDNcore?

    Hallo Pawrok,
    was meinst Du mit mISDNcore? Finde ich nicht in der Installationsanleitung.
    Grüße
    Klaus
     
  5. pawbrok

    pawbrok Neuer User

    Registriert seit:
    12 März 2005
    Beiträge:
    50
    Zustimmungen:
    0
    Punkte für Erfolge:
    6
    Ort:
    Swidnica (Schweidnitz)
    Entschuldigung. mISDNcore ist für HFC-S PCI Karte, nicht für HFC-4S oder -8S.