All pastes #3896 Raw Edit

Anonymous

public text v1 · immutable
#3896 ·published 2005-01-08 00:00 UTC
rendered paste body
[root@localhost leonardo]# cat /etc/asterisk/extensions.conf
[general]
static=yes
writeprotect=yes
;:
[public]
; Incoming calls with no destination land here (usually from the PSTN)
; make incoming calls ring on certain phones
; Give access to outgoing lines or internal extensions if authenticated via
; voicemail since authentication is required by that system
; Ring SIP phones that are "general" lines.
; If the lines ring for >20 seconds, play an amusing message and
; then dial the "u"navailable voicemail box.
; If the lines are busy, dial the "b"usy voicemail box.

exten => s,1,noop(${CALLERIDNUM})
exten => s,2,wait(10)
exten => s,3,VoiceMail(u100)
exten => s,4,Hangup
exten => a,1,VoicemailMain(100)

; If we detect a fax tone send call to extension 22 priority 1
; Not all fax machines/fax modems send a fax tone when calling.
; If we get a call from one of those then we can't detect that it's a fax call.
; This only works for devices on Zap channels (Digium cards).
; exten => fax,1,Goto(22,1)
; Hang up the line if the caller doesn't do anything
exten => t,1,Hangup
; Provide a voicemail * button extension
exten => a,1,VoicemailMain

[root@localhost leonardo]#