<< <
> >>
Asterisk - Installation und Konfiguration
- Anruflogik in extensions.conf
- Syntax: exten=>Extension(Durchwahl),Priorität(Schritt),Application(Kommando)
[general]
static=yes
writeprotect=no
[globals]
TRUNK=Modem/g1
TRUNKMSD=1
[default]
include => stefan
include => outgoing
; Stefan per VOIP
[stefan]
exten => 10,1,SetLanguage(de)
exten => 10,2,Ringing
exten => 10,3,Dial(SIP/stefan,20)
exten => 10,4,Hangup
; Ausgehend Telefonieren (Alles was dreistellig und lnger ist]
[outgoing]
exten => _XXX.,1,SetLanguage(de)
exten => _XXX.,2,Ringing
exten => _XXX.,3,Dial(Modem/g1:${EXTEN})
exten => _XXX.,4,Congestion
exten => _XXX.,5,Wait(5)
exten => _XXX.,6,Hangup
; Eingehende Anrufe per I4L modem
[remote]
exten => s,1,SetLanguage(de)
exten => s,2,Dial(SIP/stefan,20)
;exten => s,3,Voicemail(su10)
exten => s,4,Hangup