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

MISDN rxgain txgain? Billion 1Port S0 Karte

Dieses Thema im Forum "Asterisk ISDN mit mISDN" wurde erstellt von kperas, 14 Sep. 2005.

  1. kperas

    kperas Neuer User

    Registriert seit:
    17 Jan. 2005
    Beiträge:
    156
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo Forum,

    ich bin grad drüber einen 2. * Rechner aufzusetzen. In diesem hab ich eine Beronet Billion 1 Port S0 Karte eingebaut und spreche diese über die mISDN Treiber an. Das Ganze scheintz so einigermaßen zu funtionieren, auch wenn ich beim laden von

    initmisdn
    Code:
    # rc script for mISDN driver
    MODPROBE=modprobe
    RMMOD=rmmod
    INSMOD=insmod
    
    case "$1" in
    	start|--start)
    		$MODPROBE mISDN_core
    		$MODPROBE mISDN_l1 debug=0
    		$MODPROBE mISDN_l2 debug=0
    		$MODPROBE l3udss1 
    		$MODPROBE mISDN_dsp debug=0 options=0x0
    
    		$MODPROBE hfcpci layermask=0xf protocol=0x22
    
    		sleep 1
    		;;
    	stop|--stop)
    		$RMMOD hfcmulti
    		$RMMOD mISDN_dsp
    		$RMMOD l3udss1
    		$RMMOD mISDN_l2
    		$RMMOD mISDN_l1
    		$RMMOD mISDN_core
    		;;
    	restart|--restart)
    		sh $0 stop
    		sleep 2 # some phones will release tei when layer 1 is down
    		sh $0 start
    		;;
    	help|--help)
    		echo "Usage: $0 {start|stop|restart|help}"
    		exit 0
    		;;
    	*)
    		echo "Usage: $0 {start|stop|restart|help}"
    		exit 2
    		;;
    
    esac
    
    mit ./initmisdn start Das hier:
    Code:
    
    Sep 14 11:53:24 asterisk kernel: mISDN_core: unsupported module, tainting kernel.
    Sep 14 11:53:24 asterisk kernel: Modular ISDN Stack core $Revision: 1.23 $
    Sep 14 11:53:24 asterisk kernel: mISDNd: kernel daemon started
    Sep 14 11:53:24 asterisk kernel: mISDNd: test event done
    Sep 14 11:53:24 asterisk kernel: mISDN_l1: unsupported module, tainting kernel.
    Sep 14 11:53:24 asterisk kernel: ISDN L1 driver version 1.11
    Sep 14 11:53:24 asterisk kernel: mISDN_l2: unsupported module, tainting kernel.
    Sep 14 11:53:24 asterisk kernel: ISDN L2 driver version 1.19
    Sep 14 11:53:24 asterisk kernel: l3udss1: unsupported module, tainting kernel.
    Sep 14 11:53:24 asterisk kernel: mISDN: DSS1 Rev. 1.26
    Sep 14 11:53:24 asterisk kernel: mISDN_dsp: unsupported module, tainting kernel.
    Sep 14 11:53:24 asterisk kernel: mISDN_dsp: Audio DSP  Rev. 1.10 (debug=0x0)
    Sep 14 11:53:24 asterisk kernel: hfcpci: unsupported module, tainting kernel.
    Sep 14 11:53:24 asterisk kernel: HFC card c28ae800 dch c28ae888 bch1 c28aea08 bch2 c28aeb94
    Sep 14 11:53:24 asterisk kernel: mISDN: HFC-PCI driver Rev. 1.38
    Sep 14 11:53:24 asterisk kernel: PCI: Enabling device 0000:01:0b.0 (0000 -> 0003)
    Sep 14 11:53:24 asterisk kernel: ACPI: PCI interrupt 0000:01:0b.0[A] -> GSI 11 (level, low) -> IRQ 11
    Sep 14 11:53:24 asterisk kernel: mISDN: HFC-PCI card manufacturer: CCD/Billion/Asuscom card name: 2BD0
    Sep 14 11:53:24 asterisk kernel: HFC-PCI: defined at mem 0xccab2000 fifo 0xc3e08000(0x3e08000) IRQ 11 HZ 1000
    Sep 14 11:53:24 asterisk kernel: spin_lock_adr=c28ae864 now(ccabea5c)
    Sep 14 11:53:24 asterisk kernel: busy_lock_adr=c28ae868 now(ccabea5c)
    Sep 14 11:53:24 asterisk kernel: reset_hfcpci: entered
    Sep 14 11:53:24 asterisk kernel: HFC_PCI: resetting HFC ChipId(30)
    Sep 14 11:53:24 asterisk kernel: HFC-PCI status(4) before reset
    Sep 14 11:53:24 asterisk kernel: HFC-PCI status(2) after reset
    Sep 14 11:53:24 asterisk kernel: HFC-PCI status(4) after 5us
    Sep 14 11:53:24 asterisk kernel: init_card: entered
    Sep 14 11:53:24 asterisk kernel: inithfcpci: entered
    Sep 14 11:53:24 asterisk kernel: HFC PCI: IRQ 11 count 43
    Sep 14 11:53:24 asterisk kernel: HFC card ca50f800 dch ca50f888 bch1 ca50fa08 bch2 ca50fb94
    Sep 14 11:53:24 asterisk kernel: mISDN: HFC-PCI driver Rev. 1.38
    Sep 14 11:53:24 asterisk kernel: HFC-PCI: No more PCI cards found
    Sep 14 11:53:24 asterisk kernel: HFC 1 cards installed
    
    in /var/log/messages reingeschrieben bekomme. So meldet mir lsmod | grep hfc doch das hier:
    asterisk:~ # lsmod| grep hfc
    hfcpci 29228 0
    mISDN_core 67936 5 hfcpci,mISDN_dsp,l3udss1,mISDN_l2,mISDN_l1

    Also die Module scheinen geladen zu sein.

    Meine msidn.conf sieht so aus:
    Code:
    
    [general]
    
    rxgain=8
    txgain=8
    
    
    [TE]
    callerid=0${CALLERID}
    context=ptp
    ports=1ptp
    msns=*
    
    Beim Start von * siehts dann aber so aus:
    Code:
    
    asterisk:~ # asterisk -vvvgc
      == Parsing '/etc/asterisk/asterisk.conf': Found
      == Parsing '/etc/asterisk/extconfig.conf': Found
    Asterisk 1.0.8, 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 Command
      == Manager registered action ExtensionState
      == Manager registered action AbsoluteTimeout
      == Manager registered action MailboxStatus
      == 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
      == 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'
        -- Registered indication country 'sg'
        -- Registered indication country 'hu'
        -- Registered indication country 'lt'
        -- Registered indication country 'pl'
        -- Registered indication country 'pt'
        -- Registered indication country 'ee'
        -- Registered indication country 'mx'
        -- Registered indication country 'se'
        -- 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
    Sep 14 13:33:07 WARNING[6278]: chan_mgcp.c:4072 reload_config: Failed to bind to 0.0.0.0:2727: Address already in use
      == Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
     [app_eval.so] => (Reevaluates strings)
      == Registered application 'Eval'
     [app_sendtext.so] => (Send Text Applications)
      == Registered application 'SendText'
     [app_exec.so] => (Executes applications)
      == Registered application 'Exec'
     [app_txtcidname.so] => (TXTCIDName)
      == Registered application 'TXTCIDName'
      == Parsing '/etc/asterisk/enum.conf': Found
     [cdr_manager.so] => (Asterisk Call Manager CDR Backend)
      == Parsing '/etc/asterisk/cdr_manager.conf': Found
     [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri))
    Warning, flexibel rate not heavily tested!
    
    
    Hier bleibt mein * dann hängen. Ich weiß nicht recht, was ich jetzt machen soll und wäre für jede Hilfe sehr dankbar.

    MfG
    Klaus
     
  2. britzelfix

    britzelfix Gesperrt

    Registriert seit:
    28 Mai 2004
    Beiträge:
    1,099
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Ort:
    Braunschweig
    @kperas

    versuch mal das weg zu bekommen.

    Ich habe mich mit mISDN nicht weiter beschäftigt, weil meine HFC-Karte
    so nach 12h einfach nicht mehr geht. Verantwortlich dafür ist IMO die Warnung in hfc_pci.c

    Solange das noch da ist, werde ich wohl auch warten müssen.
    Interessant sind die Features wie die Verschlüsselung mit blowfish u.a.
    Ich mache demnächst einige Tests mit der FritzCard, mal sehen ob die
    besser läuft. Die 4er Beronet sollen angeblich schon gut laufen.

    Gruß
    britzelfix
     
  3. kperas

    kperas Neuer User

    Registriert seit:
    17 Jan. 2005
    Beiträge:
    156
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Tja, nur wie?

    Hat vielleicht noch jemand eine Idee?

    Ich muss die Karte im PTP Modus betreiben. Weiß nicht obs daran liegt.

    Also wenn jemand Erfahrung mit misdn hat, bitte melden. Danke.

    Klaus
     
  4. kperas

    kperas Neuer User

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


    nach einem reboot gehts auf einmal. Noch nicht wies sein soll, aber da mach ich nen Extra Thread auf, weil das hat hiermit nix mehr zu tun. Danke trotzdem.

    Grüße
    Klaus