mit internem isdn telefon raus telefonieren klappt nicht

iptelefonie

Neuer User
Mitglied seit
29 Mrz 2006
Beiträge
104
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich bin noch ziehmlich neu in der Astersik-Welt.

Bisher habe ich ein Softphone eingebunden, welche auch via Capi raustelefonieren, sowie angerufen werden kann. Das funktioniert alles bestens.

Jetzt möchte ich aber gerne mit meinem Siemens Gigaset 4134 auch über Asterisk telefonieren können. Was muss ich am Telefon konfigurieren, um damit über Asterisk telefonieren zu können?

Hier sind meine Konfigurationsdateien:

extensions.conf
PHP:
[general]
static=yes
writeprotect=no


[lokal]
exten => _3X,1,NoCDR()
exten => _3X,n,Dial,SIP/${EXTEN}|55|Ttr


[meine-telefone]
exten = _X.,1,Dial(CAPI/contr1/${EXTEN},30)
exten = t,1,Hangup


[capi-in]
exten => MSN_IN_ZAHLEN,2,Dial(Zap/g1/10&Zap/g1/11,40,t)
;exten = MSN_IN_ZAHLEN,1,Dial(SIP/30,30)
exten = t,1,Hangup

;[echotest]
;exten => 81,1,answer
;exten => 81,2,wait,1
;exten => 81,3,playback,demo-echotest
;exten => 81,4,echo
;exten => 81,5,playback,demo-echodone
;exten => 81,6,hangup


[default]
include => lokal
include => meine-telefone
include => capi-in

zapta.conf
PHP:
;
; Zapata telephony interface
;
; Configuration file
;
; You need to restart Asterisk to re-configure the Zap channel
; CLI> reload chan_zap.so
;               will reload the configuration file,
;               but not all configuration options are
;               re-configured during a reload.



[trunkgroups]
;
; Trunk groups are used for NFAS or GR-303 connections.
;
; Group: Defines a trunk group.
;        group => <trunkgroup>,<dchannel>[,<backup1>...]
;
;        trunkgroup  is the numerical trunk group to create
;        dchannel    is the zap channel which will have the
;                    d-channel for the trunk.
;        backup1     is an optional list of backup d-channels.
;
;trunkgroup => 1,24,48
;trunkgroup => 1,24
;
; Spanmap: Associates a span with a trunk group
;        spanmap => <zapspan>,<trunkgroup>[,<logicalspan>]
;
;        zapspan     is the zap span number to associate
;        trunkgroup  is the trunkgroup (specified above) for the mapping
;        logicalspan is the logical span number within the trunk group to use.
;                    if unspecified, no logical span number is used.
;
;spanmap => 1,1,1
;spanmap => 2,1,2
;spanmap => 3,1,3
;spanmap => 4,1,4

[channels]
;
; Default language
;
;language=en
;
; Default context
;
context=default
signalling=fxo_ls
;
rxwink=300              ; Atlas seems to use long (250ms) winks
usecallerid=yes
callwaitingcallerid=yes
transfer=yes
canpark=yes
cancallforward=yes
;
; Whether or not to support Call Return (*69)
;
callreturn=yes
;
echocancel=yes
;
; Generally, it is not necessary (and in fact undesirable) to echo cancel when
; the circuit path is entirely TDM.  You may, however, reverse this behavior
; by enabling the echo cancel during pure TDM bridging below.
;
echocancelwhenbridged=yes
;
rxgain=0.0
txgain=0.0
;
; Logical groups can be assigned to allow outgoing rollover.  Groups range
; from 0 to 63, and multiple groups can be specified.
;
group=1
;
; Ring groups (a.k.a. call groups) and pickup groups.  If a phone is ringing
; and it is a member of a group which is one of your pickup groups, then
; you can answer it by picking up and dialing *8#.  For simple offices, just
; make these both the same
;
callgroup=1
pickupgroup=1

;
; Specify whether the channel should be answered immediately or if the simple
; switch should provide dialtone, read digits, etc.
;
immediate=no
;

zaptel.conf
PHP:
# hfc-s pci a span definition
# most of the values should be bogus because we are not really zaptel
loadzone=nl
defaultzone=nl

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

Wie muss eine Regel in der extensions.conf aussehen, um mit dem ISDN-Telefon telefonieren zu können?

Vielen Dank!
 
Hallo,

verrate uns mal, was du an ISDN-Karten in deinem Rechner hast.
Laut deinen Dateien müßtest du eine Fritz- und eine Hfc-Karte drin haben.
 
Hallo,

oh das habe ich total vergessen.

Ja ich habe eine AVM Fritzcard PCI v. 2.0 und eine HFC-Karte.
 
Zuletzt bearbeitet:
Wie muss eine Regel in der extensions.conf aussehen, um mit dem ISDN-Telefon telefonieren zu können?

So:

exten => MSN_IN_ZAHLEN,1,Dial(Zap/g1/10&Zap/g1/11,40,t)

Bei MSN_IN_ZAHLEN werden die beiden ISDN-Telefone mit den Nummern 10 und 11 gerufen.

In die andere Richtung:
Du legst in der zapata.conf einen context fest. Ein von einem ISDN-Telefon ausgehender Anruf springt dann in diesen context. Dort kannst du den Anruf dann behandeln.
 
Kostenlos!

Statistik des Forums

Themen
248,879
Beiträge
2,303,824
Mitglieder
378,548
Neuestes Mitglied
yiannostest