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

ISDN mit Asterisk

Dieses Thema im Forum "Asterisk ISDN mit CAPI (chan_capi, chan_capi_cm)" wurde erstellt von mowar, 4 Juli 2005.

  1. mowar

    mowar Neuer User

    Registriert seit:
    10 Juni 2005
    Beiträge:
    40
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hi,

    Der Chan_capi is nun installiert, AVM-Treiber ebenfalls. Nun möchte ich den Asterisk ans ISDN hängen. Was muss ich tun..?

    Hier mal meine configs:
    capi.conf
    Code:
    ;
    ; CAPI config
    ;
    ;
    [general]
    nationalprefix=0
    internationalprefix=00
    rxgain=0.8
    txgain=0.8
    
    [interfaces]
    
    msn=50
    incomingmsn=*
    controller=1
    softdtmf=1
    accountcode=
    context=demo
    ;echosquelch=1
    ;echocancel=yes
    ;echotail=64
    ;callgroup=1
    ;deflect=12345678
    devices=2
    
    
    ;PointToPoint (55512-0)
    ;for outgoing calls use example 5551212
    ;and in dialplan you can use callerid like
    ;exten => _0XXX.,1,StripMSD,1
    ;exten => _XXX.,2,Dial,CAPI/55512${CALLERIDNUM}:bBYEXTENSION
    ;============================================================
    ;mode=immediate
    ;isdnmode=ptp
    ;msn=55512
    ;controller=2
    ;devices=30
    
    sip.conf:
    Code:
    [general]
    port=5060
    bindaddr=0.0.0.0
    context=sipgate-out
    qualify=yes
    localnet=192.168.1.0/255.255.255.0
    externip=213.54.133.21
    disable=all
    allow=alaw
    allow=ulaw
    allow=g729
    allow=gsm
    allow=slinear
    ;srvlookup=yes
    ;canreinvite=yes
    language=de
    register => 6262188:xxxxxx@sipgate.de/6262188 
    
    [sipgate-out]
    type=friend
    insecure=very
    nat=yes
    username=6262188
    fromuser=6262188
    secret=mein_passwort
    fromdomain=sipgate.de
    host=sipgate.de
    qualify=no
    dtmfmode=info
    
    
    ;user "mowar"
    [200]
    type=friend
    secret=080561
    insecure=very
    host=dynamic
    disable=all
    allow=alaw
    allow=ulaw
    dtmfmode=rfc2833
    username=mowarman
    context=200
    qualify=1000
    callerid="mowarman" <200>
    canreinvite=no
    reinvite=no
    nat=yes
    
    ;user "dekosa"
    [201]
    type=friend
    secret=080561
    insecure=very
    host=dynamic
    disable=all
    allow=alaw
    allow=ulaw
    dtmfmode=rfc2833
    qualify=1000
    username=dekosa
    context=201
    callerid="dekosa" <201>
    canreinvite=no
    reinvite=no
    nat=yes
    
    
    ;user "lukas"
    [203]
    type=friend
    secret=080561
    insecure=very
    host=dynamic
    disable=all
    allow=alaw
    allow=ulaw
    dtmfmode=rfc2833
    qualify=1000
    username=lukas
    context=203
    callerid="lukas" <203>
    canreinvite=no
    reinvite=no
    nat=yes
    
    
    ;user "oli"
    [205]
    type=friend
    secret=080561
    insecure=very
    host=dynamic
    disable=all
    allow=alaw
    allow=ulaw
    dtmfmode=rfc2833
    qualify=1000
    username=oli
    context=205
    callerid="oli" <205>
    canreinvite=no
    reinvite=no
    nat=yes
    
    extensions.conf:
    Code:
    [sipgate-out]
    exten => 6262188,1,Dial(SIP/100&SIP/200,60,tr)
    exten => 6262188,2,Congestion
    exten => 6262188,102,Busy
    exten => h,1,Hangup
    
    [200]
    exten => _2xx,1,NoOp("call for "${EXTEN})
    exten => _2xx,2,Dial(SIP/${EXTEN},60,tr)
    exten => _2xx,3,Congestion
    
    
    exten => _x.,1,SetCallerID,6262188
    exten => _x.,2,Dial(SIP/${EXTEN}@sipgate-out,60,tr)
    exten => _x.,3,Congestion
    exten => _x.,102,Busy
    
    ;-------------------------------------------------------------------------------
    
    [201]
    exten => _2xx,1,NoOp("call for "${EXTEN})
    exten => _2xx,2,Dial(SIP/${EXTEN},60,tr)
    exten => _2xx,3,Congestion
    
    
    exten => _x.,1,SetCallerID,6262188
    exten => _x.,2,Dial(SIP/${EXTEN}@sipgate-out,60,tr)
    exten => _x.,3,Congestion
    exten => _x.,102,Busy
    
    ;-------------------------------------------------------------------------------
    
    [203]
    exten => _2xx,1,NoOp("call for "${EXTEN})
    exten => _2xx,2,Dial(SIP/${EXTEN},60,tr)
    exten => _2xx,3,Congestion
    
    
    exten => _x.,1,SetCallerID,6262188
    exten => _x.,2,Dial(SIP/${EXTEN}@sipgate-out,60,tr)
    exten => _x.,3,Congestion
    exten => _x.,102,Busy
    
    
    
    [205]
    exten => _2xx,1,NoOp("call for "${EXTEN})
    exten => _2xx,2,Dial(SIP/${EXTEN},60,tr)
    exten => _2xx,3,Congestion
    
    
    exten => _x.,1,SetCallerID,6262188
    exten => _x.,2,Dial(SIP/${EXTEN}@sipgate-out,60,tr)
    exten => _x.,3,Congestion
    exten => _x.,102,Busy
    
    Danke mowar