- Mitglied seit
- 18 Feb 2006
- Beiträge
- 1
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo.
Ich habe endlich mit erfolg mein Asterisk eingerichtet.
Meine Momentane Konfiguration sieht so aus:
NTBA <--> Asterisk(via Capi ) <--> SIP telefon (per software)
Ich tu also nur capi mit der außenwelt telefonieren.
Erst hatte ich das Problem der der Anrufer von ausen immer ein Echo hatte. Das konnte ich mit dem Parameter
beheben.
So, nun tat sich aber ein weiteres Problem auf. Ich habe vorhin mit einem Verwandenten telefoniert. Wenn ich etwas gesagt habe kam dies erst 5 sek später an. Ich hörte mich als leises Echo als meine sprache bei ihm an kam.
Ich schicke euch mal ein paar Konfig-Datein von mir mit:
capi.conf
extensions.conf
sip.conf
capiinfo
was könnte ich gegen diese verzögerung tun.
Ich habe endlich mit erfolg mein Asterisk eingerichtet.
Meine Momentane Konfiguration sieht so aus:
NTBA <--> Asterisk(via Capi ) <--> SIP telefon (per software)
Ich tu also nur capi mit der außenwelt telefonieren.
Erst hatte ich das Problem der der Anrufer von ausen immer ein Echo hatte. Das konnte ich mit dem Parameter
Code:
echocancel=yes;
So, nun tat sich aber ein weiteres Problem auf. Ich habe vorhin mit einem Verwandenten telefoniert. Wenn ich etwas gesagt habe kam dies erst 5 sek später an. Ich hörte mich als leises Echo als meine sprache bei ihm an kam.
Ich schicke euch mal ein paar Konfig-Datein von mir mit:
capi.conf
Code:
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de ;set default language
;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, '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=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= ;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)
;echotail=64 ;echo cancel tail setting
;bridge=yes ;native bridging (CAPI line interconnect) if available
;callgroup=1 ;Asterisk call group
;language=de ;set language for this device (overwrites default language)
devices=2 ;number of concurrent calls on this controller
;(2 makes sense for single BRI, 30 for PRI)
extensions.conf
Code:
[general]
static=yes
writeprotect=no
[capi-in]
exten => XXXXXX,1,Dial(Sip/user1)
exten => XXXXXX,2,Hangup()
#[capi-out]
#exten => s,1,Set(CALLERID(number)=XXXXXX)
#exten => s,2,Dial(CAPI/contr1/b${exten},,)
[default]
exten => _0.,1,Set(CALLERID(number)=XXXXX)
exten => _0.,2,Dial(Capi/contr1/${EXTEN}|45|4)
exten => _0.,3,Hangup
sip.conf
Code:
[user1]
type=friend
callerid="Florian" <123>
secret=u1
host=dynamic
disallow=all
allow=gsm
allow=ulaw
allow=alaw
[user2]
type=friend
callerid="FloPPC" <456>
secret=u2
host=dynamic
disallow=all
allow=gsm
allow=ulaw
allow=alaw
capiinfo
Code:
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.101-02 (49.18)
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
was könnte ich gegen diese verzögerung tun.