Eingehende Anrufe geht nicht

babagee

Neuer User
Mitglied seit
4 Feb 2006
Beiträge
12
Punkte für Reaktionen
0
Punkte
0
Hallo,
Ich habe folgendes Problem und komme nicht weiter.
ersmal meine Ist-Zustand:
Asterisk 1.2.4, Bristuff 0.3.0-PRE-1l, chan_capi-cm-0.6.1, eine AVMISDN karte und eine HFC-Karte vom Conrad.

ISDN-Leitung --> NTBA --> AVM-Karte
und
HFC-Karte --> (mittels Kreuzkavel) --> NTBA --> Eumex-ISDN-Anlage --> Analog-Telefon

an meinem Notebook eine SIP-Telefon (software) installiert.

die
chan_capi-cm-0.6.3 oder chan_capi-cm-0.6.4
konnte ich leider nicht vom seite
http://prdownloads.sourceforge.net/c/ch/chan-capi
http://prdownloads.sourceforge.net/c/ch/chan-capi
downloaden

jetezt zu meinem Poblem:
Es funktioniert alles gut bis auf eingehende Anrufe. Ich kann vom SIP zu Zap telefonieren und auch vom Zap mittels Capi nach Aussen. Wenn jemand versuch mich anzurufen oder wenn ich vom Handy Zuhause anrufe bekomme ich immer Bestzt Zeichen.
und im CLI wird folgende Zeile gezeigt und nichts weiter:
ISDN1: Incoming call '0176123456' -> '464646'
(Ich habe die Nummer getauscht)

Folgende Konfigurationen habe ich:
extensions.conf
Code:
[general]

static=yes
writeprotect=no
;autofallthrough=yes

[globals]

localdialtimeout=120

[default]
include => tutorial

[pstn]
exten => _.,1,Dial(Zap/g1/464646)

[tutorial]
exten => 1234,1,Dial(SIP/ivan)
exten => 4321,1,Dial(CAPI/contr1/464646:232323)
exten => 600,1,Dial(Zap/g1/464646)
include => default


[isdn]
exten => _X.,1,Dial(CAPI/contr1/464646:${EXTEN})
;exten => _X.,1,Dial(SIP/ivan)
exten => _X.,n,hangup

capi.conf
Code:
;
; CAPI config
;
;

; general section

[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

; interface sections ...

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                 ;name not starting with 'g' or 'contr'.
;ntmode=yes      ;if isdn card operates in nt mode, set this to yes
isdnmode=msn     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, ptp should be set in any case
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * == any
;controller=0    ;ISDN4BSD default
;controller=7    ;ISDN4BSD USB default
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=pstn     ;Asterisk accountcode to use in CDRs
context=pstn     ;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   ;immediate start of pbx with extension 's' if no digits were
                 ;received on incoming call (no destination number yet)
;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)
;echotail=64     ;echo cancel tail setting
bridge=yes      ;native bridging (CAPI line interconnect) if available
callgroup=1     ;Asterisk call group
;deflect=1234567 ;deflect incoming calls to 1234567 if all B channels are busy
devices=2        ;number of concurrent calls on this controller
                 ;(2 makes sense for single BRI, 30 for PRI)__________________

sip.conf
Code:
[general]
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
context=default
disallow=all
allow=ulaw
Localnet=192.168.120.0/24
canreinvite=yes
tos=reliability
externhost=test.dyndns.info
nat=no
dtmfmode=rfc2833
qualify=no
language=de

[ivan]
type=friend
username=ivan
secret=geheim
host=dynamic
context=tutorial

zapata.conf
Code:
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=de

nationalprefix = 0
internationalprefix = 00
usecallerid=yes
usecallingpres=yes
switchtype=euroisdn
echocancel=yes
echocancelwhenbridged=yes
echotraining=100

callwaiting=yes
callwaitingcallerid=yes
adsi=yes

faxdetect=both
;faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;jitterbuffers=0
immediate=no
overlapdial=yes


; NT Modus (interner S0)
signalling=bri_net_ptmp
pridialplan=local
prilocaldialplan = unknown
group=1
context=isdn
channel=>1-2

zaptel.conf
Code:
#/etc/zaptel.conf
loadzone=nl
defaultzone=nl
# Hinweis: Zone nl ist mit Zone de identisch

span=1,1,3,ccs,ami
bchan=1-2
dchan=3

capiinfo zeigt
Code:
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 asynconous operation with start/stop byte framing
   V.110 synconous operation with HDLC framing
   T.30 modem for fax group 3
   Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 for fax group 3
   ISO 7776 (X.75 SLP) with V.42bis compression
   V.120 asyncronous mode
   V.120 bit-transparent mode
B3 protocols support: 0x800000bf
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   X.25 DCE
   T.30 for fax group 3
   T.30 for fax group 3 with extensions
   Modem

  0100
  0200
  39000000
  1f010040
  1b0b0000
  bf000080
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

und ztcfg zeigt
Code:
Zaptel Configuration
======================

SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)

3 channels configured.

Bitte sagt mir, was für Information ihr noch braucht.
Es wäre super, wenn Ihr mir helfen Könnt.

Danke
 
Zuletzt bearbeitet:
Kostenlos!

Statistik des Forums

Themen
248,879
Beiträge
2,303,847
Mitglieder
378,550
Neuestes Mitglied
gäsbock