Danke betateilchen
Wie gesagt, nur mit kphone rein und raus ok.
mit asterisk, kphone eingebunden, raus ja, rein ist immer besetzt
Weiß mir keinen Rat mehr.
Code:
[general]
port = 5060 ; Port to bind to
bindaddr = 0.0.0.0 ; Address to bind SIP channel to
context=incoming
disallow=all
allow=ulaw ; Allow codecs in order of preference
allow=alaw
;allow=gsm
register => xxx:[email protected]:5060/nikotelin
; ###########################
[nikotel]
secret=yyy
username=xxx
fromuser=xxx
type=friend
host=calamar0.nikotel.com
fromdomain=calamar0.nikotel.com
canreinvite=no
nat=no ; Setzen Sie bitte nat=0 wenn Sie die Asterisk nicht hinter NAT (router) betreiben
;insecure=very ; required if you want to accept incoming Nikotel calls from host ????????????
;qualify=yes
; ###########################
[kphone]
type=friend
username=kphone
host=dynamic
context=nikotelout
;externip = 123.123.123.123 ; Address that we're going to put in outbound SIP messages
; if we're behind a NAT
;localnet = 192.168.1.0 ; Internet NETWORK address
;localmask = 255.255.255.0 ; Internet netmask
; The externip, localnet and localmask is used
; when registering and communication with other proxies
; that we're registere
[general]
static=yes
writeprotect=no
[nikotelout]
exten => _08.,1,Dial(SIP/${EXTEN:2}@nikotel,60,Ttr)
exten => _08.,2,Congestion()
exten => _08.,102,Busy()
[incoming]
exten => nikotelin,1,Dial(SIP/kphone,60;Ttm)
exten => nikotelin,2,Congestion()
exten => nikotelin,102,Busy()