[general]
;
static=yes
writeprotect=no
language=de
#include=lcr/extensions.tsblcr
[globals]
ptpStamm=109
[default]
include=> 10
include=> 11
include=> 12
include=> 14
include=> 15
;include=> 16
include=> 17
include=> kptest
include=> 18
include=> 19
include=> 20
include=> 26
include=> 57
include=> 66
include=> 69
include=> 89
include=> 98
include=> 99
include=> sipgate-out
include=> sipgate-in
include=> ptp
include=> Voicemenu1
include=> webdein
include=> macro-tsblcr
;exten=>_xx.,1,Dial,CAPI/109:${EXTEN}
;exten=>_xx.,2,Congestion
[sipgate-out]
exten => _7.,1,SetCallerId(6265529)
exten => _7.,2,Dial(SIP/${EXTEN:1}@sipgate-out,60,trg)
exten => _7.,3,Congestion
exten => _7.,4,Busy
exten => _7.,5,Hangup
[sipgate-in]
exten => _626XXXX,1,Dial(SIP/12)
exten => _626XXXX,2,Busy
exten => _626XXXX,3,Hangup
[webdein]
exten => webdein,1,Dial(SIP/12)
[macro-tsblcr]
exten=> _${ptpStamm}XX,1,Goto(default,${EXTEN:3},1)
exten=> _${ptpStamm}XX,2,Congestion
exten=> _${ptpStamm}XX,102,Hangup
:exten=> _xx.,1,Dial,mISDN/g:TE/${EXTEN}
exten=> _xx.,1,Macro(tsblcr,${EXTEN},/etc/asterisk/lcr/tsblcr.routing,109,ICH,mISDN/g:TE/,/etc/asterisk/sip.conf)
exten=> _xx.,2,Congestion
exten=> _xx.,102,Busy
;[capicall]
;exten=>109,1,Dial(SIP/14)
;exten=>110,1,Dial(SIP/20)
[Voicemenu1]
exten=> s,1,Background(hob_verbunden)
exten=> 1,1,dial(IAX2/14)
exten=> 2,1,dial(mISDN/g:TE/329)
[10]
;exten => 10,1,Dial(SIP/${EXTEN},60)
exten => 10,1,Dial(SIP/10,10)
exten => 10,2,Voicemail(12)
exten => 10,5,Hangup
exten => 10,102,Busy
[12]
exten => 12,1,System(echo "${DATETIME} - ${CALLERID}" >> /home/kperas/Documents/test.txt)
exten => 12,2,Dial(SIP/12,10)
exten => 12,3,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 12,4,Voicemail(12)
;exten => 12,3,Answer
;exten => 12,4,Playback(vm-options)
exten => 12,5,Hangup
exten => 12,102,Busy
[14]
exten => 14,1,SetLanguage(de)
exten => 14,2,Dial(IAX2/14,5)
exten => 14,3,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 14,4,Goto(Voicemenu1,s,1)
exten => 14,5,Hangup
exten => 14,102,Busy
[15]
exten => 15,1,SetLanguage(de)
exten => 15,2,Dial(SIP/15,20)
exten => 15,3,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 15,4,Voicemail(15)
exten => 15,5,Hangup
exten => 15,102,Busy
[17]
exten => 17,1,Dial(SIP/kptest)
exten => 17,2,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 17,3,Voicemail(17)
exten => 17,4,Hangup
exten => 17,102,Busy
[18]
exten => 18,1,Dial(SIP/18)
exten => 18,2,Hangup
exten => 18,102,Busy
[19]
;exten => 19,1,Answer
exten => 19,1,Dial(SIP/19)
exten => 19,3,Hangup
exten => 19,102,Busy
[26]
exten => 26,1,Dial(SIP/26,15)
exten => 26,2,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 26,3,Voicemail(26)
exten => 26,4,Hangup
exten => 26,102,Busy
[57]
exten => 57,1,Dial(SIP/57,10)
exten => 57,2,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 57,3,Voicemail(57)
exten => 57,4,Hangup
exten => 57,102,Busy
[65]
exten => 65,1,Dial(SIP/65,10)
exten => 65,2,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 65,3,Voicemail(65)
exten => 65,4,Hangup
exten => 65,102,Busy
[66]
exten => 66,1,SetCallerID(66)
exten => 66,2,Dial(SIP/66,15)
exten => 66,3,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 66,4,Voicemail(66)
exten => 66,5,Hangup
exten => 66,102,Busy
[69]
exten => 69,1,Dial(SIP/69,15)
exten => 69,2,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 69,3,Voicemail(69)
exten => 69,5,Hangup
exten => 69,102,Busy
[99]
exten => 99,1,Dial(SIP/99,10)
exten => 99,2,System(echo "${DATETIME} - ${CALLERID} hat versucht Dich zu erreichen." | mail -s Anrufbenachrichtigung [email][email protected][/email] -r [email][email protected][/email])
exten => 99,3,Voicemail(99)
exten => 99,5,Hangup
exten => 99,102,Busy
;[sipgate]
;exten => 555xxxx,1,Dial(SIP/12 ,20)
[11] ; Voicemail
exten => 11,1,SetLanguage(de)
exten => 11,2,VoicemailMain(s${CALLERIDNUM})
exten => 11,3,Hangup
[89]
exten => 89,1,Goto(menu,s,1)
[menu] ; Voicemenu
exten =>s,1,Answer()
exten =>s,2,Background(vm-options)
;exten =>s,3,Hangup
exten => 1,1,Playback(vm-opts)
exten => 1,2,Goto(89,89,1)
exten => 2,1,Playback(Aphrodite_jungleBros)
exten => 2,2,Goto(89,89,1)
;exten => 98,102,Hangup