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

elmeg C46e a/b ports -> Digium FXO TDM02B -> * : probl

Dieses Thema im Forum "Asterisk Allgemein" wurde erstellt von koem, 13 Apr. 2005.

  1. koem

    koem Neuer User

    Registriert seit:
    23 März 2005
    Beiträge:
    3
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hat es niemand geschafft?

    Es funktioniert nicht.

    After the first call, the Digium card fails to disconnect the line, and remains open forever. When the same compination is connected directly to POTS lines, it works (because the telco disconnects automatically the line - the elmeg PABX cannot)
     
  2. tom-tom

    tom-tom Neuer User

    Registriert seit:
    18 Okt. 2004
    Beiträge:
    163
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Maybe you should add a hangup to your extension?

    exten => xyz,1,dial(Zap/g1/xyz)
    exten => xyz,2,Hangup

    Could you post your extensions.conf your zaptel and zapata.conf?
     
  3. koem

    koem Neuer User

    Registriert seit:
    23 März 2005
    Beiträge:
    3
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Here you are :)

    Code:
    -------------------------------------------------------------------
    /etc/zaptel.conf
    -------------------------------------------------------------------
    fxsks=1-2
    loadzone=gr
    defaultzone=us
    
    -------------------------------------------------------------------
    musiconhold.conf
    -------------------------------------------------------------------
    [classes]
    
    loud => mp3:/var/lib/asterisk/mohmp3
    
    -------------------------------------------------------------------
    zapata.conf ; XP100 x 2
    -------------------------------------------------------------------
    [channels]
    language=gr
    signalling=fxs_ks ;
    echocancel=yes 
    echocancelwhenbridged=yes
    echotraining=400 
    callerid=asreceived
    group=1
    context=lineone-analog
    channel => 1
    group=2
    context=linetwo-analog
    channel => 2
    faxdetect=both
    
    -------------------------------------------------------------------
    sip.conf ; ATA 186
    -------------------------------------------------------------------
    [2201]
    disallow=all
    allow=ulaw
    allow=alaw
    type=friend
    username=2201
    secret=2201
    context=lineone-sip
    canreinvite=yes
    dtmfmode=rfc2833
    host=dynamic
    incominglimit=1
    nat=no
    
    [2202]
    disallow=all
    allow=ulaw
    allow=alaw
    type=friend
    username=2202
    secret=2202
    context=linetwo-sip
    canreinvite=yes
    dtmfmode=rfc2833
    host=dynamic
    incominglimit=1
    nat=no
    
    -------------------------------------------------------------------
    extensions.conf
    -------------------------------------------------------------------
    
    [general]
    
    static=yes
    writeprotect=no
    
    [globals]
    
    [lineone-analog]
    exten => s,1,SetMusicOnHold(loud);
    exten => s,2,Answer
    exten => s,3,Dial(SIP/2201,30,rtT)
    exten => s,4,Hangup
    exten => s,104,WaitMusicOnHold(20)
    exten => s,105,Wait(1)
    exten => s,106,Goto(3)
    exten => s,107,Hangup
    
    [lineone-sip]
    exten => _.,1,Dial(Zap/1/${EXTEN})
    exten => _.,2,Hangup
    exten => _.,102,Dial(Zap/2/${EXTEN})
    exten => _.,103,Hangup
    exten => i,1,Hangup
    exten => h,1,Hangup
    
    [linetwo-analog]
    exten => s,1,SetMusicOnHold(loud);
    exten => s,2,Answer
    exten => s,3,Dial(SIP/2202,30,rtT)
    exten => s,4,Hangup
    exten => s,104,WaitMusicOnHold(20)
    exten => s,105,Wait(1)
    exten => s,106,Goto(3)
    exten => s,107,Hangup
    
    
    exten => fax,1,Dial(SIP/2202,30)
    exten => fax,2,Hangup
    exten => fax,102,Congestion
    exten => fax,103,Hangup
    
    [linetwo-sip]
    exten => _.,1,Dial(Zap/2/${EXTEN})
    exten => _.,2,Hangup
    exten => _.,102,Dial(Zap/1/${EXTEN})
    exten => _.,103,Hangup
    
    exten => i,1,Hangup
    exten => h,1,Hangup