Asterisk/extensions.conf
Appearance
General section
[general] static=yes writeprotect=no clearglobalvars=no
Globals section
[globals] ;TRUNK=CAPI
default section
[default] include => internal include => outgoing include => incoming
internal section
[internal] exten => 99,1,DIAL(SIP/13&SIP/12,20) exten => 99,n,Goto(99-${DIALSTATUS},1) exten => 99-NOANSWER,1,VoiceMail(80,u) exten => 99-BUSY,1,VoiceMail(80,b) exten => 99-ANSWER,1,Hangup() exten => _99-.,1,Goto(99-NOANSWER,1) exten => _1[1-3],1,Dial(SIP/${EXTEN}) exten => voicemail,1,VoiceMailMain(80,s) exten => 80,1,VoiceMailMain(80,s)
outgoing section
[outgoing] exten => _0X.,1,Dial(CAPI/ISDN1/??MSN??:${EXTEN})
incoming section
[incoming] exten => ??MSN??,1,Dial(SIP/13&SIP/12,20) exten => ??SIPTRUNKUSER??,1,Dial(SIP/13&SIP12,20)
fax sectiosn
[fax-in] exten => _X.,1,Dial(IAX2/iaxmodem) [fax-out] exten => _X.,1,Dial(CAPI/ISDN1/??MSN??:${EXTEN})
other
[zeitansage] exten => s,1,Set(CHANNEL(language)=de) exten => s,n,Set(aktuelle_zeit=${STRFTIME(||%s)}) exten => s,n,Answer exten => s,n,Wait(1) exten => s,n,SayUnixTime(${aktuelle_zeit},CET) exten => s,n,Wait(2) exten => s,n,SayUnixTime(${aktuelle_zeit},CET, T) exten => s,n,Wait(2) exten => s,n,SayUnixTime(${aktuelle_zeit},CET, T) exten => s,n,Hangup()