baeumchen schrieb:Hallo also die Daten sind....
Suse 9.2 prof.
kernelversion 2.6
Asterisk 1.0.7
wie finde ich denn die Version von Chan_capi raus????
Gruss Baeumchen
[general]
context=default ; default context for incoming calls
port=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
nat=yes
localnet=192.168.0.0/255.255.255.0
externhost=meine.dyndns.org
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; Note: Asterisk only uses the first host
; in SRV records
; Disabling DNS SRV lookups disables the
; ability to place SIP calls based on domain
; names to some other SIP users on the Internet
tos=0x18
disable=all
disallow=all ; First disallow all codecs
allow=alaw
allow=ulaw ; Allow codecs in order of preference
allow=g729
allow=gsm ; Note: codec order is respected only in
allow=slinear
defaultexpirey=600
maxexpirey=3600
register => 49XXXXXX:[email protected]/49XXXXXX
register => YYYYYY:[email protected]/YYYYYY
[sipgate]
type=friend
insecure=very
username=YYYYYY
fromuser=YYYYYY
fromdomain=sipgate.de
secret=YYYYYY
host=sipgate.de
qualify=yes
language=de
dtmfmode=info
canreinvite=yes
context=ankommend-sip
[1und1]
type=friend
insecure=very
username=49XXXXXX
fromuser=49XXXXXX
fromdomain=sip.1und1.de
host=sip.1und1.de
secret=XXXXXX
qualify=yes
language=de
dtmfmode=info
canreinvite=no
context=ankommend-sip
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
[interfaces]
msn=29
incomingmsn=*
controller=1
softdtmf=0
accountcode=
context=default
;echosquelch=1
echocancel=no
;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
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
IAXINFO=guest ; IAXtel username/password
TRUNK=Zap/g2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)
[default]
exten => 29,1,DISA,no-password|ausgehend-1und1
[ausgehend-1und1]
;ausgehend über 1und1
exten => _X.,1,SetCallerId,49XXXXXX
exten => _X.,2,Dial(SIP/${EXTEN}@1und1,30,trg)
exten => _X.,3,Congestion
exten => _X.,4,Busy
exten => _X.,5,Hangup
[ausgehend-sipgate]
;ausgehend über sipgate
exten => _X.,1,SetCallerId,YYYYYY
exten => _X.,2,Dial(SIP/${EXTEN}@sipgate,30,trg)
exten => _X.,3,Congestion
exten => _X.,4,Busy
exten => _X.,4,Hangup
[ankommend-sip]
;ankommend von SIP
exten => YYYYYY,1,Dial(CAPI/@29:10)
exten => 49XXXXXX,1,Dial(CAPI/@29:10)
-- creating pipe for PLCI=0x101 msn = *
> sent ALERT_REQ PLCI = 0x101
-- Executing DISA("CAPI[contr1/29]/11", "no-password|ausgehend-1und1") in new stack
-- CAPI Answering for MSN 29
-- started pbx on channel (callgroup=0)!
> sent FACILITY_REQ (PLCI=0x101)
-- CAPI Hangingup
> sent DISCONNECT_B3_REQ NCCI=0x10101
> sent DISCONNECT_REQ PLCI=0x101
-- removed pipe for PLCI = 0x101