Eingehende Rufe kommen nicht an

oldsk00l

Neuer User
Mitglied seit
23 Mrz 2006
Beiträge
1
Punkte für Reaktionen
0
Punkte
0
Hi, ich habe einen Asterisk@Home aufgesetzt, habe einige SIP-Extensions eingerichtet. Zusätzlich ist noch eine AVM C4-Karte drin, sie ist direkt mit dem NTBA zum Festnetz verbunden. Beim Capi Debug Jedenfalls werden eingehende Anrufe registriert ->
Code:
 -- CONNECT_IND (PLCI=0x101,DID=xxxxxx,CID=4xxxxxx,CIP=0x10,CONTROLLER=0x1)
  == ISDN1: Interface cleanup PLCI=0x101
    -- CONNECT_IND (PLCI=0x101,DID=xxxxxx,CID=44136187556,CIP=0x10,CONTROLLER=0x1)
  == ISDN1: Interface cleanup PLCI=0x101

Habe im AMP auch einen Trunk angelegt mit CAPI/{xxxxxx}:b$OUTNUM$ als Dial String. Aber bei einem Anruf leitet Asterisk keine gespräche weiter, es gibt auch kein Freizeichen bei dem anrufenden Apparat. Nach einigen Sekunden die Meldung "Kein Teilnehmer".

So, jetzt möchte ich einfach nur dass bei einem eingehenden Anruf mein Sip-Apparat 205 klingelt.

hier noch meine CAPI.conf
Code:
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de      ;set default language

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                 ;name not starting with 'g' or 'contr'.
isdnmode=msn     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123  ;set a default caller id to that interface for dial-out,
                 ;this caller id will be used when dial option 'd' is set.
controller=1     ;capi controller number to use
group=1          ;dialout group
;prefix=0        ;set a prefix to calling number on incoming calls
softdtmf=on      ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=on     ;in addition to softdtmf, you can use relaxed dtmf detection
accountcode=     ;Asterisk accountcode to use in CDRs
context=capi-in  ;context for incoming calls
;holdtype=hold   ;when Asterisk puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and Asterisk may
                 ;play MOH.
;immediate=yes   ;DID: immediate start of pbx with extension 's' if no digits were
                 ;     received on incoming call (no destination number yet)
                 ;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
                 ;     info like REDIRECTINGNUMBER may be lost, but this is necessary for
                 ;     drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
;echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
                 ;(possible values: 'no', 'yes', 'force', 'g164', 'g165') 
echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)

devices=2        ;number of concurrent calls on this controller

Hier noch ein etwas ausführlicheres Debug eines Anrufes vom Festnetz:
Code:
CONNECT_IND ID=001 #0x004b LEN=0050
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>xxxxxx
  CallingPartyNumber              = <21 83>xxxxxx
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=xxxxxxxxx,CID=xxxxxxxxx,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='xxxxxxx' MSN
  == ISDN1: Incoming call 'xxxxxxxxxxx' -> 'xxxxxx'
INFO_IND ID=001 #0x004c LEN=0024
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <c1>xxxxxx

INFO_RESP ID=001 #0x004c LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CALLED PARTY NUMBER
       > ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x004d LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP ID=001 #0x004d LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x004e LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

INFO_RESP ID=001 #0x004e LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element Sending Complete
CONNECT_RESP ID=001 #0x004e LEN=0034
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x1
  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_IND ID=001 #0x004f LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x0

DISCONNECT_RESP ID=001 #0x004f LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: DISCONNECT_IND on incoming without pbx, doing hangup.
  == ISDN1: CAPI Hangingup
  == ISDN1: Interface cleanup PLCI=0x101
       > CAPI devicestate requested for ISDN1/xxxxxxxx

Habe ich irgendetwas wichtiges vergessen oder warum funzt das ned?
Bin für Hilfe sehr dankbar !
 
Zuletzt bearbeitet:
Kostenlos!

Statistik des Forums

Themen
249,052
Beiträge
2,309,534
Mitglieder
378,850
Neuestes Mitglied
IchBinEsDoch